I too am facing similar issue but in Nova section, i am trying to setup DCN:
2023-01-27 20:07:21.523012 | 48d539a1-1679-deee-75e4-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-urbvkhqfmaljfracvpejeknzcglnfdxd ; OS_CLOUD=dcn01 /usr/bin/python3'"'"' && sleep 0'
The full traceback is:
File "/tmp/ansible_os_nova_host_aggregate_payload_xmki19vw/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 20:07:24.783699 | 48d539a1-1679-deee-75e4-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."
}
Do i need to remove become: true parameter in nova deployment template as well or do i need to copy the clouds.yaml file to root and change the cloud details to my edge site?
I too am facing similar issue but in Nova section, i am trying to setup DCN: 1679-deee- 75e4-0000000000 fe | TASK | Nova: Manage aggregate and availability zone and add hosts to the zone python3. 6/site- packages/ ansible/ modules/ cloud/openstack /os_nova_ host_aggregate. py SUCCESS- urbvkhqfmaljfra cvpejeknzcglnfd xd ; OS_CLOUD=dcn01 /usr/bin/ python3' "'"' && sleep 0' os_nova_ host_aggregate_ payload_ xmki19vw/ ansible_ os_nova_ host_aggregate_ payload. zip/ansible/ module_ utils/openstack .py", line 159, in openstack_ cloud_from_ module module. params[ 'interface' ], python3. 6/site- packages/ openstack/ __init_ _.py", line 63, in connect options, **kwargs) python3. 6/site- packages/ openstack/ config/ __init_ _.py", line 36, in get_cloud_region get_one( options= parsed_ options, **kwargs) python3. 6/site- packages/ openstack/ config/ loader. py", line 1107, in get_one base_cloud_ config( cloud, profile) python3. 6/site- packages/ openstack/ config/ loader. py", line 509, in _get_base_ cloud_config 1679-deee- 75e4-0000000000 fe | FATAL | Nova: Manage aggregate and availability zone and add hosts to the zone | undercloud | error={
"module_ args": {
"api_ timeout" : null,
"auth_ type": null,
"availabil ity_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,
"region_ name": null,
"state" : "present",
"timeout" : 180,
"validate_ certs": null,
2023-01-27 20:07:21.523012 | 48d539a1-
Using module file /usr/lib/
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-
The full traceback is:
File "/tmp/ansible_
interface=
File "/usr/lib/
options=
File "/usr/lib/
return config.
File "/usr/lib/
config = self._get_
File "/usr/lib/
name=name))
2023-01-27 20:07:24.783699 | 48d539a1-
"changed": false,
"invocation": {
"auth": null,
],
"name": "dcn01",
"wait": true
}
},
"msg": "Cloud dcn01 was not found."
}
Reference case: https:/ /bugs.launchpad .net/tripleo/ +bug/2003919
Do i need to remove become: true parameter in nova deployment template as well or do i need to copy the clouds.yaml file to root and change the cloud details to my edge site?