Openstack os_image does not make image public in Glance

28 views
Skip to first unread message

Vilian Atmadzhov

unread,
Sep 28, 2015, 9:11:16 AM9/28/15
to Ansible Project
I have the following task in an Ansible playbook, using Ansible 2.0:

- name: Push base image to glance
      os_image:
       auth:
          auth_url: *
          username: admin
          password: *
          project_name: admin
       name: centos-6
       container_format: bare
       disk_format: qcow2
       state: present
       filename: centos-6.qcow2
       is_public: yes

The image is successfully pushed to Glance, however it is not made public. I have to manually edit the image in Horizon, or use glance cli to make it public.

I have raised a bug in ansible-modules-core in Github : https://github.com/ansible/ansible-modules-core/issues/2100

Any help will be greatly appreciated.

Thanks

David Shrewsbury

unread,
Sep 28, 2015, 1:18:21 PM9/28/15
to Ansible Project
I believe this is fixed in the latest version of the shade library.

Please upgrade shade to the latest version (0.14.0) and try again.
Reply all
Reply to author
Forward
0 new messages