Comment 1 for bug 2027580

Revision history for this message
Juan Badia Payno (jbadiapa) wrote :

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
}