illegal video driver for PPC64 little endian system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Sean Dague | ||
Liberty |
Fix Released
|
Medium
|
Unassigned |
Bug Description
for openstack kilo version, when creating a instance, libvirt creates cirrus video type in template xml file while is not supported for PPC64 little endian system. I debug the code and finally find mistake in function _add_video_driver of file nova/virt/
In function, there is a logic that video driver is determinded by guest arch. If arch is in (PPC, PPC64) then return vga, otherwise video driver is determined by other options. For PPC64 little endian system, guest arch is PPC64LE so that video driver is determined by other option (In our environment, with kvm virt type and spice disabled , video driver is determined by hw_video_model) which makes video driver is cirrus . Exception happens when creating vm instance because cirrus video driver is not supported on power hardware.
I add PPC64LE arch in the guestarch option and it does works. The patch will be attached.
tags: | added: powerkvm |
Changed in nova: | |
assignee: | nobody → jinweixiao (xiaojinwei001) |
Changed in nova: | |
importance: | Undecided → Medium |
@xiaojinwei001 : You seem to have posted a patch but this is not the way - we usually fix bugs in Nova.
Would you want me to push these changes? You could do so too, by assigning the bug to yourself and then creating a gerrit review of your patch. Let me know.