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
qa: create_cache_pool no longer runs 'pool application enable' #17312
Conversation
tested in http://pulpito.ceph.com/cbodley-2017-08-28_10:17:30-rgw-master-distro-basic-mira/ and cache pool creation was successful:
|
qa/tasks/util/rados.py
Outdated
@@ -55,7 +55,7 @@ def create_cache_pool(remote, base_name, cache_name, pgnum, size, cluster_name=" | |||
]) | |||
if application: | |||
remote.run(args=[ | |||
'sudo', 'ceph', 'osd', 'pool', 'application', 'enable', name, application, '--cluster', cluster_name | |||
'sudo', 'ceph', 'osd', 'pool', 'application', 'enable', base_name, application, '--cluster', cluster_name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think it should be cache_name
, otherwise we are tagging the base pool repeatedly, for example, in rgw.py
's create_pools()
,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tchaikov thank you, fixed
test failures again at http://pulpito.ceph.com/cbodley-2017-08-28_11:41:39-rgw-master-distro-basic-mira/
it looks like you can't run this on a cache tier, so i've removed the command from |
Fixes: http://tracker.ceph.com/issues/21155 Signed-off-by: Casey Bodley <cbodley@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, seems "osd pool application *" can only be applied to base pool.
okay, got a clean run at http://pulpito.ceph.com/cbodley-2017-08-29_11:36:22-rgw-master-distro-basic-mira/ |
@tchaikov thanks, as always, for the help and review! |
Fixes: http://tracker.ceph.com/issues/21155