I removed my old OSDs from nodes 2 and 3 since they threw a bunch of errors,  
did a purgedata on nodes 1-3 and updated my ceph-deploy to 1.3. After creating 
/tmp/osd0 and /tmp/osd1 on nodes 2 and 3, now I am issuing a command to prepare 
the OSDs and I get the following error: 

[ceph@ceph-admin-node-centos-6-4 mycluster]$ ceph-deploy osd prepare 
ceph-node2-osd0-centos-6-4:/tmp/osd0 ceph-node3-osd1-centos-6-4:/tmp/osd1
[ceph_deploy.cli][INFO  ] Invoked (1.3): /usr/bin/ceph-deploy osd prepare 
ceph-node2-osd0-centos-6-4:/tmp/osd0 ceph-node3-osd1-centos-6-4:/tmp/osd1
[ceph_deploy.osd][DEBUG ] Preparing cluster ceph disks 
ceph-node2-osd0-centos-6-4:/tmp/osd0: ceph-node3-osd1-centos-6-4:/tmp/osd1:
[ceph-node2-osd0-centos-6-4][DEBUG ] connected to host: 
ceph-node2-osd0-centos-6-4
[ceph-node2-osd0-centos-6-4][DEBUG ] detect platform information from remote 
host
[ceph-node2-osd0-centos-6-4][DEBUG ] detect machine type
[ceph_deploy.osd][INFO  ] Distro info: CentOS 6.4 Final
[ceph_deploy.osd][DEBUG ] Deploying osd to ceph-node2-osd0-centos-6-4
[ceph-node2-osd0-centos-6-4][DEBUG ] write cluster configuration to 
/etc/ceph/{cluster}.conf
[ceph-node2-osd0-centos-6-4][WARNIN] osd keyring does not exist yet, creating 
one
[ceph-node2-osd0-centos-6-4][DEBUG ] create a keyring file
[ceph_deploy.osd][ERROR ] OSError: [Errno 2] No such file or directory
[ceph-node3-osd1-centos-6-4][DEBUG ] connected to host: 
ceph-node3-osd1-centos-6-4
[ceph-node3-osd1-centos-6-4][DEBUG ] detect platform information from remote 
host
[ceph-node3-osd1-centos-6-4][DEBUG ] detect machine type
[ceph_deploy.osd][INFO  ] Distro info: CentOS 6.4 Final
[ceph_deploy.osd][DEBUG ] Deploying osd to ceph-node3-osd1-centos-6-4
[ceph-node3-osd1-centos-6-4][DEBUG ] write cluster configuration to 
/etc/ceph/{cluster}.conf
[ceph-node3-osd1-centos-6-4][WARNIN] osd keyring does not exist yet, creating 
one
[ceph-node3-osd1-centos-6-4][DEBUG ] create a keyring file
[ceph_deploy.osd][ERROR ] OSError: [Errno 2] No such file or directory
[ceph_deploy][ERROR ] GenericError: Failed to create 2 OSDs

Does anyone why? Seems I am going backward. 

Output from nodes 2 and node3: 

[ceph@ceph-node2-osd0-centos-6-4 tmp]$ ls -al /tmp/osd0
total 8
drwxr-xr-x.  2 root root 4096 Nov  1 13:06 .
drwxrwxrwt. 12 root root 4096 Nov  1 13:07 ..

[ceph@ceph-node3-osd1-centos-6-4 tmp]$ ls -al /tmp/osd1
total 8
drwxr-xr-x.  2 root root 4096 Nov  1 13:06 .
drwxrwxrwt. 11 root root 4096 Nov  1 13:07 ..


-----Original Message-----
From: ceph-users-boun...@lists.ceph.com 
[mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of Alfredo Deza
Sent: Friday, November 01, 2013 7:54 AM
To: ceph-users@lists.ceph.com; ceph-devel
Subject: [ceph-users] [ANN] ceph-deploy 1.3 released!

Hi all,

A new version (1.3) of ceph-deploy is now out, a lot of fixes went into this 
release including the addition of a more robust library to connect to remote 
hosts and it removed the one extra dependency we used. Installation should be 
simpler.

The complete changelog can be found at:

https://github.com/ceph/ceph-deploy/blob/master/docs/source/changelog.rst


The highlights for this release are:


* We now allow to use `--username` to connect on remote hosts, specifying 
something different than the current user or the SSH config.

* Global timeouts for remote commands to be able to disconnect if there is no 
input received (defaults to 5 minutes), but still allowing other more granular 
timeouts for some commands that need to just run a simple command without 
output expectation.


Please make sure you update (install instructions:
http://github.com/ceph/ceph-deploy/#installation) and use the latest version!


Thanks,


Alfredo
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

This message contains information which may be confidential and/or privileged. 
Unless you are the intended recipient (or authorized to receive for the 
intended recipient), you may not read, use, copy or disclose to anyone the 
message or any information contained in the message. If you have received the 
message in error, please advise the sender by reply e-mail and delete the 
message and any attachment(s) thereto without retaining any copies.
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to