Mirantis Container Cloud (MCC) becomes part of Mirantis OpenStack for Kubernetes (MOSK)!
Starting with MOSK 25.2, the MOSK documentation set covers all product layers, including MOSK management (formerly Container Cloud). This means everything you need is in one place. Some legacy names may remain in the code and documentation and will be updated in future releases. The separate Container Cloud documentation site will be retired, so please update your bookmarks for continued easy access to the latest content.
Ceph known issues¶
This section lists the Ceph known issues with workarounds for the Mirantis OpenStack for Kubernetes release 21.3.
[16229] Ceph Controller failure during update¶
During the MOS cluster update to Cluster release 6.16.0, the Ceph Controller may fail with the following traceback:
panic: runtime error: invalid memory address on nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x15d2c58]
goroutine 352 [running]:
github.com/Mirantis/ceph-controller/pkg/controller/miraceph.VerifyCertificateExpireDate(0x0, 0x0, 0x0, 0x6, 0x28a7bc0)
ceph-controller/pkg/controller/miraceph/util.go:250 +0x48
Workaround:
Obtain the
certbase64-encoded value of therook-ceph/rgw-ssl-certificatesecret:kubectl -n rook-ceph get secret rgw-ssl-certificate -o jsonpath='{.data.cert}' | base64 -d
Example of system response:
-----BEGIN RSA PRIVATE KEY----- ... -----END RSA PRIVATE KEY----- -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----
Copy last certificate in the chain and save it to the temp file, for example,
tmp-cacert.crt.Encode the certificate from
tmp-cacert.crtwith base64 encoding in one line:cat tmp-cacert.crt | base64 -w 0
Create a new
cacertkey in therook-ceph/rgw-ssl-certificatesecret and copy the base64-encodedcacertto its value. The following is an example of the resulting secret data:data: cert: <base64 string> cacert: <copied base64 cacert string>
Restart the
ceph-lcm-mirantis/ceph-controllerpod:kubectl -n ceph-lcm-mirantis delete pod -l app=ceph-controller