Change default disk format for default install
The default image created during the bifrost-ironic-install phase is a qcow2 image, not a raw image. The instance_info for the default install type should reflect that. The consequence of providing "raw" as the image type when the image is not a raw image, along with keeping the default value of the new stream_raw_images parameter[1], is that the ironic-python-agent is not able to correctly write the image, which leads to a failure to write the configdrive[2]. [1] http://git.openstack.org/cgit/openstack/ironic/commit/ironic?id=ce3878176e20d14681d11b53f4fc5cf1cb63e956 [2] http://paste.openstack.org/show/480078/ Change-Id: I5e948672a8af967b7eeebda45ed6251286145ff1
This commit is contained in:
parent
687f972dd9
commit
6b421f3d45
@ -56,7 +56,7 @@
|
||||
instance_info:
|
||||
image_source: "http://{{ hostvars[inventory_hostname]['ansible_' + ans_network_interface]['ipv4']['address'] }}:{{ nginx_port }}/{{deploy_image_filename}}"
|
||||
image_checksum: "{{ test_deploy_image.stat.md5 }}"
|
||||
image_disk_format: "raw"
|
||||
image_disk_format: "qcow2"
|
||||
root_gb: 10
|
||||
delegate_to: localhost
|
||||
when: instance_info is not defined or ( instance_info is defined and instance_info | to_json == '{}' )
|
||||
|
Loading…
Reference in New Issue
Block a user