[liberty] deployment fails at upload_cirros.rb step
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Denis Egorenko |
Bug Description
Deployment fails with "Deployment has failed. Method granular_deploy. Failed to execute hook 'shell' Failed to run command cd / && ruby /etc/puppet/
On Liberty, python-glanceclient is using V2 interface by default. Need to fall back to v1.
--- /etc/puppet/
+++ upload_cirros.rb 2015-10-07 16:58:20.614186778 +0000
@@ -53,7 +53,7 @@
def image_create(
command = <<-EOF
-/usr/bin/glance --os-image-
+/usr/bin/glance image-create \
--name '#{image_
--is-public '#{image_
--container-
Also, there is no admin role for user glance in admin tenant.
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "8.0"
openstack_
api: "1.0"
build_number: "129"
build_id: "129"
fuel-nailgun_sha: "a95a1c14595c4e
python-
fuel-agent_sha: "e881f0dabd09af
fuel-
astute_sha: "0f753467a3f16e
fuel-library_sha: "e3d2905b9dd2cc
fuel-ostf_sha: "41aa5059243cbb
fuel-
fuelmain_sha: "f208d8963624ea
summary: |
- deployment fails at upload_cirros.rb step + [libarty] deployment fails at upload_cirros.rb step |
summary: |
- [libarty] deployment fails at upload_cirros.rb step + [liberty] deployment fails at upload_cirros.rb step |
tags: | added: liberty |
tags: | added: area-mos |
Error occurs because of using '--is-public' option for v2 glance-api. As another way, we can use proper option: --visibility {public,private}
[1] http:// docs.openstack. org/cli- reference/ content/ glanceclient_ commands. html