Skip to content

CA-401023: Remove smapi observer config if smapi is set as experimental#6410

Merged
lindig merged 1 commit into
xapi-project:masterfrom
snwoods:private/stevenwo/CA-401023
Apr 8, 2025
Merged

CA-401023: Remove smapi observer config if smapi is set as experimental#6410
lindig merged 1 commit into
xapi-project:masterfrom
snwoods:private/stevenwo/CA-401023

Conversation

@snwoods
Copy link
Copy Markdown
Contributor

@snwoods snwoods commented Apr 8, 2025

If smapi observer was previously enabled and then added to observer_experimental_components, when the toolstack is restarted the smapi observer will no longer exist. The observer will therefore not be "destroyed" by normal means so we must remove the config manually.

This is important for xapi-storage-script as it cannot read the DB and so relies on this config file to know whether to trace SMAPIv3 or not.

If smapi observer was previously enabled and then added to
observer_experimental_components, when the toolstack is restarted the
smapi observer will no longer exist. The observer will therefore not be
"destroyed" by normal means so we must remove the config manually.

This is important for xapi-storage-script as it cannot read the DB and
so relies on this config file to know whether to trace SMAPIv3 or not.

Signed-off-by: Steven Woods <steven.woods@cloud.com>
@lindig lindig added this pull request to the merge queue Apr 8, 2025
Merged via the queue into xapi-project:master with commit 94f1f81 Apr 8, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants