A little bit more of debugging
(undercloud) [stack@director ~]$ openstack overcloud network extract --stack overcloud \ --output /home/stack/overcloud-deploy/overcloud/tripleo-overcloud-network-data.yaml --yes --debug
2023-07-12 07:37:44.089820 | 2cc26024-0e20-6fcc-40ed-00000000000a | TIMING | Check if output file exists | localhost | 0:00:00.329257 | 0.24s 2023-07-12 07:37:44.114544 | 2cc26024-0e20-6fcc-40ed-00000000000b | SKIPPED | fail | localhost 2023-07-12 07:37:44.115278 | 2cc26024-0e20-6fcc-40ed-00000000000b | TIMING | fail | localhost | 0:00:00.354717 | 0.02s META: ran handlers 2023-07-12 07:37:44.117780 | 2cc26024-0e20-6fcc-40ed-00000000000d | TASK | Get network data from overcloud stack Using module file /usr/share/ansible/plugins/modules/tripleo_overcloud_network_extract.py Pipelining is enabled. <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: stack <127.0.0.1> EXEC /bin/sh -c '/usr/libexec/platform-python && sleep 0' The full traceback is: File "/tmp/ansible_tripleo_overcloud_network_extract_payload_vz72cwgo/ansible_tripleo_overcloud_network_extract_payload.zip/ ansible/modules/tripleo_overcloud_network_extract.py", line 288, in run_module File "/tmp/ansible_tripleo_overcloud_network_extract_payload_vz72cwgo/ansible_tripleo_overcloud_network_extract_payload.zip/ ansible/module_utils/network_data_v2.py", line 463, in get_overcloud_network_resources for res in conn.orchestration.resources(net.physical_resource_id): File "/usr/lib/python3.6/site-packages/openstack/orchestration/v1/_proxy.py", line 276, in resources obj = self._find(_stack.Stack, stack, ignore_missing=False) File "/usr/lib/python3.6/site-packages/openstack/proxy.py", line 371, in _find **attrs) File "/usr/lib/python3.6/site-packages/openstack/orchestration/v1/stack.py", line 241, in find "No %s found for %s" % (cls.__name__, name_or_id)) 2023-07-12 07:37:46.977123 | 2cc26024-0e20-6fcc-40ed-00000000000d | FATAL | Get network data from overcloud stack | localhost | error={ "changed": false, "error": "No Stack found for e1e57091-0283-4c1e-a04a-450b1a3cbc0b", "invocation": { "module_args": { "api_timeout": null, "auth": null, "auth_type": null, "availability_zone": null, "ca_cert": null, "client_cert": null, "client_key": null, "interface": "public", "region_name": null, "stack_name": "overcloud", "timeout": 180, "validate_certs": null, "wait": true } }, "msg": "Error getting network data from overcloud stack overcloud: %No Stack found for e1e57091-0283-4c1e-a04a-450b1a3cbc0b", "network_data": [], "success": false }
A little bit more of debugging
(undercloud) [stack@director ~]$ openstack overcloud network extract --stack overcloud \ overcloud- deploy/ overcloud/ tripleo- overcloud- network- data.yaml --yes --debug
--output /home/stack/
2023-07-12 07:37:44.089820 | 2cc26024- 0e20-6fcc- 40ed-0000000000 0a | TIMING | Check if output file exists | localhost | 0:00:00.329257 | 0.24s 0e20-6fcc- 40ed-0000000000 0b | SKIPPED | fail | localhost 0e20-6fcc- 40ed-0000000000 0b | TIMING | fail | localhost | 0:00:00.354717 | 0.02s 0e20-6fcc- 40ed-0000000000 0d | TASK | Get network data from overcloud stack ansible/ plugins/ modules/ tripleo_ overcloud_ network_ extract. py platform- python && sleep 0' tripleo_ overcloud_ network_ extract_ payload_ vz72cwgo/ ansible_ tripleo_ overcloud_ network_ extract_ payload. zip/ modules/ tripleo_ overcloud_ network_ extract. py", line 288, in run_module tripleo_ overcloud_ network_ extract_ payload_ vz72cwgo/ ansible_ tripleo_ overcloud_ network_ extract_ payload. zip/ module_ utils/network_ data_v2. py", line 463, in get_overcloud_ network_ resources ion.resources( net.physical_ resource_ id): python3. 6/site- packages/ openstack/ orchestration/ v1/_proxy. py", line 276, in resources _stack. Stack, stack, ignore_ missing= False) python3. 6/site- packages/ openstack/ proxy.py" , line 371, in _find python3. 6/site- packages/ openstack/ orchestration/ v1/stack. py", line 241, in find 0e20-6fcc- 40ed-0000000000 0d | FATAL | Get network data from overcloud stack | localhost | error={ 0283-4c1e- a04a-450b1a3cbc 0b",
"module_ args": {
"api_ timeout" : null,
"auth_ type": null,
"availabil ity_zone" : null,
"ca_ cert": null,
"client_ cert": null,
"client_ key": null,
"interface ": "public",
"region_ name": null,
"stack_ name": "overcloud",
"timeout" : 180,
"validate_ certs": null, 0283-4c1e- a04a-450b1a3cbc 0b",
2023-07-12 07:37:44.114544 | 2cc26024-
2023-07-12 07:37:44.115278 | 2cc26024-
META: ran handlers
2023-07-12 07:37:44.117780 | 2cc26024-
Using module file /usr/share/
Pipelining is enabled.
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: stack
<127.0.0.1> EXEC /bin/sh -c '/usr/libexec/
The full traceback is:
File "/tmp/ansible_
ansible/
File "/tmp/ansible_
ansible/
for res in conn.orchestrat
File "/usr/lib/
obj = self._find(
File "/usr/lib/
**attrs)
File "/usr/lib/
"No %s found for %s" % (cls.__name__, name_or_id))
2023-07-12 07:37:46.977123 | 2cc26024-
"changed": false,
"error": "No Stack found for e1e57091-
"invocation": {
"auth": null,
"wait": true
}
},
"msg": "Error getting network data from overcloud stack overcloud: %No Stack found for e1e57091-
"network_data": [],
"success": false
}