Comment 1 for bug 1570801

Revision history for this message
Abhijeet Malawade (abhijeet-malawade) wrote :

After defining 'work_dir' config option, 'disk_format' is getting changed to 'raw' in _Introspect task (https://github.com/openstack/glance/blob/master/glance/async/flows/introspect.py#L72). _Introspect task gets correct disk format of file using qemu-img info command.

_Introspect task gets run only when 'work_dir' config option is defined.

Is this correct behaviour OR do we need to set 'disk_format' of image to whatever user has provided (i.e.- do not update 'disk_format' in _Introspect task) ?