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