cloud dcn01 (edge) not found in External Deployment Post deployment Tasks | tripleo | wallaby | centos 8 stream

Swogat Pradhan swogatpradhan22 at gmail.com
Fri Jan 27 11:15:51 UTC 2023


Hi,
I am trying to deploy DCN and in the final step getting the following error:

2023-01-27 18:31:10.843012 | 48d539a1-1679-1cbd-45d5-0000000000fe |
TASK | Nova: Manage aggregate and availability zone and add hosts to the
zone
Using module file
/usr/lib/python3.6/site-packages/ansible/modules/cloud/openstack/os_nova_host_aggregate.py
Pipelining is enabled.
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: stack
<localhost> EXEC /bin/sh -c 'sudo -H -S -n  -u root /bin/sh -c '"'"'echo
BECOME-SUCCESS-bhcwyaeoxhaczfutgazdvosyznxmddwq ; OS_CLOUD=dcn01
/usr/bin/python3'"'"' && sleep 0'
The full traceback is:
  File
"/tmp/ansible_os_nova_host_aggregate_payload_uur0b1qu/ansible_os_nova_host_aggregate_payload.zip/ansible/module_utils/openstack.py",
line 159, in openstack_cloud_from_module
    interface=module.params['interface'],
  File "/usr/lib/python3.6/site-packages/openstack/__init__.py", line 63,
in connect
    options=options, **kwargs)
  File "/usr/lib/python3.6/site-packages/openstack/config/__init__.py",
line 36, in get_cloud_region
    return config.get_one(options=parsed_options, **kwargs)
  File "/usr/lib/python3.6/site-packages/openstack/config/loader.py", line
1107, in get_one
    config = self._get_base_cloud_config(cloud, profile)
  File "/usr/lib/python3.6/site-packages/openstack/config/loader.py", line
509, in _get_base_cloud_config
    name=name))
2023-01-27 18:31:14.137975 | 48d539a1-1679-1cbd-45d5-0000000000fe |
 FATAL | Nova: Manage aggregate and availability zone and add hosts to the
zone | undercloud | error={
    "changed": false,
    "invocation": {
        "module_args": {
            "api_timeout": null,
            "auth": null,
            "auth_type": null,
            "availability_zone": "dcn01",
            "ca_cert": null,
            "client_cert": null,
            "client_key": null,
            "hosts": [
                "dcn01-hci-0.bdxworld.com",
                "dcn01-hci-1.bdxworld.com",
                "dcn01-hci-2.bdxworld.com"
            ],
            "interface": "public",
            "metadata": null,
            "name": "dcn01",
            "region_name": null,
            "state": "present",
            "timeout": 180,
            "validate_certs": null,
            "wait": true
        }
    },
    "msg": "Cloud dcn01 was not found."
}
2023-01-27 18:31:14.139916 | 48d539a1-1679-1cbd-45d5


Deploy step:

(undercloud) [stack at hkg2director dcn01]$ cat deploy_dcn01.sh
#!/bin/bash
THT=/usr/share/openstack-tripleo-heat-templates/
CNF=/home/stack/
openstack overcloud deploy \
--stack dcn01 \
--templates $THT \
-r $CNF/dcn01/dcn01_roles.yaml \
-n $CNF/dcn01/custom_network_data.yaml \
-e $CNF/dcn01/node-info.yaml \
-e $CNF/dcn01/scheduler-hints.yaml \
-e $CNF/dcn01/overcloud-networks-deployed.yaml \
-e $CNF/dcn01/vip-deployed-environment.yaml \
-e ~/containers-prepare-parameter.yaml \
-e $THT/environments/services/neutron-ovn-dvr-ha.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/podman.yaml \
-e
/usr/share/openstack-tripleo-heat-templates/environments/dcn-storage.yaml \
-e
/usr/share/openstack-tripleo-heat-templates/environments/cephadm/cephadm-rbd-only.yaml
\
-e
/usr/share/openstack-tripleo-heat-templates/environments/nova-az-config.yaml
\
-e
/usr/share/openstack-tripleo-heat-templates/environments/services/etcd.yaml
\
-e $CNF/dcn01/dcn01_overcloud-baremetal-deployed.yaml \
-e $CNF/dcn01/glance_dcn01.yaml \
-e $CNF/dcn01/deployed_ceph.yaml \
-e $CNF/dcn01/dcn01_parameters.yaml \
-e $CNF/dcn01/overcloud-export.yaml \
-e $CNF/dcn01/clouddomain.yaml \
--ntp-server 172.25.201.68 -vv


Can you please tell me what this issue could be? How to fix it?

With regards,
Swogat Pradhan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230127/48ddc859/attachment-0001.htm>


More information about the openstack-discuss mailing list