-
Notifications
You must be signed in to change notification settings - Fork 64
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
Machine set creation fails if AZ is not selection with OpenStack Provider #6761
Comments
I would prefer to go with option 1, making the AZ field mandatory and pre-selected with the first AZ by default. Option1 (Availability Zone field should be mandatory (preferably pre-selected as flavor)The field can be changed to mandatory here: Error is returned from getAvailabilityZone function of machine-controller: Which specifically requires AZ to be selected. Option2 (Availability Zone should be selected by the backend randomly)However, for option2 there is AddDefaults function in machine-controller. It seems to select AZ automatically if there is only 1 AZ. The "random" AZ can be added here. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
Need to check in machine-controller first if it's consistent with the UI, if it is mandatory in MC? it should be too in the UI |
If none is specified we could pick one from seed for example |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with /lifecycle rotten |
/remove-lifecycle rotten |
What happened
When creating a Machine set (during initial cluster provision or adding to existing cluster), the creation fails if Availability Zone is not selected.
Availability Zone field is not mandatory.
Expected behavior
Option1: Availability Zone field should be mandatory (preferably pre-selected as flavor)
Option2: Availability Zone should be selected by the backend randomly
How to reproduce
Create a Machine set (during initial cluster provision or adding to existing cluster) without specifying Availability Zone (non mandatory field).
The creation fails in the last stage with the following error:
failed to create machine deployment: admission webhook "machine-controller.kubermatic.io-machinedeployments" denied the request: validation failed: failed to get availability zone "": not found
Environment
Current workaround
Select Availability Zone
Affected user persona
Business goal to be improved
Metric to be improved
The text was updated successfully, but these errors were encountered: