Hi Rod,

On Monday, January 4, 2016 at 12:35:42 PM UTC-5, R Melton wrote:
>
>
> 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."}
>


That is a REALLY strange error. I honestly cannot imagine a scenario that 
would cause that.

 

>
> 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
>


I have no idea what could cause that problem. Can you provide some more 
details that might
help us debug this? Can we see the playbook that reproduces this (this 
simpler the better)?
What cloud provider are you using?

-Dave

-- 
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/40b55510-ad9a-4356-8819-80e2b7b26a51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to