Skip to content
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

[ovirt] fix issues with oVirt 3.1 API. #1591

Merged
merged 3 commits into from
Feb 25, 2013
Merged

Conversation

abenari
Copy link
Contributor

@abenari abenari commented Feb 24, 2013

In version 3.1 of oVirt API there is a change in the meaning of the virtual machine (VM) status. When creating a VM in versions prior to 3.1, it used to be in status 'image-locked' until the virtual disks where ready. In version 3.1 a change in the API was introduced, the VM status no longer represent the status of the VM and it's disks, from this version, in order to know that a VM is ready for launch, we need to loop through the disks checking the state of each one.
This patch fix the oVirt launch logic, it is backward compatible with previous oVirt versions.

@geemus
Copy link
Member

geemus commented Feb 24, 2013

@abenari - great, thanks!

@ohadlevy - could you review?

ohadlevy added a commit that referenced this pull request Feb 25, 2013
[ovirt] fix issues with oVirt 3.1 API disk locking status.
@ohadlevy ohadlevy merged commit ba335ba into fog:master Feb 25, 2013
@ohadlevy
Copy link
Member

@abenari thanks!

@abenari abenari deleted the ovirt3.1 branch February 25, 2013 08:51
@geemus
Copy link
Member

geemus commented Feb 25, 2013

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants