Brief Description
-----------------
Ansible bootstrap replay failed at installing ssl_ca cert. The initial bootstrap already succeeded in this step, however it failed at replay.
I tried to replay again, but same issue occurred. I had to reinstall the system.
E TASK [bootstrap/persist-config : Add ssl_ca certificate] ***********************
E fatal: [localhost]: FAILED! => {"changed": true, "cmd": "source /etc/platform/openrc; system certificate-install -m ssl_ca /tmp/ca-cert.pem", "delta": "0:01:03.648569", "end": "2020-05-28 23:45:58.636711", "msg": "non-zero return code", "rc": 1, "start": "2020-05-28 23:44:54.988142", "stderr": "Certificate /tmp/ca-cert.pem not installed: Expecting value: line 1 column 1 (char 0)", "stderr_lines": ["Certificate /tmp/ca-cert.pem not installed: Expecting value: line 1 column 1 (char 0)"], "stdout": "WARNING: For security reasons, the original certificate, \ncontaining the private key, will be removed, \nonce the private key is processed.", "stdout_lines": ["WARNING: For security reasons, the original certificate, ", "containing the private key, will be removed, ", "once the private key is processed."]}
E
E PLAY RECAP *********************************************************************
E localhost : ok=139 changed=34 unreachable=0 failed=1
Severity
--------
Major
Steps to Reproduce
------------------
- Install controller-0
- Run ansible bootstrap (bootstrap passed)
- Rerun ansible bootstrap using same localhost.yml
Expected Behavior
------------------
- Bootstrap passed in replay
Actual Behavior
----------------
- Bootstrap failed in replay
Reproducibility
---------------
Not sure yet
System Configuration
--------------------
AIO-DX
Lab-name: wolfpass8-12
Branch/Pull Time/Commit
-----------------------
stx master as of "2020-05-27_20-00-00"
# Relay
[2020-05-28 23:28:04,681] 140 INFO MainThread telnet.send :: Send: ansible-playbook lab-install-playbook.yaml -e "@local-install-overrides.yaml"
...
E TASK [bootstrap/persist-config : Restart Docker and containerd] ****************
E
E TASK [bootstrap/persist-config : Copy ssl_ca certificate] **********************
E changed: [localhost]
E
E TASK [bootstrap/persist-config : Remove ssl_ca complete flag] ******************
E changed: [localhost]
E
E TASK [bootstrap/persist-config : Add ssl_ca certificate] ***********************
E fatal: [localhost]: FAILED! => {"changed": true, "cmd": "source /etc/platform/openrc; system certificate-install -m ssl_ca /tmp/ca-cert.pem", "delta": "0:01:04.271207", "end": "2020-05-28 23:30:51.628429", "msg": "non-zero return code", "rc": 1, "start": "2020-05-28 23:29:47.357222", "stderr": "Certificate /tmp/ca-cert.pem not installed: Expecting value: line 1 column 1 (char 0)", "stderr_lines": ["Certificate /tmp/ca-cert.pem not installed: Expecting value: line 1 column 1 (char 0)"], "stdout": "WARNING: For security reasons, the original certificate, \ncontaining the private key, will be removed, \nonce the private key is processed.", "stdout_lines": ["WARNING: For security reasons, the original certificate, ", "containing the private key, will be removed, ", "once the private key is processed."]}
E
E PLAY RECAP *********************************************************************
E localhost : ok=152 changed=49 unreachable=0 failed=1
Brief Description
-----------------
Ansible bootstrap replay failed at installing ssl_ca cert. The initial bootstrap already succeeded in this step, however it failed at replay.
I tried to replay again, but same issue occurred. I had to reinstall the system.
E TASK [bootstrap/ persist- config : Add ssl_ca certificate] ******* ******* ******* ** openrc; system certificate-install -m ssl_ca /tmp/ca-cert.pem", "delta": "0:01:03.648569", "end": "2020-05-28 23:45:58.636711", "msg": "non-zero return code", "rc": 1, "start": "2020-05-28 23:44:54.988142", "stderr": "Certificate /tmp/ca-cert.pem not installed: Expecting value: line 1 column 1 (char 0)", "stderr_lines": ["Certificate /tmp/ca-cert.pem not installed: Expecting value: line 1 column 1 (char 0)"], "stdout": "WARNING: For security reasons, the original certificate, \ncontaining the private key, will be removed, \nonce the private key is processed.", "stdout_lines": ["WARNING: For security reasons, the original certificate, ", "containing the private key, will be removed, ", "once the private key is processed."]} ******* ******* ******* ******* ******* ******* ******* ******* ******
E fatal: [localhost]: FAILED! => {"changed": true, "cmd": "source /etc/platform/
E
E PLAY RECAP *******
E localhost : ok=139 changed=34 unreachable=0 failed=1
Severity
--------
Major
Steps to Reproduce
------------------
- Install controller-0
- Run ansible bootstrap (bootstrap passed)
- Rerun ansible bootstrap using same localhost.yml
Expected Behavior
------------------
- Bootstrap passed in replay
Actual Behavior
----------------
- Bootstrap failed in replay
Reproducibility
---------------
Not sure yet
System Configuration ------- ------
-------
AIO-DX
Lab-name: wolfpass8-12
Branch/Pull Time/Commit ------- ------- -- 27_20-00- 00"
-------
stx master as of "2020-05-
Last Pass
---------
2020-04-29
Timestamp/Logs playbook. yaml -e "@local- install- overrides. yaml" persist- config : Restart Docker and containerd] ****************
--------------
# Initial play:
[2020-05-28 21:19:53,592] 140 INFO MainThread telnet.send :: Send: ansible-playbook lab-install-
...
TASK [bootstrap/
TASK [bootstrap/ persist- config : Copy ssl_ca certificate] ******* ******* ******* *
changed: [localhost]
TASK [bootstrap/ persist- config : Remove ssl_ca complete flag] ******************
changed: [localhost]
TASK [bootstrap/ persist- config : Add ssl_ca certificate] ******* ******* ******* **
changed: [localhost]
TASK [bootstrap/ persist- config : Wait for certificate install] *****************
ok: [localhost]
TASK [bootstrap/ persist- config : Cleanup temporary certificate] ****************
ok: [localhost]
...
# Relay playbook. yaml -e "@local- install- overrides. yaml" persist- config : Restart Docker and containerd] **************** persist- config : Copy ssl_ca certificate] ******* ******* ******* * persist- config : Remove ssl_ca complete flag] ****************** persist- config : Add ssl_ca certificate] ******* ******* ******* ** openrc; system certificate-install -m ssl_ca /tmp/ca-cert.pem", "delta": "0:01:04.271207", "end": "2020-05-28 23:30:51.628429", "msg": "non-zero return code", "rc": 1, "start": "2020-05-28 23:29:47.357222", "stderr": "Certificate /tmp/ca-cert.pem not installed: Expecting value: line 1 column 1 (char 0)", "stderr_lines": ["Certificate /tmp/ca-cert.pem not installed: Expecting value: line 1 column 1 (char 0)"], "stdout": "WARNING: For security reasons, the original certificate, \ncontaining the private key, will be removed, \nonce the private key is processed.", "stdout_lines": ["WARNING: For security reasons, the original certificate, ", "containing the private key, will be removed, ", "once the private key is processed."]} ******* ******* ******* ******* ******* ******* ******* ******* ******
[2020-05-28 23:28:04,681] 140 INFO MainThread telnet.send :: Send: ansible-playbook lab-install-
...
E TASK [bootstrap/
E
E TASK [bootstrap/
E changed: [localhost]
E
E TASK [bootstrap/
E changed: [localhost]
E
E TASK [bootstrap/
E fatal: [localhost]: FAILED! => {"changed": true, "cmd": "source /etc/platform/
E
E PLAY RECAP *******
E localhost : ok=152 changed=49 unreachable=0 failed=1
Test Activity
-------------
Normal use