Need to correctly discover XCP and XenServer versions

Bug #1025216 reported by John Garbutt
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

XenServer 6.0.x / XCP 1.5 has a new "platform version" flag we can use that is shared between XCP and XenServer.
We can fallback to XenServer version when "platform version" is missing.

See also bug 1033933.
See also bug 1016650.

Changed in nova:
assignee: nobody → John Garbutt (johngarbutt)
Mate Lakat (mate-lakat)
Changed in nova:
assignee: John Garbutt (johngarbutt) → Mate Lakat (mate-lakat)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/10720

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/10873

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/10874

Mate Lakat (mate-lakat)
description: updated
Revision history for this message
Johannes Erdfelt (johannes.erdfelt) wrote :

Is there any documentation on the platform version? Like what platform version did VDI.resize_online get renamed to VDI.resize?

It certainly sounds like the preferred way to select features, but I don't know how to figure out the correct values for it.

Revision history for this message
John Garbutt (johngarbutt) wrote :

This is related to this bug:
https://bugs.launchpad.net/nova/+bug/1016650

This is the documentation, however this claims both operations have been available since XenServer 4.0:
http://docs.vmd.citrix.com/XenServer/6.0.0/1.0/en_gb/api/?c=VDI

I have a feeling this may be because people where using the LVM SR rather than EXT SR.

Mate Lakat (mate-lakat)
description: updated
Revision history for this message
John Garbutt (johngarbutt) wrote :

No longer valid

Changed in nova:
status: In Progress → Invalid
assignee: Mate Lakat (mate-lakat) → John Garbutt (johngarbutt)
assignee: John Garbutt (johngarbutt) → nobody
Revision history for this message
John Garbutt (johngarbutt) wrote :

It has been fixed by the referenced bugs

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.