Bootstrap replay fails with K8s error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
New
|
Undecided
|
Unassigned |
Bug Description
When we run Ansible bootstrap second time, the bootstrap fails.
Following is the call trace.
ok: [localhost] =>
populate_result:
changed: true
failed: false
failed_
msg: non-zero return code
rc: 1
stderr: |-
Traceback (most recent call last):
File "/tmp/.
File "/tmp/.
File "/tmp/.
File "/usr/lib/
return self._delete(
File "/usr/lib/
File "/usr/lib/
return self._http_
File "/usr/lib/
raise exceptions.
cgtsclien
stderr_lines:
- 'Traceback (most recent call last):'
- ' File "/tmp/.
- ' populate_
- ' File "/tmp/.
- ' populate_
- ' File "/tmp/.
- ' client.
- ' File "/usr/lib/
- ' return self._delete(
- ' File "/usr/lib/
- ' self.api.
- ' File "/usr/lib/
- ' return self._http_
- ' File "/usr/lib/
- ' raise exceptions.
- 'cgtsclient.
stdout: |-
Populatin
Docker registry config completed.
Failed to provision the initial system config.
stdout_lines:
- Populating/Updating docker registry config...
- Docker registry config completed.
- Failed to provision the initial system config.
TASK [bootstrap/
Tuesday 26 September 2023 08:58:54 +0000 (0:00:00.051) 0:16:41.987 *****
fatal: [localhost]: FAILED! => changed=false
msg: Failed to provision initial system configuration.
PLAY RECAP *******
localhost : ok=227 changed=70 unreachable=0 failed=1 skipped=218 rescued=0 ignored=0