Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jewel: osd: New pools have bogus stuck inactive/unclean HEALTH_ERR messages until they are first active and clean #10007

Merged
2 commits merged into from Aug 4, 2016

Conversation

ghost
Copy link

@ghost ghost commented Jun 29, 2016

We were setting the other two; set this one as well.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 47f540d)
Use the value from pg_history_t that ultimately came from the
mon if last_epoch_started == 0.  This establishes a sane lower
bound on these timestamps, and prevents a mon health error from
coming up about how a PG is stuck in whatever state while it is
being created.

(We addressed half of this problem in commit 6ca6aea, but the
warning comes back as soon as the OSD reports with a creating
state.)

Fixes: http://tracker.ceph.com/issues/14952
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 3be3bc6)
@ghost ghost self-assigned this Jun 29, 2016
@ghost ghost added this to the jewel milestone Jun 29, 2016
@ghost ghost added bug-fix core labels Jun 29, 2016
ghost pushed a commit that referenced this pull request Jun 30, 2016
…/unclean HEALTH_ERR messages until they are first active and clean

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Jul 1, 2016
…/unclean HEALTH_ERR messages until they are first active and clean

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost
Copy link
Author

ghost commented Aug 4, 2016

@xiexingguo does this backport look good to merge ? It passed the rados suite http://tracker.ceph.com/issues/16344#note-13

@ghost ghost assigned xiexingguo Aug 4, 2016
@xiexingguo
Copy link
Member

Ack.

@ghost ghost merged commit 6996b76 into ceph:jewel Aug 4, 2016
@ghost ghost changed the title jewel: New pools have bogus stuck inactive/unclean HEALTH_ERR messages until they are first active and clean jewel: osd: New pools have bogus stuck inactive/unclean HEALTH_ERR messages until they are first active and clean Aug 25, 2016
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants