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

Deprecate NoCloudProvider and add CloudProviderEnabled #2255

Open
adilGhaffarDev opened this issue Jan 20, 2025 · 8 comments
Open

Deprecate NoCloudProvider and add CloudProviderEnabled #2255

adilGhaffarDev opened this issue Jan 20, 2025 · 8 comments
Labels
triage/accepted Indicates an issue is ready to be actively worked on.
Milestone

Comments

@adilGhaffarDev
Copy link
Member

Deprecate NoCloudProvider and add CloudProviderEnabled to avoid double negation.

  • NoCloudProvider defaults to false. This is problematic because CAPM3's default behavior should not assume that a cloud provider is deployed. It has been there since it was implemented.

  • Now we should add CloudProviderEnabled and slowly deprecate NoCloudProvider.

The problem in adding CloudProviderEnabled:
CloudProviderEnabled will also default to false, and now both will contradict if not set by the user.

Proposed solution:

  • Deprecate NoCloudProvider now(this release cycle 1.10), add CloudProviderEnabled, and set the default value of CloudProviderEnabled to true.
  • Next release cycle(1.11), remove NoCloudProvider.
  • Next release cycle(1.12) we can remove the default true value of CloudProviderEnabled.
@metal3-io-bot metal3-io-bot added the needs-triage Indicates an issue lacks a `triage/foo` label and requires one. label Jan 20, 2025
@tuminoid
Copy link
Member

Proposed solution sounds good to me.

@adilGhaffarDev
Copy link
Member Author

Tagging the release team here, FYI
@mquhuy @peppi-lotta @Rozzii

@Rozzii
Copy link
Member

Rozzii commented Jan 22, 2025

/triage accepted

@metal3-io-bot metal3-io-bot added triage/accepted Indicates an issue is ready to be actively worked on. and removed needs-triage Indicates an issue lacks a `triage/foo` label and requires one. labels Jan 22, 2025
@tuminoid
Copy link
Member

/assign @adilGhaffarDev

@tuminoid
Copy link
Member

This work has effect on dev-env too. Tests are broken right now: metal3-io/metal3-dev-env#1499

@adilGhaffarDev
Copy link
Member Author

This work has effect on dev-env too. Tests are broken right now: metal3-io/metal3-dev-env#1499

this PR should fix it : #2276

@Rozzii
Copy link
Member

Rozzii commented Jan 28, 2025

The proposed fix has been merged, can this ticket be closed @adilGhaffarDev ?

@adilGhaffarDev
Copy link
Member Author

The proposed fix has been merged, can this ticket be closed @adilGhaffarDev ?

No because this ticket is tracking other work that is scheduled to be done in release 1.11 and 1.12 cycle.

@tuminoid tuminoid added this to the CAPM3 - v1.11 milestone Jan 28, 2025
@tuminoid tuminoid moved this from Backlog to CAPM3 on hold / blocked in Metal3 - Roadmap Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/accepted Indicates an issue is ready to be actively worked on.
Projects
Status: CAPM3 on hold / blocked
Development

No branches or pull requests

4 participants