On Fri, Aug 2, 2013 at 4:16 AM, Sean Cao <sean_...@lecast.com.cn> wrote:

> Hi everyone****
>
> ** **
>
> Failed to create a ceph monitor with ceph-deploy on Admin node, it listed
> errors as below.****
>
> I recalled I never encountered the issues on the prior version, example
> 0.61-2.****
>
> Is it a bug in the current version?****
>
> ** **
>
> root@ubuntu1:/cluster# ceph-deploy mon create cephcluster2-0****
>
> Traceback (most recent call last):****
>
>   File "/usr/bin/ceph-deploy", line 21, in <module>****
>
>     main()****
>
>   File "/usr/lib/pymodules/python2.7/ceph_deploy/cli.py", line 112, in main
> ****
>
>     return args.func(args)****
>
>   File "/usr/lib/pymodules/python2.7/ceph_deploy/mon.py", line 234, in mon
> ****
>
>     mon_create(args)****
>
>   File "/usr/lib/pymodules/python2.7/ceph_deploy/mon.py", line 138, in
> mon_create****
>
>     init=init,****
>
>   File "/usr/lib/python2.7/dist-packages/pushy/protocol/proxy.py", line
> 255, in <lambda>****
>
>     (conn.operator(type_, self, args, kwargs))****
>
>   File "/usr/lib/python2.7/dist-packages/pushy/protocol/connection.py",
> line 66, in operator****
>
>     return self.send_request(type_, (object, args, kwargs))****
>
>   File
> "/usr/lib/python2.7/dist-packages/pushy/protocol/baseconnection.py", line
> 323, in send_request****
>
>     return self.__handle(m)****
>
>   File
> "/usr/lib/python2.7/dist-packages/pushy/protocol/baseconnection.py", line
> 639, in __handle****
>
>     raise e****
>
> pushy.protocol.proxy.ExceptionProxy: [Errno 2] No such file or directory:
> '/var/lib/ceph/mon/ceph-cephcluster2-0'****
>
> ** **
>
> root@ubuntu1:/cluster# dpkg -l|grep ceph****
>
> ii  ceph-deploy                       1.0-1
> Ceph-deploy is an easy to use configuration tool****
>
> ** **
>
> root@ubuntu1:~# tail -f /cluster/ceph.log****
>
> 2013-08-02 15:45:19,855 ceph_deploy.mon DEBUG Deploying mon, cluster ceph
> hosts cephcluster2-0****
>
> 2013-08-02 15:45:19,856 ceph_deploy.mon DEBUG Deploying mon to
> cephcluster2-0****
>
> 2013-08-02 15:45:20,887 ceph_deploy.mon DEBUG Distro Ubuntu codename
> precise, will use upstart****
>
> 2013-08-02 15:46:52,733 ceph_deploy.mon DEBUG Deploying mon, cluster ceph
> hosts cephcluster2-0****
>
> 2013-08-02 15:46:52,733 ceph_deploy.mon DEBUG Deploying mon to
> cephcluster2-0****
>
> 2013-08-02 15:46:53,655 ceph_deploy.mon DEBUG Distro Ubuntu codename
> precise, will use upstart****
>
> ** **
>
> root@cephcluster2-0:/var/lib/ceph# dpkg -l|grep ceph****
>
> ii  ceph
> 0.61.7-1precise                                     distributed storage and
> file system****
>
> ii  ceph-common                       0.61.7-1precise
>                                 common utilities to mount and interact with
> a ceph storage cluster****
>
> ii  ceph-fs-common
> 0.61.7-1precise                                     common utilities to
> mount and interact with a ceph file system****
>
> ii  ceph-mds
> 0.61.7-1precise                                     metadata server for the
> ceph distributed file system****
>
> ** **
>
> *Sean Cao*
>
> *http://www.lecast.com.cn* <http://www.lecast.com.cn/>**
>
> ** **
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>

This looks like a bug to me, I just replicated the problem.

Right now we are in the process of migrating a few of the remote tasks for
ceph-deploy into a structure that will let us know what is exactly
happening on the remote end but this is not the case yet for `mon` actions.

I've created a ticket [0] to get that done and see if we can tell better
why is it that `/var/lib/ceph/mon/{cluster-name}` is not being created.

[0] http://tracker.ceph.com/issues/5839
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to