[hyperv] Invalid image format 'vhdx'

Bug #1692299 reported by caowei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Invalid
Undecided
Unassigned

Bug Description

2017-05-21 16:19:27.739 27 WARNING oslo.service.loopingcall [-] Function 'nova.servicegroup.drivers.db.DbDriver._report_state' run outlasted interval by 2.23 sec
2017-05-21 16:19:27.804 23 WARNING oslo.service.loopingcall [-] Function 'nova.servicegroup.drivers.db.DbDriver._report_state' run outlasted interval by 2.27 sec
2017-05-21 16:19:27.827 25 WARNING oslo.service.loopingcall [-] Function 'nova.servicegroup.drivers.db.DbDriver._report_state' run outlasted interval by 2.29 sec
2017-05-21 16:25:40.987 23 ERROR nova.scheduler.utils [req-2efca828-1bfd-46d7-842f-828ba75d29aa 86d12645162e42b49bb573d1cd432c2b 2f5dc57ca259469e8e2d71ce9442736b - - -] [instance: a943e71d-dc8b-47cd-9fa1-f115bbb82e15] Error from last host: WIN-6ERDNN9E557 (node WIN-6ERDNN9E557): [u'Traceback (most recent call last):\n', u' File "C:\\Program Files\\Cloudbase Solutions\\OpenStack\\Nova\\Python27\\lib\\site-packages\\nova\\compute\\manager.py", line 1813, in _do_build_and_run_instance\n filter_properties)\n', u' File "C:\\Program Files\\Cloudbase Solutions\\OpenStack\\Nova\\Python27\\lib\\site-packages\\nova\\compute\\manager.py", line 2049, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=six.text_type(e))\n', u"RescheduledException: Build of instance a943e71d-dc8b-47cd-9fa1-f115bbb82e15 was re-scheduled: Invalid image format 'vhdx'\n"]

Do not support vhdx?

reference:
https://docs.openstack.org/developer/glance/formats.html

Revision history for this message
Stuart McLaren (stuart-mclaren) wrote :

Yes, glance supports vhdx (for versions which have this patch: https://review.openstack.org/#/c/347352).

Check your glance configuration to verify which image formats have been configured on your system.

For Glance the relevant properties are:

# Supported values for the 'container_format' image attribute
#container_formats=ami,ari,aki,bare,ovf,ova

# Supported values for the 'disk_format' image attribute
#disk_formats=ami,ari,aki,vhd,vhdx,vmdk,raw,qcow2,vdi,iso

By default (ie if these parameters are commented out, all formats are supported.)

Revision history for this message
Brian Rosmaita (brian-rosmaita) wrote :

See Stuart's comment above. This is a configuration issue. Note also that not all clouds may support vhdx -- the supported formats are determined by the operator. 'vhdx' has been a default supported option since the Newton release.

Changed in glance:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.