-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
fix allow unsupported distribution #9904
fix allow unsupported distribution #9904
Conversation
@@ -136,3 +136,6 @@ redhat_os_family_extensions: | |||
- "openEuler" | |||
- "UnionTech" | |||
- "UniontechOS" | |||
|
|||
# If enabled it will allow kubespray to attempt setup even if the distribution is not supported. For unsupported distributions this can lead to unexpected failures in some cases. | |||
allow_unsupported_distribution_setup: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a ‘allow_unsupported_distribution_setup’ variable at the https://github.com/kubernetes-sigs/kubespray/pull/9827/files
Should it be declared twice?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the reminder, I've put the variable declarations in all.yaml.
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
Thanks @ErikJiang /lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ErikJiang Thank you for the PR 👍
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ErikJiang, floryut The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
What type of PR is this?
/kind bug
What this PR does / why we need it:
I tried to set
allow_unsupported_distribution_setup
totrue
to be able to deploy the cluster on an OS that is not supported by kubespray, but the actual situation still reports that the OS is not supported.I noticed that the error was related to #9827, so I updated the assertion condition.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: