From 6b421f3d4563125e308c0e135a29d0e35347df4b Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Fri, 27 Nov 2015 23:58:42 -0800 Subject: [PATCH] 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 --- playbooks/roles/bifrost-deploy-nodes-dynamic/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/bifrost-deploy-nodes-dynamic/tasks/main.yml b/playbooks/roles/bifrost-deploy-nodes-dynamic/tasks/main.yml index 4d5458fba..aa5df56a5 100644 --- a/playbooks/roles/bifrost-deploy-nodes-dynamic/tasks/main.yml +++ b/playbooks/roles/bifrost-deploy-nodes-dynamic/tasks/main.yml @@ -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 == '{}' )