Public bug reported:

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/libvirt/driver.py
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.

** Affects: nova
     Importance: Undecided
         Status: New

** Attachment added: "patch for fix cirrus video driver exception in ppc64 
little endian system"
   
https://bugs.launchpad.net/bugs/1523742/+attachment/4531235/+files/video_driver.patch

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1523742

Title:
  illegal video driver for PPC64 little endian system

Status in OpenStack Compute (nova):
  New

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/libvirt/driver.py
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1523742/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to