When booting Instance the hw_video_head property isn't retrieved from the image metadata
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
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:/
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:
- 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/
<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
tags: | added: libvirt |
Changed in nova: | |
status: | New → In Progress |
assignee: | nobody → Vladan Popovic (vpopovic) |
There's no patch that retrieves the hw_video_head property in the libvirt driver, but there is a patch that sets up the libvirt config in nova [1]. This somehow slipped in the review process i guess.
[1] https:/ /review. openstack. org/#/c/ 58613/6/ nova/virt/ libvirt/ config. py