Project

General

Profile

Actions

Bug #17821

closed

ceph-disk and dmcrypt does not support cluster names different than 'ceph'

Added by Sébastien Han over 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
jewel,kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Command:

ceph-disk -v prepare --cluster ceph --dmcrypt /dev/vdd

Error:

...
...
command_check_call: Running command: /usr/bin/ceph config-key put dm-crypt/osd/2db5b2a2-c3c2-41bd-9b56-9cd3bda07dfd/luks JwGM8VRBtW8QIGBzcWyEERVI/Ta/2VVNRTouwBZbfwdrGljXwRIzFYdoYyNtAkh9LpTzhC8lOpQ7aOKZ8QtRHLhflAi+DAqqlxN+Gnee3duT0nj9iv90pYgXV+LADzCaIsIwHfwonWW0DqxYww600EdATLIbrZ9BVqoiaSoUI3s=
2016-11-08 13:32:04.704310 7fbc2deb9700 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin: (2) No such file or directory
2016-11-08 13:32:04.710265 7fbc2deb9700 -1 monclient(hunting): authenticate NOTE: no keyring found; disabled cephx authentication
2016-11-08 13:32:04.710270 7fbc2deb9700  0 librados: client.admin authentication error (95) Operation not supported
Error connecting to cluster: Error
Traceback (most recent call last):
  File "/sbin/ceph-disk", line 9, in <module>
    load_entry_point('ceph-disk==1.0.0', 'console_scripts', 'ceph-disk')()
  File "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 5011, in run
    main(sys.argv[1:])
  File "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 4962, in main
    args.func(args)
  File "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 1791, in main
    Prepare.factory(args).prepare()
  File "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 1779, in prepare
    self.prepare_locked()
  File "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 1810, in prepare_locked
    self.lockbox.prepare()
  File "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 2377, in prepare
    self.populate()
  File "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 2322, in populate
    self.create_key()
  File "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 2281, in create_key
    base64_key,
  File "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 439, in command_check_call
    return subprocess.check_call(arguments)
  File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/ceph', 'config-key', 'put', 'dm-crypt/osd/2db5b2a2-c3c2-41bd-9b56-9cd3bda07dfd/luks', 'JwGM8VRBtW8QIGBzcWyEERVI/Ta/2VVNRTouwBZbfwdrGljXwRIzFYdoYyNtAkh9LpTzhC8lOpQ7aOKZ8QtRHLhflAi+DAqqlxN+Gnee3duT0nj9iv90pYgXV+LADzCaIsIwHfwonWW0DqxYww600EdATLIbrZ9BVqoiaSoUI3s=']' returned non-zero exit status 1


Related issues 2 (0 open2 closed)

Copied to Ceph - Backport #18972: jewel: ceph-disk does not support cluster names different than 'ceph'ResolvedNathan CutlerActions
Copied to Ceph - Backport #18973: kraken: ceph-disk does not support cluster names different than 'ceph'ResolvedShinobu KinjoActions
Actions

Also available in: Atom PDF