-
Notifications
You must be signed in to change notification settings - Fork 48
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
🌱 Use VAPI ActivationID with DeployOVF #802
🌱 Use VAPI ActivationID with DeployOVF #802
Conversation
This patch updates the DeployOVF call to use the VAPI activationID header. The value is set to the VM's instance UUID. This means the vim.Task that Content Library spawns to track the actual DeployOVF operation will have its activationId field set to the value of vm.spec.instanceUUID. Thus VM Operator can find and track the task, even though the DeployOVF call is blocking and does not return a task ID.
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.
Just in case you haven't seen it, there is some unfortunate behavior with the ActivationID, like IIRC there is some window after the original submit before you can actually find the task w/ it: the publish controller has more details on that behavior.
Thanks. I remember. The period of time depends on the API implementation as some create the task immediate and others do not. |
What does this PR do, and why is it needed?
This patch updates the DeployOVF call to use the VAPI activationID header. The value is set to the VM's instance UUID. This means the vim.Task that Content Library spawns to track the actual DeployOVF operation will have its activationId field set to the value of vm.spec.instanceUUID. Thus VM Operator can find and track the task, even though the DeployOVF call is blocking and does not return a task ID.
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
NA
Are there any special notes for your reviewer:
Please add a release note if necessary: