-
Notifications
You must be signed in to change notification settings - Fork 12
Fix the baremetal microversion issue #86
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
Conversation
larsks
left a comment
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.
Please add a commit message and pull request description. What issue does this address? How does it implement the correction?
b160a0e to
0988ec4
Compare
tzumainn
left a comment
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.
Looks reasonable to me - I tried moving the if statement into various places, and can confirm that none of it works elsewhere. There is almost definitely a more elegant solution somewhere, but I think that may require digging deep into the openstackclient code.
|
@skanthed you may want to squash the commits to get rid of the merge commit, though |
d0de0a6 to
96b1433
Compare
|
@tzumainn Squashed it! |
|
Ah, I think you may have to rebase from master first! It looks like the ubuntu OS update is manually applied here. |
|
And please copy the PR description to the commit message, which is still empty. |
Sets the default OS_BAREMETAL_API_VERSION earlier in plugin.py to ensure it's applied before OpenStackClient initializes. Fixes microversion mismatch by preventing fallback to unsupported default (1.95) during CLI execution.
96b1433 to
0f74691
Compare
tzumainn
left a comment
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.
Looks good!
Sets the default
OS_BAREMETAL_API_VERSIONearlier in plugin.py to ensure it's applied before OpenStackClient initializes.Fixes microversion mismatch by preventing fallback to unsupported default (1.95) during CLI execution.