https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2019-03-26T17:18:21ZCeph mgr - Bug #38942: HEALTH_OK is reported with no managers (or OSDs) in the clusterhttps://tracker.ceph.com/issues/38942?journal_id=1327992019-03-26T17:18:21ZAlfredo Dezaadeza@redhat.com
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/132799/diff?detail_id=132749">diff</a>)</li></ul> mgr - Bug #38942: HEALTH_OK is reported with no managers (or OSDs) in the clusterhttps://tracker.ceph.com/issues/38942?journal_id=1336122019-04-04T20:49:37ZGreg Farnumgfarnum@redhat.com
<ul><li><strong>Project</strong> changed from <i>RADOS</i> to <i>mgr</i></li><li><strong>Subject</strong> changed from <i>HEALTH_OK is reported with no managers or OSDs in the cluster</i> to <i>HEALTH_OK is reported with no managers (or OSDs) in the cluster</i></li></ul><p>The MgrMonitor has some code from <a class="external" href="https://github.com/ceph/ceph/commit/b9cdb9fa7bef1bb4b93712293fddac3f1c52b26e">https://github.com/ceph/ceph/commit/b9cdb9fa7bef1bb4b93712293fddac3f1c52b26e</a> that deliberately keeps HEALTH_OK on new monitors without a manager. Seems like it now defaults to 2 minutes, presumably so that you don't get HEALTH_WARN as soon as you turn on a cluster.<br />Not sure if you want some kind of option to change that behavior further, or if it was a mistaken attempt to stay user-friendly that isn't working, or something else.</p> mgr - Bug #38942: HEALTH_OK is reported with no managers (or OSDs) in the clusterhttps://tracker.ceph.com/issues/38942?journal_id=1336222019-04-04T21:09:39ZAlfredo Dezaadeza@redhat.com
<ul></ul><p>I don't see a problem with getting HEALTH_WARN as soon as a cluster is deployed (vs. reporting HEALTH_OK blindly while it waits).</p>
<p>The issue is also extended to no OSDs present in the cluster, which has to be an error state.</p>
<p>ceph-medic is now adding a check so this isn't treated as a false positive: <a class="external" href="https://github.com/ceph/ceph-medic/issues/94">https://github.com/ceph/ceph-medic/issues/94</a></p>
<p>But the underlying thing here is that Ceph shouldn't report HEALTH_OK in this case.</p> mgr - Bug #38942: HEALTH_OK is reported with no managers (or OSDs) in the clusterhttps://tracker.ceph.com/issues/38942?journal_id=1336322019-04-04T22:43:13ZKen Dreyerkdreyer@redhat.com
<ul></ul><p>I think it would be good to report HEALTH_WARN immediately when there are no mgrs or OSDs present instead of waiting.</p> mgr - Bug #38942: HEALTH_OK is reported with no managers (or OSDs) in the clusterhttps://tracker.ceph.com/issues/38942?journal_id=1359092019-05-02T14:43:42ZSebastian Wagner
<ul></ul><p>We need to support clsters without OSDs, as this will be the entry point for new clusters that are going to be deployed with the orchestrators. Basically starting from a minimal MON+MGR cluster.</p>
<p>AFAIK some teuthology tests don't require any MGRs, right?</p> mgr - Bug #38942: HEALTH_OK is reported with no managers (or OSDs) in the clusterhttps://tracker.ceph.com/issues/38942?journal_id=1576172020-01-31T19:23:03ZNeha Ojhanojha@redhat.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fix Under Review</i></li><li><strong>Assignee</strong> set to <i>Neha Ojha</i></li><li><strong>Pull request ID</strong> set to <i>33025</i></li></ul><p>No OSDs initially should not be a warning, but OSDs with no mgr, can be a warning.</p> mgr - Bug #38942: HEALTH_OK is reported with no managers (or OSDs) in the clusterhttps://tracker.ceph.com/issues/38942?journal_id=1576182020-01-31T19:38:43ZNeha Ojhanojha@redhat.com
<ul><li><strong>Backport</strong> set to <i>nautilus</i></li></ul> mgr - Bug #38942: HEALTH_OK is reported with no managers (or OSDs) in the clusterhttps://tracker.ceph.com/issues/38942?journal_id=1576242020-01-31T22:47:10ZNeha Ojhanojha@redhat.com
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-1 priority-4 priority-default" href="/issues/39302">Feature #39302</a>: `ceph df` reports misleading information when no ceph-mgr running</i> added</li></ul> mgr - Bug #38942: HEALTH_OK is reported with no managers (or OSDs) in the clusterhttps://tracker.ceph.com/issues/38942?journal_id=1577722020-02-05T12:36:29ZKefu Chaitchaikov@gmail.com
<ul><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>Pending Backport</i></li></ul> mgr - Bug #38942: HEALTH_OK is reported with no managers (or OSDs) in the clusterhttps://tracker.ceph.com/issues/38942?journal_id=1578632020-02-05T19:50:23ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-3 priority-4 priority-default closed" href="/issues/44000">Backport #44000</a>: nautilus: HEALTH_OK is reported with no managers (or OSDs) in the cluster</i> added</li></ul> mgr - Bug #38942: HEALTH_OK is reported with no managers (or OSDs) in the clusterhttps://tracker.ceph.com/issues/38942?journal_id=1587802020-02-14T09:32:40ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Status</strong> changed from <i>Pending Backport</i> to <i>Resolved</i></li></ul><p>While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".</p>