this happens on precise as well.
ubuntu@mira074:~/ceph-dep/ceph-deploy$ ./ceph-deploy install --stable=dumpling mira074
[ceph_deploy.cli][INFO ] Invoked (1.2.7): ./ceph-deploy install --stable=dumpling mira074
[ceph_deploy.install][DEBUG ] Installing stable version dumpling on cluster ceph hosts mira074
[ceph_deploy.install][DEBUG ] Detecting platform for host mira074 ...
[mira074][DEBUG ] connected to host: mira074
[mira074][DEBUG ] detect platform information from remote host
[mira074][DEBUG ] detect machine type
[ceph_deploy.install][INFO ] Distro info: Ubuntu 12.04 precise
[mira074][INFO ] installing ceph on mira074
[mira074][INFO ] Running command: sudo env DEBIAN_FRONTEND=noninteractive apt-get -q install --assume-yes ca-certificates
[mira074][DEBUG ] Reading package lists...
[mira074][DEBUG ] Building dependency tree...
[mira074][DEBUG ] Reading state information...
[mira074][DEBUG ] ca-certificates is already the newest version.
[mira074][DEBUG ] 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
[mira074][INFO ] Running command: sudo wget -q -O- 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc' | apt-key add -
[mira074][DEBUG ] add ceph deb repo to sources.list
[mira074][INFO ] Running command: sudo apt-get -q update
[mira074][ERROR ] W: GPG error: http://ceph.com precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EBFDD5D17ED316D
[mira074][DEBUG ] Hit http://apt-mirror.front.sepia.ceph.com precise Release.gpg
[mira074][DEBUG ] Hit http://gitbuilder.ceph.com precise Release.gpg
[mira074][DEBUG ] Hit http://gitbuilder.ceph.com precise Release.gpg
[mira074][DEBUG ] Get:1 http://apt-mirror.front.sepia.ceph.com precise-updates Release.gpg [198 B]
[mira074][DEBUG ] Get:2 http://apt-mirror.front.sepia.ceph.com precise-backports Release.gpg [198 B]
[mira074][DEBUG ] Get:3 http://apt-mirror.front.sepia.ceph.com precise-security Release.gpg [198 B]
[mira074][DEBUG ] Get:4 http://ceph.com precise Release.gpg [836 B]
[mira074][DEBUG ] Hit http://apt-mirror.front.sepia.ceph.com precise Release
[mira074][DEBUG ] Hit http://gitbuilder.ceph.com precise Release
[mira074][DEBUG ] Get:5 http://apt-mirror.front.sepia.ceph.com precise-updates Release [49.6 kB]
[mira074][DEBUG ] Get:6 http://apt-mirror.front.sepia.ceph.com precise-backports Release [49.6 kB]
[mira074][DEBUG ] Get:7 http://ceph.com precise Release [5991 B]
[mira074][DEBUG ] Hit http://gitbuilder.ceph.com precise Release
[mira074][DEBUG ] Get:8 http://apt-mirror.front.sepia.ceph.com precise-security Release [49.6 kB]
[mira074][DEBUG ] Hit http://apt-mirror.front.sepia.ceph.com precise/main Sources
[mira074][DEBUG ] Hit http://apt-mirror.front.sepia.ceph.com precise/restricted Sources
[mira074][DEBUG ] Hit http://apt-mirror.front.sepia.ceph.com precise/universe Sources
[mira074][DEBUG ] Hit http://apt-mirror.front.sepia.ceph.com precise/multiverse Sources
[mira074][DEBUG ] Hit http://apt-mirror.front.sepia.ceph.com precise/main amd64 Packages
[mira074][DEBUG ] Hit http://apt-mirror.front.sepia.ceph.com precise/restricted amd64 Packages
[mira074][DEBUG ] Hit http://apt-mirror.front.sepia.ceph.com precise/universe amd64 Packages
[mira074][DEBUG ] Hit http://apt-mirror.front.sepia.ceph.com precise/multiverse amd64 Packages
[mira074][DEBUG ] Hit http://apt-mirror.front.sepia.ceph.com precise/main i386 Packages
[mira074][DEBUG ] Hit http://apt-mirror.front.sepia.ceph.com precise/restricted i386 Packages
[mira074][DEBUG ] Hit http://apt-mirror.front.sepia.ceph.com precise/universe i386 Packages
[mira074][DEBUG ] Hit http://apt-mirror.front.sepia.ceph.com precise/multiverse i386 Packages
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise/main TranslationIndex
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise/multiverse TranslationIndex
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise/restricted TranslationIndex
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise/universe TranslationIndex
[mira074][DEBUG ] Hit http://gitbuilder.ceph.com precise/main amd64 Packages
[mira074][DEBUG ] Hit http://gitbuilder.ceph.com precise/main i386 Packages
[mira074][DEBUG ] Ign http://gitbuilder.ceph.com precise/main TranslationIndex
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise/main Translation-en
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise/multiverse Translation-en
[mira074][DEBUG ] Ign http://gitbuilder.ceph.com precise/main Translation-en
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise/restricted Translation-en
[mira074][DEBUG ] Get:9 http://apt-mirror.front.sepia.ceph.com precise-updates/main Sources [422 kB]
[mira074][DEBUG ] Ign http://ceph.com precise Release
[mira074][DEBUG ] Get:10 http://ceph.com precise/main amd64 Packages [7049 B]
[mira074][DEBUG ] Get:11 http://ceph.com precise/main i386 Packages [6312 B]
[mira074][DEBUG ] Hit http://gitbuilder.ceph.com precise/main amd64 Packages
[mira074][DEBUG ] Ign http://ceph.com precise/main TranslationIndex
[mira074][DEBUG ] Hit http://gitbuilder.ceph.com precise/main i386 Packages
[mira074][DEBUG ] Ign http://gitbuilder.ceph.com precise/main TranslationIndex
[mira074][DEBUG ] Get:12 http://apt-mirror.front.sepia.ceph.com precise-updates/restricted Sources [7006 B]
[mira074][DEBUG ] Get:13 http://apt-mirror.front.sepia.ceph.com precise-updates/universe Sources [98.8 kB]
[mira074][DEBUG ] Ign http://gitbuilder.ceph.com precise/main Translation-en
[mira074][DEBUG ] Get:14 http://apt-mirror.front.sepia.ceph.com precise-updates/multiverse Sources [8343 B]
[mira074][DEBUG ] Get:15 http://apt-mirror.front.sepia.ceph.com precise-updates/main amd64 Packages [701 kB]
[mira074][DEBUG ] Get:16 http://apt-mirror.front.sepia.ceph.com precise-updates/restricted amd64 Packages [11.5 kB]
[mira074][DEBUG ] Get:17 http://apt-mirror.front.sepia.ceph.com precise-updates/universe amd64 Packages [221 kB]
[mira074][DEBUG ] Get:18 http://apt-mirror.front.sepia.ceph.com precise-updates/multiverse amd64 Packages [13.9 kB]
[mira074][DEBUG ] Ign http://ceph.com precise/main Translation-en
[mira074][DEBUG ] Get:19 http://apt-mirror.front.sepia.ceph.com precise-updates/main i386 Packages [722 kB]
[mira074][DEBUG ] Get:20 http://apt-mirror.front.sepia.ceph.com precise-updates/restricted i386 Packages [11.4 kB]
[mira074][DEBUG ] Get:21 http://apt-mirror.front.sepia.ceph.com precise-updates/universe i386 Packages [225 kB]
[mira074][DEBUG ] Get:22 http://apt-mirror.front.sepia.ceph.com precise-updates/multiverse i386 Packages [14.0 kB]
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-updates/main TranslationIndex
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-updates/multiverse TranslationIndex
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-updates/restricted TranslationIndex
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-updates/universe TranslationIndex
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise/universe Translation-en
[mira074][DEBUG ] Get:23 http://apt-mirror.front.sepia.ceph.com precise-backports/main Sources [4233 B]
[mira074][DEBUG ] Get:24 http://apt-mirror.front.sepia.ceph.com precise-backports/restricted Sources [14 B]
[mira074][DEBUG ] Get:25 http://apt-mirror.front.sepia.ceph.com precise-backports/universe Sources [36.1 kB]
[mira074][DEBUG ] Get:26 http://apt-mirror.front.sepia.ceph.com precise-backports/multiverse Sources [5311 B]
[mira074][DEBUG ] Get:27 http://apt-mirror.front.sepia.ceph.com precise-backports/main amd64 Packages [2844 B]
[mira074][DEBUG ] Get:28 http://apt-mirror.front.sepia.ceph.com precise-backports/restricted amd64 Packages [14 B]
[mira074][DEBUG ] Get:29 http://apt-mirror.front.sepia.ceph.com precise-backports/universe amd64 Packages [36.8 kB]
[mira074][DEBUG ] Get:30 http://apt-mirror.front.sepia.ceph.com precise-backports/multiverse amd64 Packages [5206 B]
[mira074][DEBUG ] Get:31 http://apt-mirror.front.sepia.ceph.com precise-backports/main i386 Packages [2838 B]
[mira074][DEBUG ] Get:32 http://apt-mirror.front.sepia.ceph.com precise-backports/restricted i386 Packages [14 B]
[mira074][DEBUG ] Get:33 http://apt-mirror.front.sepia.ceph.com precise-backports/universe i386 Packages [36.6 kB]
[mira074][DEBUG ] Get:34 http://apt-mirror.front.sepia.ceph.com precise-backports/multiverse i386 Packages [5178 B]
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-backports/main TranslationIndex
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-backports/multiverse TranslationIndex
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-backports/restricted TranslationIndex
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-backports/universe TranslationIndex
[mira074][DEBUG ] Get:35 http://apt-mirror.front.sepia.ceph.com precise-security/main Sources [92.1 kB]
[mira074][DEBUG ] Get:36 http://apt-mirror.front.sepia.ceph.com precise-security/restricted Sources [2494 B]
[mira074][DEBUG ] Get:37 http://apt-mirror.front.sepia.ceph.com precise-security/universe Sources [29.3 kB]
[mira074][DEBUG ] Get:38 http://apt-mirror.front.sepia.ceph.com precise-security/multiverse Sources [1804 B]
[mira074][DEBUG ] Get:39 http://apt-mirror.front.sepia.ceph.com precise-security/main amd64 Packages [334 kB]
[mira074][DEBUG ] Get:40 http://apt-mirror.front.sepia.ceph.com precise-security/restricted amd64 Packages [4627 B]
[mira074][DEBUG ] Get:41 http://apt-mirror.front.sepia.ceph.com precise-security/universe amd64 Packages [84.0 kB]
[mira074][DEBUG ] Get:42 http://apt-mirror.front.sepia.ceph.com precise-security/multiverse amd64 Packages [2449 B]
[mira074][DEBUG ] Get:43 http://apt-mirror.front.sepia.ceph.com precise-security/main i386 Packages [353 kB]
[mira074][DEBUG ] Get:44 http://apt-mirror.front.sepia.ceph.com precise-security/restricted i386 Packages [4620 B]
[mira074][DEBUG ] Get:45 http://apt-mirror.front.sepia.ceph.com precise-security/universe i386 Packages [87.7 kB]
[mira074][DEBUG ] Get:46 http://apt-mirror.front.sepia.ceph.com precise-security/multiverse i386 Packages [2640 B]
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-security/main TranslationIndex
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-security/multiverse TranslationIndex
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-security/restricted TranslationIndex
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-security/universe TranslationIndex
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-updates/main Translation-en
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-updates/multiverse Translation-en
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-updates/restricted Translation-en
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-updates/universe Translation-en
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-backports/main Translation-en
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-backports/multiverse Translation-en
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-backports/restricted Translation-en
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-backports/universe Translation-en
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-security/main Translation-en
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-security/multiverse Translation-en
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-security/restricted Translation-en
[mira074][DEBUG ] Ign http://apt-mirror.front.sepia.ceph.com precise-security/universe Translation-en
[mira074][DEBUG ] Fetched 3758 kB in 1s (2717 kB/s)
[mira074][DEBUG ] Reading package lists...
[mira074][INFO ] Running command: sudo env DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get -q -o Dpkg::Options::=--force-confnew --no-install-recommends --assume-yes install -- ceph ceph-mds ceph-common ceph-fs-common gdisk
[mira074][ERROR ] E: Unable to correct problems, you have held broken packages.
[mira074][DEBUG ] Reading package lists...
[mira074][DEBUG ] Building dependency tree...
[mira074][DEBUG ] Reading state information...
[mira074][DEBUG ] gdisk is already the newest version.
[mira074][DEBUG ] Some packages could not be installed. This may mean that you have
[mira074][DEBUG ] requested an impossible situation or if you are using the unstable
[mira074][DEBUG ] distribution that some required packages have not yet been created
[mira074][DEBUG ] or been moved out of Incoming.
[mira074][DEBUG ] The following information may help to resolve the situation:
[mira074][DEBUG ]
[mira074][DEBUG ] The following packages have unmet dependencies:
[mira074][DEBUG ] ceph-common : Depends: librbd1 (= 0.67.4-1precise) but 0.71-264-gbbf9d3a-1precise is to be installed
[mira074][INFO ] Running command: sudo ceph --version
[mira074][ERROR ] Traceback (most recent call last):
[mira074][ERROR ] File "/home/ubuntu/ceph-dep/ceph-deploy/ceph_deploy/lib/remoto/process.py", line 59, in run
[mira074][ERROR ] reporting(conn, result, timeout)
[mira074][ERROR ] File "/home/ubuntu/ceph-dep/ceph-deploy/ceph_deploy/lib/remoto/log.py", line 8, in reporting
[mira074][ERROR ] received = result.receive(timeout)
[mira074][ERROR ] File "/home/ubuntu/ceph-dep/ceph-deploy/ceph_deploy/lib/remoto/lib/execnet/gateway_base.py", line 454, in receive
[mira074][ERROR ] raise self._getremoteerror() or EOFError()
[mira074][ERROR ] RemoteError: Traceback (most recent call last):
[mira074][ERROR ] File "/home/ubuntu/ceph-dep/ceph-deploy/ceph_deploy/lib/remoto/lib/execnet/gateway_base.py", line 805, in executetask
[mira074][ERROR ] function(channel, **kwargs)
[mira074][ERROR ] File "", line 10, in _remote_run
[mira074][ERROR ] File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
[mira074][ERROR ] errread, errwrite)
[mira074][ERROR ] File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
[mira074][ERROR ] raise child_exception
[mira074][ERROR ] OSError: [Errno 2] No such file or directory
[mira074][ERROR ]
[mira074][ERROR ]
[ceph_deploy][ERROR ] RuntimeError: Failed to execute command: ceph --version
Gary pointed out that in the following line "[mira074][INFO ] Running command: sudo wget q -O 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc' |
apt-key add -" , sudo is missing before apt-key add.
adding "sudo" in front of the command works fine, when tried manually.