Hi,
this has already been asked recently:
https://lists.ceph.io/hyperkitty/list/ceph-users@xxxxxxx/thread/RX7BREBAQBWFVZZ6ADXC33PZNNT5IY5H/
The way certificates are handled has changed.
Zitat von Devender Singh <devender@xxxxxxxxxx>:
Hello all
Recently upgraded to 19.2.1 and started facing ..
Invalid grafana certificate on hostnode1: Invalid
certificate key: [('PEM routines', '', 'no start line’)]
Tried suggest steps, even re-deployed grafana but no solution?
1.
[WRN] CEPHADM_CERT_ERROR: Invalid grafana certificate on host
node1: Invalid certificate key: [('PEM routines', '', 'no start
line')]
Detected invalid grafana certificates. Please, use
the following commands:
> ceph config-key set
mgr/cephadm/node1/grafana_crt -i <path-to-ctr-file>
> ceph config-key set
mgr/cephadm/node1/grafana_key -i <path-to-key-file>
to set valid key and certificate or reset their
value to an empty string
in case you want cephadm to generate self-signed
Grafana certificates.
Once done, run the following command to reconfig the daemon:
> ceph orch daemon reconfig
grafana.ld6-converged03n.ld6.netskrt.org
Also, when I exit my host from maintenance, I get below… but when I
rerun same command, it works fine, why?
2.
# ceph orch host maintenance exit node2
Error EINVAL: Traceback (most recent call last):
File "/usr/share/ceph/mgr/mgr_module.py", line 1862, in _handle_command
return self.handle_command(inbuf, cmd)
File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 184,
in handle_command
return dispatch[cmd['prefix']].call(self, cmd, inbuf)
File "/usr/share/ceph/mgr/mgr_module.py", line 499, in call
return self.func(mgr, **kwargs)
File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 120,
in <lambda>
wrapper_copy = lambda *l_args, **l_kwargs: wrapper(*l_args,
**l_kwargs) # noqa: E731
File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 109, in wrapper
return func(*args, **kwargs)
File "/usr/share/ceph/mgr/orchestrator/module.py", line 805, in
_host_maintenance_exit
raise_if_exception(completion)
File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 238,
in raise_if_exception
e = pickle.loads(c.serialized_exception)
TypeError: __init__() missing 2 required positional arguments:
'hostname' and ‘addr'
Regards
Dev
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx