Bug #6650
closedceph-deploy: should exit/error when apt fails
0%
Description
ceph-deploy version: 1.2.7
ubuntu@vpm018:~/ceph-dep/ceph-deploy$ ./ceph-deploy install --stable=cuttlefish vpm018 [ceph_deploy.cli][INFO ] Invoked (1.2.7): ./ceph-deploy install --stable=cuttlefish vpm018 [ceph_deploy.install][DEBUG ] Installing stable version cuttlefish on cluster ceph hosts vpm018 [ceph_deploy.install][DEBUG ] Detecting platform for host vpm018 ... [vpm018][DEBUG ] connected to host: vpm018 [vpm018][DEBUG ] detect platform information from remote host [vpm018][DEBUG ] detect machine type [ceph_deploy.install][INFO ] Distro info: Ubuntu 13.04 raring [vpm018][INFO ] installing ceph on vpm018 [vpm018][INFO ] Running command: sudo env DEBIAN_FRONTEND=noninteractive apt-get -q install --assume-yes ca-certificates [vpm018][DEBUG ] Reading package lists... [vpm018][DEBUG ] Building dependency tree... [vpm018][DEBUG ] Reading state information... [vpm018][DEBUG ] ca-certificates is already the newest version. [vpm018][DEBUG ] 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. [vpm018][INFO ] Running command: sudo wget -q -O- 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc' | apt-key add - [vpm018][DEBUG ] add ceph deb repo to sources.list [vpm018][INFO ] Running command: sudo apt-get -q update [vpm018][ERROR ] W: GPG error: http://ceph.com raring Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EBFDD5D17ED316D [vpm018][DEBUG ] Get:1 http://ceph.com raring Release.gpg [836 B] [vpm018][DEBUG ] Get:2 http://ceph.com raring Release [5996 B] [vpm018][DEBUG ] Ign http://ceph.com raring Release [vpm018][DEBUG ] Get:3 http://ceph.com raring/main amd64 Packages [6964 B] [vpm018][DEBUG ] Ign http://ceph.com raring/main Translation-en [vpm018][DEBUG ] Get:4 http://archive.ubuntu.com raring Release.gpg [933 B] [vpm018][DEBUG ] Get:5 http://archive.ubuntu.com raring-updates Release.gpg [933 B] [vpm018][DEBUG ] Get:6 http://security.ubuntu.com raring-security Release.gpg [933 B] [vpm018][DEBUG ] Get:7 http://archive.ubuntu.com raring Release [40.8 kB] [vpm018][DEBUG ] Get:8 http://security.ubuntu.com raring-security Release [40.8 kB] [vpm018][DEBUG ] Get:9 http://archive.ubuntu.com raring-updates Release [40.8 kB] [vpm018][DEBUG ] Get:10 http://security.ubuntu.com raring-security/main Sources [50.7 kB] [vpm018][DEBUG ] Get:11 http://archive.ubuntu.com raring/main Sources [963 kB] [vpm018][DEBUG ] Get:12 http://security.ubuntu.com raring-security/universe Sources [11.1 kB] [vpm018][DEBUG ] Get:13 http://security.ubuntu.com raring-security/main amd64 Packages [129 kB] [vpm018][DEBUG ] Get:14 http://security.ubuntu.com raring-security/universe amd64 Packages [41.6 kB] [vpm018][DEBUG ] Get:15 http://security.ubuntu.com raring-security/main Translation-en [66.7 kB] [vpm018][DEBUG ] Get:16 http://security.ubuntu.com raring-security/universe Translation-en [25.7 kB] [vpm018][DEBUG ] Get:17 http://archive.ubuntu.com raring/universe Sources [5838 kB] [vpm018][DEBUG ] Get:18 http://archive.ubuntu.com raring/main amd64 Packages [1170 kB] [vpm018][DEBUG ] Get:19 http://archive.ubuntu.com raring/universe amd64 Packages [5396 kB] [vpm018][DEBUG ] Hit http://archive.ubuntu.com raring/main Translation-en [vpm018][DEBUG ] Get:20 http://archive.ubuntu.com raring/universe Translation-en [3736 kB] [vpm018][DEBUG ] Get:21 http://archive.ubuntu.com raring-updates/main Sources [79.5 kB] [vpm018][DEBUG ] Get:22 http://archive.ubuntu.com raring-updates/universe Sources [74.8 kB] [vpm018][DEBUG ] Get:23 http://archive.ubuntu.com raring-updates/main amd64 Packages [201 kB] [vpm018][DEBUG ] Get:24 http://archive.ubuntu.com raring-updates/universe amd64 Packages [153 kB] [vpm018][DEBUG ] Get:25 http://archive.ubuntu.com raring-updates/main Translation-en [96.5 kB] [vpm018][DEBUG ] Get:26 http://archive.ubuntu.com raring-updates/universe Translation-en [79.0 kB] [vpm018][DEBUG ] Fetched 18.3 MB in 15s (1203 kB/s) [vpm018][DEBUG ] Reading package lists... [vpm018][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 [vpm018][ERROR ] E: There are problems and -y was used without --force-yes [vpm018][DEBUG ] Reading package lists... [vpm018][DEBUG ] Building dependency tree... [vpm018][DEBUG ] Reading state information... [vpm018][DEBUG ] gdisk is already the newest version. [vpm018][DEBUG ] The following extra packages will be installed: [vpm018][DEBUG ] libaio1 libboost-thread1.49.0 libgoogle-perftools4 libleveldb1 libnspr4 [vpm018][DEBUG ] libnss3 librados2 librbd1 libsnappy1 libtcmalloc-minimal4 libunwind8 [vpm018][DEBUG ] python-lockfile xfsprogs [vpm018][DEBUG ] Suggested packages: [vpm018][DEBUG ] xfsdump acl attr quota [vpm018][DEBUG ] Recommended packages: [vpm018][DEBUG ] btrfs-tools ceph-fuse libcephfs1 [vpm018][DEBUG ] The following NEW packages will be installed: [vpm018][DEBUG ] ceph ceph-common ceph-fs-common ceph-mds libaio1 libboost-thread1.49.0 [vpm018][DEBUG ] libgoogle-perftools4 libleveldb1 libnspr4 libnss3 librados2 librbd1 [vpm018][DEBUG ] libsnappy1 libtcmalloc-minimal4 libunwind8 python-lockfile xfsprogs [vpm018][DEBUG ] 0 upgraded, 17 newly installed, 0 to remove and 110 not upgraded. [vpm018][DEBUG ] Need to get 21.1 MB of archives. [vpm018][DEBUG ] After this operation, 63.8 MB of additional disk space will be used. [vpm018][DEBUG ] WARNING: The following packages cannot be authenticated! [vpm018][DEBUG ] librados2 librbd1 ceph-common ceph ceph-fs-common ceph-mds [vpm018][INFO ] Running command: sudo ceph --version [vpm018][ERROR ] Traceback (most recent call last): [vpm018][ERROR ] File "/home/ubuntu/ceph-dep/ceph-deploy/ceph_deploy/lib/remoto/process.py", line 59, in run [vpm018][ERROR ] reporting(conn, result, timeout) [vpm018][ERROR ] File "/home/ubuntu/ceph-dep/ceph-deploy/ceph_deploy/lib/remoto/log.py", line 8, in reporting [vpm018][ERROR ] received = result.receive(timeout) [vpm018][ERROR ] File "/home/ubuntu/ceph-dep/ceph-deploy/ceph_deploy/lib/remoto/lib/execnet/gateway_base.py", line 454, in receive [vpm018][ERROR ] raise self._getremoteerror() or EOFError() [vpm018][ERROR ] RemoteError: Traceback (most recent call last): [vpm018][ERROR ] File "/home/ubuntu/ceph-dep/ceph-deploy/ceph_deploy/lib/remoto/lib/execnet/gateway_base.py", line 805, in executetask [vpm018][ERROR ] function(channel, **kwargs) [vpm018][ERROR ] File "", line 10, in _remote_run [vpm018][ERROR ] File "/usr/lib/python2.7/subprocess.py", line 711, in __init__ [vpm018][ERROR ] errread, errwrite) [vpm018][ERROR ] File "/usr/lib/python2.7/subprocess.py", line 1308, in _execute_child [vpm018][ERROR ] raise child_exception [vpm018][ERROR ] OSError: [Errno 2] No such file or directory [vpm018][ERROR ] [vpm018][ERROR ] [ceph_deploy][ERROR ] RuntimeError: Failed to execute command: ceph --version
Updated by Tamilarasi muthamizhan over 10 years ago
- Subject changed from ceph-deploy: unable to install cuttlefish to ceph-deploy: unable to install cuttlefish on raring
Updated by Tamilarasi muthamizhan over 10 years ago
- Subject changed from ceph-deploy: unable to install cuttlefish on raring to ceph-deploy: unable to install ceph
- Priority changed from Normal to Immediate
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.
Updated by Zoltan Arnold Nagy over 10 years ago
a very annoying bug. I don't see how this could have made it into any release at all, since it is basically one of the main functions of ceph-deploy.
Updated by Alfredo Deza over 10 years ago
- Status changed from New to In Progress
Just to be clear, this is not ceph-deploy failing to install, it is APT having issues with the install.
The first tell:
[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
The second tell:
[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.
However, ceph-deploy does need to be changed here so that we can stop any further actions when there is a problem using the package managers (will update the description to reflect that).
@Zoltan Arnold Nagy, this is an unreleased version of ceph-deploy.
Updated by Alfredo Deza over 10 years ago
- Subject changed from ceph-deploy: unable to install ceph to ceph-deploy: should exit/error when apt fails
Updated by Alfredo Deza over 10 years ago
- Status changed from In Progress to Fix Under Review
Pull request opened: https://github.com/ceph/ceph-deploy/pull/115
Updated by Alfredo Deza over 10 years ago
- Status changed from Fix Under Review to Resolved
Merged into ceph-deploy's master branch with hash: 1a72df3