Fixing issues with Glance image upload function
On first run, multiple images were being uploaded with the same name. This patch limits the task to the first Magnum container to prevent this. Additionally, the Glance client was not installed on the server, thus resulting in an error when attemping to upload the image. This is now included in the magnum_requires_pip_packages variable. Change-Id: I03183881390fe98b492b010b7627d5a444a7d7b3
This commit is contained in:
@@ -98,6 +98,7 @@ magnum_glance_images: []
|
||||
|
||||
magnum_requires_pip_packages:
|
||||
- httplib2
|
||||
- python-glanceclient
|
||||
- python-keystoneclient
|
||||
- virtualenv
|
||||
- virtualenv-tools
|
||||
|
@@ -52,3 +52,4 @@
|
||||
insecure: "{{ keystone_service_internaluri_insecure }}"
|
||||
openrc_path: /root/openrc
|
||||
with_items: "{{ magnum_glance_images }}"
|
||||
when: inventory_hostname == groups['magnum_all'][0]
|
||||
|
Reference in New Issue
Block a user