Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/

Bug 1085806

Summary: [RDO][Openstack-nova] :When booting Instance the hw_video_head property isn't retrieved from the image metadata.
Product: [Community] RDO Reporter: Omri Hochman <ohochman>
Component: openstack-novaAssignee: Vladan Popovic <vpopovic>
Status: CLOSED WONTFIX QA Contact: Ami Jeain <ajeain>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ndipanov, rbryant, vpopovic, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-17 12:57:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1041026    

Description Omri Hochman 2014-04-09 12:24:45 UTC
When booting Instance the hw_video_head property isn't retrieved from the image metadata :

Tracker for upstream bug: https://bugs.launchpad.net/nova/+bug/1304937

The 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

Comment 1 Vladan Popovic 2014-04-17 12:57:18 UTC
This issue won't get merged upstream because the heads property isn't used by any driver except for VirtualBox and Parallels which aren't and won't be supported anytime soon.

Please refer to the upstream gerrit review for more info.