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

ceph-create-keys: fix existing-but-different case #10415

Merged
merged 1 commit into from Sep 15, 2016
Merged

Conversation

jcsp
Copy link
Contributor

@jcsp jcsp commented Jul 23, 2016

We just have to refrain from calling get-or-create
if the named key already exists, to avoid potentially
having an error when the default creation args don't
match the key as it has already been created, such
as on certain upgrades.

Fixes: http://tracker.ceph.com/issues/16255
Signed-off-by: John Spray john.spray@redhat.com

We just have to refrain from calling get-or-create
if the named key already exists, to avoid potentially
having an error when the default creation args don't
match the key as it has already been created, such
as on certain upgrades.

Fixes: http://tracker.ceph.com/issues/16255
Signed-off-by: John Spray <john.spray@redhat.com>
@alfredodeza
Copy link
Contributor

This looks OK to me

'ceph',

args_prefix = [
"ceph",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, s/"/'/ for consistency.

@tchaikov
Copy link
Contributor

lgtm.

@liewegas liewegas merged commit 5f4962d into ceph:master Sep 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants