TASK [bootstrap/persist-config : debug] *********************************************************************************************************************************************************************************************************************** Tuesday 08 August 2023 15:11:03 +0000 (0:00:17.580) 0:04:17.493 ******** ok: [localhost] => populate_result: changed: true failed: false failed_when_result: false msg: non-zero return code rc: 1 stderr: |- Traceback (most recent call last): File "/tmp/.ansible-sysadmin/tmp/ansible-tmp-1691507445.5799706-107439-148601474655/populate_initial_config.py", line 1327, in <module> populate_service_parameter_config(client) File "/tmp/.ansible-sysadmin/tmp/ansible-tmp-1691507445.5799706-107439-148601474655/populate_initial_config.py", line 1046, in populate_service_parameter_config populate_docker_kube_config(client) File "/tmp/.ansible-sysadmin/tmp/ansible-tmp-1691507445.5799706-107439-148601474655/populate_initial_config.py", line 838, in populate_docker_kube_config client.sysinv.service_parameter.delete(parameter.uuid) File "/usr/lib/python3/dist-packages/cgtsclient/v1/service_parameter.py", line 45, in delete return self._delete(self._path(parameter_id)) File "/usr/lib/python3/dist-packages/cgtsclient/common/base.py", line 95, in _delete self.api.raw_request('DELETE', url) File "/usr/lib/python3/dist-packages/cgtsclient/common/http.py", line 224, in raw_request return self._http_request(url, method, **kwargs) File "/usr/lib/python3/dist-packages/cgtsclient/common/http.py", line 186, in _http_request raise exceptions.from_response( cgtsclient.exc.HTTPInternalServerError: 'int' object is not callable stderr_lines: - 'Traceback (most recent call last):' - ' File "/tmp/.ansible-sysadmin/tmp/ansible-tmp-1691507445.5799706-107439-148601474655/populate_initial_config.py", line 1327, in <module>' - ' populate_service_parameter_config(client)' - ' File "/tmp/.ansible-sysadmin/tmp/ansible-tmp-1691507445.5799706-107439-148601474655/populate_initial_config.py", line 1046, in populate_service_parameter_config' - ' populate_docker_kube_config(client)' - ' File "/tmp/.ansible-sysadmin/tmp/ansible-tmp-1691507445.5799706-107439-148601474655/populate_initial_config.py", line 838, in populate_docker_kube_config' - ' client.sysinv.service_parameter.delete(parameter.uuid)' - ' File "/usr/lib/python3/dist-packages/cgtsclient/v1/service_parameter.py", line 45, in delete' - ' return self._delete(self._path(parameter_id))' - ' File "/usr/lib/python3/dist-packages/cgtsclient/common/base.py", line 95, in _delete' - ' self.api.raw_request(''DELETE'', url)' - ' File "/usr/lib/python3/dist-packages/cgtsclient/common/http.py", line 224, in raw_request' - ' return self._http_request(url, method, **kwargs)' - ' File "/usr/lib/python3/dist-packages/cgtsclient/common/http.py", line 186, in _http_request' - ' raise exceptions.from_response(' - 'cgtsclient.exc.HTTPInternalServerError: ''int'' object is not callable' stdout: |- Updating system config... System config completed. Deleting network, routes, addresses, and address pool for network mgmt... Updating management network... Deleting network, routes, addresses, and address pool for network pxeboot... Updating pxeboot network... Deleting network, routes, addresses, and address pool for network oam... Updating oam network... Deleting network, routes, addresses, and address pool for network multicast... Updating multicast network... Deleting network, routes, addresses, and address pool for network cluster-host... Updating cluster host network... Deleting network, routes, addresses, and address pool for network cluster-pod... Updating cluster pod network... Deleting network, routes, addresses, and address pool for network cluster-service... Updating cluster service network... Network config completed. Populating/Updating DNS config... DNS config completed. Populating/Updating docker registry config... Docker registry config completed. Failed to provision the initial system config. stdout_lines: - Updating system config... - System config completed. - Deleting network, routes, addresses, and address pool for network mgmt... - Updating management network... - Deleting network, routes, addresses, and address pool for network pxeboot... - Updating pxeboot network... - Deleting network, routes, addresses, and address pool for network oam... - Updating oam network... - Deleting network, routes, addresses, and address pool for network multicast... - Updating multicast network... - Deleting network, routes, addresses, and address pool for network cluster-host... - Updating cluster host network... - Deleting network, routes, addresses, and address pool for network cluster-pod... - Updating cluster pod network... - Deleting network, routes, addresses, and address pool for network cluster-service... - Updating cluster service network... - Network config completed. - Populating/Updating DNS config... - DNS config completed. - Populating/Updating docker registry config... - Docker registry config completed. - Failed to provision the initial system config. TASK [bootstrap/persist-config : Fail if populate config script throws an exception] ************************************************************************************************************************************************************************** Tuesday 08 August 2023 15:11:03 +0000 (0:00:00.066) 0:04:17.559 ******** fatal: [localhost]: FAILED! => changed=false msg: Failed to provision initial system configuration. PLAY RECAP **************************************************************************************************************************************************************************************************************************************************** localhost : ok=185 changed=46 unreachable=0 failed=1 skipped=232 rescued=0 ignored=0 Tuesday 08 August 2023 15:11:03 +0000 (0:00:00.036) 0:04:17.596 ******** =============================================================================== bootstrap/persist-config : Find old registry secrets in Barbican -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 68.86s bootstrap/validate-config : Generate config ini file for python sysinv db population script ----------------------------------------------------------------------------------------------------------------------------------------------------------- 51.72s bootstrap/persist-config : Saving config in sysinv database ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 17.58s bootstrap/validate-config : Retrieve list of applications from sysinv ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 6.93s bootstrap/validate-config : Check if the supplied address is a valid domain name or ip address --------------------------------------------------------------------------------------------------------------------------------------------------------- 5.47s bootstrap/validate-config : Check if the supplied address is a valid domain name or ip address --------------------------------------------------------------------------------------------------------------------------------------------------------- 5.47s bootstrap/validate-config : Check if the supplied address is a valid domain name or ip address --------------------------------------------------------------------------------------------------------------------------------------------------------- 5.46s bootstrap/validate-config : Check if the supplied address is a valid domain name or ip address --------------------------------------------------------------------------------------------------------------------------------------------------------- 5.46s bootstrap/validate-config : Check if the supplied address is a valid domain name or ip address --------------------------------------------------------------------------------------------------------------------------------------------------------- 5.46s bootstrap/validate-config : Check if the supplied address is a valid domain name or ip address --------------------------------------------------------------------------------------------------------------------------------------------------------- 5.46s bootstrap/validate-config : Check if the supplied address is a valid domain name or ip address --------------------------------------------------------------------------------------------------------------------------------------------------------- 5.45s bootstrap/validate-config : Check if the supplied address is a valid domain name or ip address --------------------------------------------------------------------------------------------------------------------------------------------------------- 5.45s bootstrap/validate-config : Check if the supplied address is a valid domain name or ip address --------------------------------------------------------------------------------------------------------------------------------------------------------- 5.43s bootstrap/persist-config : Append config ini file with Barbican secret uuid ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 4.42s bootstrap/persist-config : Copy etcd certificates to etcd certs directory ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 3.58s common/prepare-env : stat ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 2.55s bootstrap/validate-config : Wipe ceph osds ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 2.50s bootstrap/persist-config : Shutdown FM services -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.32s bootstrap/validate-config : Update resolv.conf with list of dns servers -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.31s bootstrap/persist-config : Stop etcd ----------------------------------------------