Hi
Thank you for your answer. Unfortunately both workarounds didn't solve the issue:
1) Pusing admin key onto mon:
ubuntu@ip-172-31-38-183:~/my-cluster$ ceph-deploy --username ubuntu admin mon1
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/ubuntu/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.36): /usr/local/bin/ceph-deploy --username ubuntu admin mon1
[ceph_deploy.cli][INFO ] ceph-deploy options:
[ceph_deploy.cli][INFO ] username : ubuntu
[ceph_deploy.cli][INFO ] verbose : False
[ceph_deploy.cli][INFO ] overwrite_conf : False
[ceph_deploy.cli][INFO ] quiet : False
[ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x7f56a6bbddd0>
[ceph_deploy.cli][INFO ] cluster : ceph
[ceph_deploy.cli][INFO ] client : ['mon1']
[ceph_deploy.cli][INFO ] func : <function admin at 0x7f56a74d5de8>
[ceph_deploy.cli][INFO ] ceph_conf : None
[ceph_deploy.cli][INFO ] default_release : False
[ceph_deploy][ERROR ] RuntimeError: ceph.client.admin.keyring not found
2) Use jewel build on a fresh instance - same issue occurred
sudo /usr/bin/ceph --connect-timeout=25 --cluster=ceph --name mon. --keyring=/var/lib/ceph/mon/ceph-mon1/keyring auth get client.admin
2016-12-02 12:18:46.890561 7f2b50d27700 1 librados: starting msgr at :/0
2016-12-02 12:18:46.890704 7f2b50d27700 1 librados: starting objecter
2016-12-02 12:18:46.890856 7f2b50d27700 1 librados: setting wanted keys
2016-12-02 12:18:46.890909 7f2b50d27700 1 librados: calling monclient init
Traceback (most recent call last):
File "/usr/bin/ceph", line 948, in <module>
retval = main()
File "/usr/bin/ceph", line 852, in main
prefix='get_command_descriptions')
File "/usr/lib/python2.7/dist-packages/ceph_argparse.py", line 1300, in json_command
raise RuntimeError('"{0}": exception {1}'.format(argdict, e))
RuntimeError: "None": exception "['{"prefix": "get_command_descriptions"}']": exception You cannot perform that operation on a Rados object in state configuring.
Thanks,
Oleg
On Tue, Nov 29, 2016 at 10:05 PM, Vasu Kulkarni <vakulkar@xxxxxxxxxx> wrote:
ceph-deploy install --stable=jewel node1 node22) or use jewel build which is stable and if you dont need latest masterIf you are using 'master' build there is an issueworkaround 1)before mon create-initial just run 'ceph-deploy admin mon-node' to push the admin key on mon nodes and then rerun mon create-initialOn Tue, Nov 29, 2016 at 11:45 AM, Oleg Kolosov <olekol@xxxxxxxxx> wrote:______________________________HiI've recently started working with ceph for a university project I have.I'm working on Amazon EC2 servers.I've used 4 instances: one is admin/mon + 3 OSDs.Right from the start I've encountered a problem. When running the following command:ceph-deploy --username ubuntu mon create-initialI've got the following errors:[mon1][INFO ] Running command: sudo /usr/bin/ceph --connect-timeout=25 --cluster=ceph --admin-daemon=/var/run/ceph/ceph-mon.mon1.asok mon_status [mon1][INFO ] Running command: sudo /usr/bin/ceph --connect-timeout=25 --cluster=ceph --name mon. --keyring=/var/lib/ceph/mon/ceph-mon1/keyring auth get client.admi [mon1][ERROR ] "ceph auth get-or-create for keytype admin returned 1[mon1][DEBUG ] Traceback (most recent call last):[mon1][DEBUG ] File "/usr/bin/ceph", line 948, in <module>[mon1][DEBUG ] retval = main()[mon1][DEBUG ] File "/usr/bin/ceph", line 852, in main[mon1][DEBUG ] prefix='get_command_descriptions') [mon1][DEBUG ] File "/usr/lib/python2.7/dist-packages/ceph_argparse.py", line 1300, in json_command [mon1][DEBUG ] raise RuntimeError('"{0}": exception {1}'.format(argdict, e))[mon1][DEBUG ] RuntimeError: "None": exception "['{"prefix": "get_command_descriptions"}']": exception You cannot perform that operation on a Rados object in state configuring. I've also tried to use "ceph-deploy install", but got the same error when did "gatherkeys".I'd appreciate your help.Thanks,Oleg_________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com