Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sources: do not override datasource detection if None is in list #4426

Merged
merged 1 commit into from Sep 12, 2023

Conversation

cjp256
Copy link
Contributor

@cjp256 cjp256 commented Sep 11, 2023

Users with datasource_list = [Azure, None] started failing to boot
properly outside of Azure with the changes to override datasource detection.

If the fallback "None" is included in the datasource_list, do not treat
the system as configured with a single datasource.

If users want to force a single datasource regardless of detection,
they can do so by removing None from the list.

Users with datasource_list = [Azure, None] started failing to boot
properly outside of Azure with the changes to override datasource detection.

If the fallback "None" is included in the datasource_list, do not treat
the system as configured with a single datasource.

If users want to force a single datasource regardless of detection,
they can do so by removing None from the list.

Signed-off-by: Chris Patterson <cpatterson@microsoft.com>
Copy link
Member

@holmanb holmanb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense. Checking for [Azure, "None"] was intended to avoid re-doing the datasource checks that ds-identify already does, but if this breaks a migration path that we'd like to support then I don't think this optimization makes sense.

Thanks for fielding this bug and providing a fix.

+1

@holmanb holmanb merged commit 76b7b38 into canonical:main Sep 12, 2023
26 checks passed
@cjp256 cjp256 deleted the source-detection branch September 12, 2023 16:01
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.

None yet

2 participants