https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2020-06-29T12:23:27ZCeph Orchestrator - Bug #46103: Restart service command restarts all the services and accepts service type toohttps://tracker.ceph.com/issues/46103?journal_id=1692482020-06-29T12:23:27ZSebastian Wagner
<ul></ul><p>I think this is actually the correct behavior!</p> Orchestrator - Bug #46103: Restart service command restarts all the services and accepts service type toohttps://tracker.ceph.com/issues/46103?journal_id=1692572020-06-29T15:50:47ZVarsha Rao
<ul></ul><p>Sebastian Wagner wrote:</p>
<blockquote>
<p>I think this is actually the correct behavior!</p>
</blockquote>
<p>How is it the correct behaviour? If it is then why do we have to specify service name?</p> Orchestrator - Bug #46103: Restart service command restarts all the services and accepts service type toohttps://tracker.ceph.com/issues/46103?journal_id=1713432020-07-22T10:52:20ZSebastian Wagner
<ul></ul><p>REFRESHED doesn't mean the daemon was restarted. Just that the status was refreshed</p> Orchestrator - Bug #46103: Restart service command restarts all the services and accepts service type toohttps://tracker.ceph.com/issues/46103?journal_id=1713442020-07-22T10:52:28ZSebastian Wagner
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Need More Info</i></li></ul> Orchestrator - Bug #46103: Restart service command restarts all the services and accepts service type toohttps://tracker.ceph.com/issues/46103?journal_id=1714042020-07-22T13:07:24ZVarsha Rao
<ul></ul><p>Sebastian Wagner wrote:</p>
<blockquote>
<p>REFRESHED doesn't mean the daemon was restarted. Just that the status was refreshed</p>
</blockquote>
<p>It would be good to mention about it in the doc. Again why are we refreshing status of all the daemons instead of specified service?</p> Orchestrator - Bug #46103: Restart service command restarts all the services and accepts service type toohttps://tracker.ceph.com/issues/46103?journal_id=1718452020-07-29T11:10:37ZVarsha Rao
<ul></ul><p>Another confusing aspect is it accepts both service type and service name. Is this also intended?<br /><pre>
[root@varsha build]# ./bin/ceph orch ps
NAME HOST STATUS REFRESHED AGE VERSION IMAGE NAME IMAGE ID CONTAINER ID
crash.varsha varsha running (2m) 108s ago 2m 16.0.0-3888-g4ba83be982 docker.io/ceph/daemon-base@sha256:f66e162c556668e222aeaa0a99dc1fc409f768bdcf79dc64d1cd4f2217cee902 8c4dd342d02e b4b47d25ee42
mds.a.varsha.oqgvks varsha unknown 108s ago 113s <unknown> docker.io/ceph/daemon-base@sha256:f66e162c556668e222aeaa0a99dc1fc409f768bdcf79dc64d1cd4f2217cee902 <unknown> <unknown>
nfs.ganesha-vstart.varsha varsha running (109s) 108s ago 110s 3.3 docker.io/ceph/daemon-base@sha256:f66e162c556668e222aeaa0a99dc1fc409f768bdcf79dc64d1cd4f2217cee902 8c4dd342d02e d60391dab881
[root@varsha build]# ./bin/ceph orch restart nfs
restart nfs.ganesha-vstart.varsha from host 'varsha'
[root@varsha build]# ./bin/ceph orch restart nfs.ganesha-vstart
restart nfs.ganesha-vstart.varsha from host 'varsha'
[root@varsha build]# ./bin/ceph orch ps
NAME HOST STATUS REFRESHED AGE VERSION IMAGE NAME IMAGE ID CONTAINER ID
crash.varsha varsha running (3m) 39s ago 3m 16.0.0-3888-g4ba83be982 docker.io/ceph/daemon-base@sha256:f66e162c556668e222aeaa0a99dc1fc409f768bdcf79dc64d1cd4f2217cee902 8c4dd342d02e b4b47d25ee42
mds.a.varsha.oqgvks varsha error 39s ago 2m <unknown> docker.io/ceph/daemon-base@sha256:f66e162c556668e222aeaa0a99dc1fc409f768bdcf79dc64d1cd4f2217cee902 <unknown> <unknown>
nfs.ganesha-vstart.varsha varsha running (2m) 39s ago 2m 3.3 docker.io/ceph/daemon-base@sha256:f66e162c556668e222aeaa0a99dc1fc409f768bdcf79dc64d1cd4f2217cee902 8c4dd342d02e d60391dab881
</pre></p>
<p>It would be nice to clarify that service_name means service_type+service_id</p> Orchestrator - Bug #46103: Restart service command restarts all the services and accepts service type toohttps://tracker.ceph.com/issues/46103?journal_id=1718462020-07-29T11:12:44ZVarsha Rao
<ul><li><strong>Subject</strong> changed from <i>Restart service command restarts all the services</i> to <i>Restart service command restarts all the services and accepts service type too</i></li><li><strong>Status</strong> changed from <i>Need More Info</i> to <i>New</i></li></ul> Orchestrator - Bug #46103: Restart service command restarts all the services and accepts service type toohttps://tracker.ceph.com/issues/46103?journal_id=1718532020-07-29T11:38:51ZVarsha Rao
<ul></ul><p>Actually the restart command fails.<br /><pre>
[root@varsha build]# ./bin/ceph orch restart nfs.ganesha-vstart
restart nfs.ganesha-vstart.varsha from host 'varsha'
</pre></p>
<p>mgr log<br /><pre>
2020-07-29T17:03:09.824+0530 7ff571895700 0 log_channel(cephadm) log [INF] : Restart service nfs.ganesha-vstart
2020-07-29T17:03:09.824+0530 7ff56e08e700 0 [cephadm ERROR root] host address is empty
Traceback (most recent call last):
File "/home/varsha/ceph/src/pybind/mgr/cephadm/module.py", line 1014, in _remote_connection
raise OrchestratorError("host address is empty")
orchestrator._interface.OrchestratorError: host address is empty
2020-07-29T17:03:09.825+0530 7ff56e08e700 20 log_channel(cephadm) update_config log_to_monitors {default=true} log_to_syslog {default=false} log_channels {audit=local0,default=daemon} log_prios {default=info}
2020-07-29T17:03:09.825+0530 7ff56e08e700 10 log_channel(cephadm) update_config to_monitors: true to_syslog: false syslog_facility: daemon prio: info to_graylog: false graylog_host: 127.0.0.1 graylog_port: 12201)
2020-07-29T17:03:09.825+0530 7ff56e08e700 -1 log_channel(cephadm) log [ERR] : host address is empty
Traceback (most recent call last):
File "/home/varsha/ceph/src/pybind/mgr/cephadm/module.py", line 1014, in _remote_connection
raise OrchestratorError("host address is empty")
orchestrator._interface.OrchestratorError: host address is empty
2020-07-29T17:03:09.825+0530 7ff56e08e700 0 [cephadm ERROR root] `varsha: cephadm unit nfs.ganesha-vstart.varsha reset-failed` failed
Traceback (most recent call last):
File "/home/varsha/ceph/src/pybind/mgr/cephadm/module.py", line 1573, in _daemon_action
out, err, code = self._run_cephadm(
File "/home/varsha/ceph/src/pybind/mgr/cephadm/module.py", line 1060, in _run_cephadm
with self._remote_connection(host, addr) as tpl:
File "/usr/lib64/python3.8/contextlib.py", line 113, in __enter__
return next(self.gen)
File "/home/varsha/ceph/src/pybind/mgr/cephadm/module.py", line 1014, in _remote_connection
raise OrchestratorError("host address is empty")
orchestrator._interface.OrchestratorError: host address is empty
</pre></p> Orchestrator - Bug #46103: Restart service command restarts all the services and accepts service type toohttps://tracker.ceph.com/issues/46103?journal_id=1718652020-07-29T12:04:06ZSebastian Wagner
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/171865/diff?detail_id=177162">diff</a>)</li></ul> Orchestrator - Bug #46103: Restart service command restarts all the services and accepts service type toohttps://tracker.ceph.com/issues/46103?journal_id=1718662020-07-29T12:05:28ZSebastian Wagner
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-3 priority-4 priority-default closed" href="/issues/46740">Bug #46740</a>: mgr/cephadm: restart of daemon reports host is empty</i> added</li></ul> Orchestrator - Bug #46103: Restart service command restarts all the services and accepts service type toohttps://tracker.ceph.com/issues/46103?journal_id=1718682020-07-29T12:05:35ZSebastian Wagner
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Duplicate</i></li></ul>