Re: cephadm discovery service certificate absent after upgrade.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



According to sources, the certificates are generated automatically at
startup. Hence my question if the service started correctly.

I also had problems with IPv6 only, but I don't immediately have more info
________________________________________________________

Cordialement,

*David CASIER*
________________________________________________________


Le mar. 23 janv. 2024 à 17:46, Nicolas FOURNIL <nicolas.fournil@xxxxxxxxx>
a écrit :

> IPv6 only : Yes, the -ms_bind_ipv6=true is already set-
>
> I had tried a rotation of the keys for node-exporter and I get this :
>
> 2024-01-23T16:43:56.098796+0000 mgr.srv06-r2b-fl1.foxykh (mgr.342408)
> 87074 : cephadm [INF] Rotating authentication key for
> node-exporter.srv06-r2b-fl1
> 2024-01-23T16:43:56.099224+0000 mgr.srv06-r2b-fl1.foxykh (mgr.342408)
> 87075 : cephadm [ERR] unknown daemon type node-exporter
> Traceback (most recent call last):
>   File "/usr/share/ceph/mgr/cephadm/serve.py", line 1039, in _check_daemons
>     self.mgr._daemon_action(daemon_spec, action=action)
>   File "/usr/share/ceph/mgr/cephadm/module.py", line 2203, in
> _daemon_action
>     return self._rotate_daemon_key(daemon_spec)
>   File "/usr/share/ceph/mgr/cephadm/module.py", line 2147, in
> _rotate_daemon_key
>     'entity': daemon_spec.entity_name(),
>   File "/usr/share/ceph/mgr/cephadm/services/cephadmservice.py", line 108,
> in entity_name
>     return get_auth_entity(self.daemon_type, self.daemon_id,
> host=self.host)
>   File "/usr/share/ceph/mgr/cephadm/services/cephadmservice.py", line 47,
> in get_auth_entity
>     raise OrchestratorError(f"unknown daemon type {daemon_type}")
> orchestrator._interface.OrchestratorError: unknown daemon type
> node-exporter
>
> Tried to remove & recreate service : it's the same ... how to stop the
> rotation now :-/
>
>
>
> Le mar. 23 janv. 2024 à 17:18, David C. <david.casier@xxxxxxxx> a écrit :
>
>> Is the cephadm http server service starting correctly (in the mgr logs)?
>>
>> IPv6 ?
>> ________________________________________________________
>>
>> Cordialement,
>>
>> *David CASIER*
>> ________________________________________________________
>>
>>
>>
>>
>> Le mar. 23 janv. 2024 à 16:29, Nicolas FOURNIL <nicolas.fournil@xxxxxxxxx>
>> a écrit :
>>
>>> Hello,
>>>
>>> Thanks for advice but Prometheus cert is ok, (Self signed) and tested
>>> with curl and web navigator.
>>>
>>>  it seems to be the "Service discovery" certificate from cephadm who is
>>> missing but I cannot figure out how to set it.
>>>
>>> There's in the code a function to create this certificate inside the Key
>>> store but how ... that's the point :-(
>>>
>>> Regards.
>>>
>>>
>>>
>>> Le mar. 23 janv. 2024 à 15:52, David C. <david.casier@xxxxxxxx> a
>>> écrit :
>>>
>>>> Hello Nicolas,
>>>>
>>>> I don't know if it's an update issue.
>>>>
>>>> If this is not a problem for you, you can consider redeploying
>>>> grafana/prometheus.
>>>>
>>>> It is also possible to inject your own certificates :
>>>>
>>>> https://docs.ceph.com/en/latest/cephadm/services/monitoring/#example
>>>>
>>>>
>>>> https://github.com/ceph/ceph/blob/main/src/pybind/mgr/cephadm/templates/services/prometheus/prometheus.yml.j2
>>>>
>>>> ________________________________________________________
>>>>
>>>> Cordialement,
>>>>
>>>> *David CASIER*
>>>> ________________________________________________________
>>>>
>>>>
>>>>
>>>> Le mar. 23 janv. 2024 à 10:56, Nicolas FOURNIL <
>>>> nicolas.fournil@xxxxxxxxx> a écrit :
>>>>
>>>>>  Hello,
>>>>>
>>>>> I've just fresh upgrade from Quincy to Reef and my graphs are now
>>>>> blank...
>>>>> after investigations, it seems that discovery service is not working
>>>>> because of no certificate :
>>>>>
>>>>> # ceph orch sd dump cert
>>>>> Error EINVAL: No certificate found for service discovery
>>>>>
>>>>> Maybe an upgrade issue ?
>>>>>
>>>>> Is there a way to generate or replace the certificate properly ?
>>>>>
>>>>> Regards
>>>>>
>>>>> Nicolas F.
>>>>> _______________________________________________
>>>>> 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




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux