My playbook will create an OpenStack (Kilo) compute node and then run a minimal self test on the new compute node. The os_network error is happening in the 'os_test' role in the playbook. The self test will
1. create neutron network and subnet
2. start new VM instance
3. list running VMs
4. remove/delete the VM
5.delete the subnet and network
attachments:
1. i set ANSIBLE_KEEP_REMOTE_FILES=1 and the os_network script was saved on the target. I
have attached the os_network script which was generated by ansible. I notice that when I run this script
manually on the target, it seems to complete correctly and the openstack network is deleted.
Here is the output when i run the os_network manually:
./os_network
{"invocation": {"auth_type": null, "timeout": 200, "name": "mynetwork", "admin_state_up": true, "verify": true, "api_timeout": null, "state": "absent", "auth": {"username": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "auth_url": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "user_domain_id": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "project_domain_id": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"}, "cacert": null, "cert": null, "endpoint_type": "internal", "external": false, "key": null, "availability_zone": null, "shared": false, "wait": true, "cloud": null, "region_name": null}, "changed": true}
2. i attached the playbook 'compute_playbook.yml'; the error is happening in the 'os_test' role.
3. i attached the main.yml task list for the os_test role. The error is happening on the 'remove network task' within this task list. Just focus on what is happening in this task list and don't worry about the whole playbook.
If you could help me know why the os_network script is failing (see red error msg above) to delete
the network, that would be great.
Thanks,
Rod