Project

General

Profile

Feature #9323

osdmonitor: allow users to set/clear cluster state flags (CEPH_OSDMAP_FULL)

Added by Greg Farnum almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Monitor
Target version:
Start date:
09/02/2014
Due date:
% Done:

0%

Source:
Support
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

While investigating a cluster that was failing to remove the OSDMap's full flag, we wished we had a command that would just do it. Normally if a user does this erroneously it will be re-set on the next OSDMonitor::tick() (default: 1 second intervals), but in this case the flag should have been cleared so if we could have manually done so, it would have avoided a few monitor restarts.

Associated revisions

Revision a8f85dcc (diff)
Added by Sage Weil over 4 years ago

mon: allow full flag to be manually cleared

This is like a temporary measure as the mon will try to set them again,
but we have run into cases where the mon was misbehaving (failing to clear
the flag) and we wanted to do it. Note that the mon will likely set it
again on the next tick() anyway.

If we're going to clear it, we may as well be able to set it, too (again,
even if the mon is going to clear it soon). If nothing else this is useful
for writing tests.

Fixes: #9323
Signed-off-by: Sage Weil <>

History

#1 Updated by Joao Eduardo Luis almost 5 years ago

  • Target version set to 0.89

#2 Updated by Samuel Just almost 5 years ago

  • Target version changed from 0.89 to v.91

#3 Updated by Samuel Just over 4 years ago

  • Target version changed from v.91 to v.actually90

#4 Updated by Samuel Just over 4 years ago

  • Target version changed from v.actually90 to v.actually91

#5 Updated by Sage Weil over 4 years ago

  • Status changed from New to Need Review

#6 Updated by Joao Eduardo Luis over 4 years ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF