← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1304937] [NEW] When booting Instance the hw_video_head property isn't retrieved from the image metadata

 

Public bug reported:

When booting Instance the hw_video_head property isn't retrieved from
the image metadata :

This functionality of modifying the number of  heads for spice users should have been added  in Ice-House 
according to BP :
https://blueprints.launchpad.net/nova/+spec/libvirt-video-driver-selection


I've tested the other video properties (hw_video_model ,  hw_video_ram )   and they seems to work fine ,
the only problem is  with:  'hw_video_head' . 

Steps: 
-----------

- nova flavor-key m1.small set hw_video:ram_max_mb=128

- glance image-update rhel64 --property hw_video_model=qxl
- glance image-update rhel64 --property hw_video_ram=64
- glance image-update rhel64 --property hw_video_head=2


+----------------------------+--------------------------------------+
| Property                   | Value                                |
+----------------------------+--------------------------------------+
| Property 'hw_video_head'   | 2                                    |
| Property 'hw_video_model'  | qxl                                |
| Property 'hw_video_ram'    | 64                                   |


- boot instance from that image ^^

Look at :
---------------
/var/lib/nova/instances/<Instace ID>/libvirt.xml 

<video>
      <model type="qxl" vram="64"/>
    </video>
  </devices>
</domain>


Results: 
------------
- the hw_video_head property isn't retrieved from the image metadata
- there's no mention of it  in the libvirt.xml

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1304937

Title:
  When booting Instance the hw_video_head property isn't retrieved from
  the image metadata

Status in OpenStack Compute (Nova):
  New

Bug description:
  When booting Instance the hw_video_head property isn't retrieved from
  the image metadata :

  This functionality of modifying the number of  heads for spice users should have been added  in Ice-House 
  according to BP :
  https://blueprints.launchpad.net/nova/+spec/libvirt-video-driver-selection

  
  I've tested the other video properties (hw_video_model ,  hw_video_ram )   and they seems to work fine ,
  the only problem is  with:  'hw_video_head' . 

  Steps: 
  -----------

  - nova flavor-key m1.small set hw_video:ram_max_mb=128

  - glance image-update rhel64 --property hw_video_model=qxl
  - glance image-update rhel64 --property hw_video_ram=64
  - glance image-update rhel64 --property hw_video_head=2

  
  +----------------------------+--------------------------------------+
  | Property                   | Value                                |
  +----------------------------+--------------------------------------+
  | Property 'hw_video_head'   | 2                                    |
  | Property 'hw_video_model'  | qxl                                |
  | Property 'hw_video_ram'    | 64                                   |

  
  - boot instance from that image ^^

  Look at :
  ---------------
  /var/lib/nova/instances/<Instace ID>/libvirt.xml 

  <video>
        <model type="qxl" vram="64"/>
      </video>
    </devices>
  </domain>

  
  Results: 
  ------------
  - the hw_video_head property isn't retrieved from the image metadata
  - there's no mention of it  in the libvirt.xml

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


Follow ups

References