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

tests: backport 11493 fixes, and test, preventing ec cache pools #4961

Merged
merged 3 commits into from Jun 15, 2015

Conversation

Projects
None yet
3 participants
@liewegas
Member

liewegas commented Jun 15, 2015

http://tracker.ceph.com/issues/12314

This is needed for hammer-x, so that the hammer rados tests don't trigger
the new checks in post-hammer. Also, it's worth backporting on its own
right.

athanatos and others added some commits May 8, 2015

test/librados/tier.cc: destroy and recreate cache pool on every test
Namespaces are not sufficient with the checks for 11493 in the mon.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit bef09e0)
mon: prevent pool with snapshot state from being used as a tier
If we add a pool with snap state as a tier the snap state gets clobbered
by OSDMap::Incremental::propogate_snaps_to_tiers(), and may prevent OSDs
from starting.  Disallow this.

Include a test.

Fixes: #11493
Backport: hammer, giant, firefly
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit bbec53e)
OSDMonitor: disallow ec pools as tiers
Fixes: 11650
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 11b7801)

@liewegas liewegas added this to the hammer milestone Jun 15, 2015

liewegas added a commit that referenced this pull request Jun 15, 2015

Merge pull request #4961 from ceph/wip-11493-hammer
backport 11493 fixes, and test, prevetning ec cache pools

Reviewed-by: Samuel Just <sjust@redhat.com>

@liewegas liewegas merged commit d2b8096 into hammer Jun 15, 2015

@liewegas liewegas deleted the wip-11493-hammer branch Jun 15, 2015

@ghost ghost changed the title from backport 11493 fixes, and test, prevetning ec cache pools to tests: backport 11493 fixes, and test, preventing ec cache pools Aug 4, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment