Nodelet Phase got Stuck at Cert Generation Phase due to no Response from Vault.
Problem
$ sudo /opt/pf9/nodelet/nodeletd phases start --verbose
...
[2023-08-23 06:45:10] + openssl verify -CAfile /tmp/authbs-certs.vKU6/apiserver/etcd/ca.crt /tmp/authbs-certs.vKU6/apiserver/etcd/request.crt
[2023-08-23 06:45:10] Traceback (most recent call last):
[2023-08-23 06:45:10] File "<string>", line 1, in <module>
[2023-08-23 06:45:10] File "/opt/pf9/python/lib/python3.9/json/__init__.py", line 293, in load
[2023-08-23 06:45:10] return loads(fp.read(),
[2023-08-23 06:45:10] File "/opt/pf9/python/lib/python3.9/json/__init__.py", line 346, in loads
[2023-08-23 06:45:10] return _default_decoder.decode(s)
[2023-08-23 06:45:10] File "/opt/pf9/python/lib/python3.9/json/decoder.py", line 337, in decode
[2023-08-23 06:45:10] obj, end = self.raw_decode(s, idx=_w(s, 0).end())
[2023-08-23 06:45:10] File "/opt/pf9/python/lib/python3.9/json/decoder.py", line 355, in raw_decode
[2023-08-23 06:45:10] raise JSONDecodeError("Expecting value", s, err.value) from None
[2023-08-23 06:45:10] json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[2023-08-23 06:45:10] Error loading file /tmp/authbs-certs.vKU6/kubelet/apiserver/ca.crt
[2023-08-23 06:45:10] + echo 'Certificate is not signed by CA'
[2023-08-23 06:45:10] Certificate is not signed by CA
[2023-08-23 06:45:10] + exit 1Environment
Cause
Resolution
PreviousCalico-kube-controller Pod Restarts Frequently Due To OOM- Memory Exhaustion.NextHostname/IP Does not Match Certificate's altnames Which Breaks the Communication to Management Plane
Last updated
