-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello,
I'm trying to create a 4-node Ceph Storage Cluster using ceph-deploy, following the official guide: http://docs.ceph.com/docs/master/start/quick-ceph-deploy/ I'm using debian wheezy 7 (x86_64) on all nodes and on each node, `uname -a` produces: "Linux nodeX 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux". I'm having trouble getting ceph-deploy to run. The ceph.log reads: [ceph_deploy.conf][DEBUG ] found configuration file at: /home/ceph/.cephdeploy.conf [ceph_deploy.cli][INFO ] Invoked (1.5.22): /usr/bin/ceph-deploy install node0 node1 node2 node3 [ceph_deploy.install][DEBUG ] Installing stable version giant on cluster ceph hosts node0 node1 node2 node3 [ceph_deploy.install][DEBUG ] Detecting platform for host node0 ... [node0][DEBUG ] connection detected need for sudo [node0][DEBUG ] connected to host: node0 [node0][DEBUG ] detect platform information from remote host [node0][DEBUG ] detect machine type [ceph_deploy.install][INFO ] Distro info: debian 7.8 wheezy [node0][INFO ] installing ceph on node0 [node0][INFO ] Running command: sudo env DEBIAN_FRONTEND=noninteractive apt-get -q install --assume-yes ca-certificates [node0][DEBUG ] Reading package lists... [node0][DEBUG ] Building dependency tree... [node0][DEBUG ] Reading state information... [node0][DEBUG ] ca-certificates is already the newest version. [node0][DEBUG ] 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. [node0][INFO ] Running command: sudo wget -O release.asc https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc [node0][WARNING] --2015-03-27 13:24:50-- https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc [node0][WARNING] Resolving ceph.com (ceph.com)... 208.113.241.137, 2607:f298:4:147::b05:fe2a [node0][WARNING] Connecting to ceph.com (ceph.com)|208.113.241.137|:443... connected. [node0][WARNING] ERROR: The certificate of `ceph.com' is not trusted. [node0][WARNING] ERROR: The certificate of `ceph.com' hasn't got a known issuer. [node0][WARNING] command returned non-zero exit status: 5 [node0][INFO ] Running command: sudo apt-key add release.asc [node0][WARNING] gpg: no valid OpenPGP data found. [node0][ERROR ] RuntimeError: command returned non-zero exit status: 2 [ceph_deploy][ERROR ] RuntimeError: Failed to execute command: apt-key add release.asc So the problem lies with 'wget'. According to this thread ( http://www.linuxquestions.org/questions/debian-26/wget-certificate-error-4175495817/ ), there is a difference between the ubuntu and the debian versions of 'wget', they seem to be compiled and linked against different libraries. So on Debian the problem occurs, while on Ubuntu it does not. ( I did try to run `wget -O release.asc https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc` on Ubuntu 14.04 and it did finish successfully, while it fails on Debian ). So, my question is, what is the proper way of dealing with this error? As a workaround, I managed to get it to work (again, according to the same thread linked before): 1) visit 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=key /release.asc' using a browser, and export the certificate as ceph.pem 2) on every node run `# apt-get install openssl ca-certificates` 3) copy (scp) ceph.pem to /usr/share/ca-certificates/ceph.pem on every node 4) on every node run `# echo "ceph.pem" >> /etc/ca-certificates.pem` 5) on every node run `# update-ca-certificates` After these, I was able to run `wget -O release.asc https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc` on every node, successfully. Additionally, ceph-deploy seems to work fine now. Thank you, Vasilis -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVFUj0AAoJENYedgpVEk4LRCMP/jNIKUwnexk6RQtQT71zPIub WRxuHotl0QA3//DoOGYtXYfDJDAqKchwwGPmHxPCZCk1WA++B3ksGrHaszLx8kbd eqOip4+6URctolOVE3YaruwJVSghp9cWlMNySejw2cLioJaz7N4tdLQhXacj8R5j FR8ZD0p6OoKk7LgEGMJ6Qdal3GgQrEbdCQj0Zn8bHWYbURM1Yp1cnE4Ak2a8emGk K+5nmA+MyMhJiystIC1p7d6eEge0IrHtToOmhfsJXuf6swGDX3bywmOthfctnVP9 sOQVYAc+yD++texujZ3ue8Sodl9QbaiLieRRDwiB/8wi7thTh2ibSoDRoSHlSIpf +RXRorpW7auOMoBAtnYReVWXT/MfK5B6+Tad0XmlxCDkscBImgfPPRkUtFa06xpW YKpSULtZMGAc9Cs3K9+e1wN9IIQ8mQ386m7WLjQWEvyHPVyI4rHdV1wvn0dYMhlk 7ndOCwZf6ZMrfjiCVdEY2Ygs+s+4zRCfEws72y3x3+JYtqMPUCtQ/LyzYem0HiJE YfiDNxDJzgOrR2WmwqIss3RlseIv+h91wUrEvGpBty3uYm7LEExGeNkCykanxf7l 1SiNKxrV0F/PTfkE1vaUJbCXgAPtEhIDn71A5O/VK8SLp9E9DKuNQBNLQ6BYob+b KY6zhoGEEj6LDabYIjEK =E/Gz -----END PGP SIGNATURE----- _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com