I am using Ansible version ansible 2.1.0 (devel 0c013f592a) last updated
2015/12/21 14:26:10 (GMT -700)
I am using Ubuntu on 14.04 on the target system with OpenStack *Kilo *
release.
i am using the Ansible os_network module which is described
here: http://goo.gl/UhzIWl
I can create openstack network (using os_network), subnet and start virtual
machine using Ansible os_ modules.
I can delete the virtual machine (using os_server) and subnet using
os_network but when I try to delete the network
with os_network, I get 'service catalog is empty' error. Here is the task
and error message:
- name: remove network
become: no
os_network:
name: mynetwork
state: absent
endpoint_type: internal
timeout: 200
wait: yes
auth:
auth_url: "{{ os_auth_url }}"
project_domain_id: "{{ os_project_domain_id }}"
user_domain_id: "{{ os_user_domain_id }}"
username: "{{ os_username }}"
password: "{{ os_password }}"
register: mynet_results
TASK [os_test : remove network]
************************************************
fatal: [3.0.0.10]: FAILED! => {"changed": false, "failed": true, "msg":
"Error fetching network list: The service catalog is empty."}
I can create and delete networks using openstack CLI (or Horizon) and it
works correctly.
I have tried various values for the os_network endpoint_type and get same
error.
All OpenStack neutron commands work correctly at the command line.
Any idea *why I cannot delete the OpenStack network* (with os_network)
which I have just created?
thanks,
Rod
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/52488822-eab4-409b-bca4-84576f4fc3a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.