-
Notifications
You must be signed in to change notification settings - Fork 49
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
⚠️ Remove UpdateConfigSpecFirmware() #885
base: main
Are you sure you want to change the base?
⚠️ Remove UpdateConfigSpecFirmware() #885
Conversation
This is from the early days when we could only update the VM's Firmware - and most things for that matter - after the VM was created since Content Library did not support creating from a ConfigSpec. Since now CL supports that, and some time back I added support in CreateConfigSpec() for the firmware annotation, so the VM is just created with the specified firmware. Changing the firmware of existing VM is generally not going to result in a booting VM, so at the moment I didn't implement similar support in resize.
3450767
to
3412e75
Compare
Minimum allowed line rate is |
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.
@bryanv We support specifying the firmware in the spec anyway, right?
Huh, we do not. I know I wanted to add it. It will likely come in via the parity DevOps settings, and that may involve allowing a user to reconfigure the firmware if they want. We'd certainly need to allow it during a resize. Therefore we will need to consider firmware during update eventually, but since it would be different enough than the current code I see no reason not to proceed with this PR as-is today.
What does this PR do, and why is it needed?
This is from the early days when we could only update the VM's Firmware - and most things for that matter - after the VM was created since Content Library did not support creating from a ConfigSpec. Since now CL supports that, and some time back I added support in CreateConfigSpec() for the firmware annotation, so the VM is just created with the specified firmware.
Changing the firmware of existing VM is generally not going to result in a booting VM, so at the moment I didn't implement similar support in resize. My preference would be to remove this.
Which issue(s) is/are addressed by this PR? (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Are there any special notes for your reviewer:
I want to start to reworking the entire VM create/update unit tests so they can be run with resize enabled and disabled. This is one the deltas. It is easy enough to add this as a dev ops resize overwrite if we want to keep things the same instead.
Please add a release note if necessary: