If you are using 'master' build there is an issue
workaround 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-initial
2) or use jewel build which is stable and if you dont need latest master
ceph-deploy install --stable=jewel node1 node2
On Tue, Nov 29, 2016 at 11:45 AM, Oleg Kolosov <[email protected]> wrote:
> Hi
> I'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-initial
>
> I'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
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com