Bug #4820

ceph-deploy : intermittent errors during install

Added by Tamilarasi muthamizhan about 8 years ago. Updated about 8 years ago.

Target version:
% Done:


3 - minor
Affected Versions:
Pull request ID:
Crash signature (v1):
Crash signature (v2):


not often, but see this error at the end of install. It would be nice to make this error look better or let the user know if installation should be retried or its successful.ceph.log doesn't seem to have much information as well.

tamil@ubuntu:~/ceph-deploy-latest/ceph-deploy$ ./ceph-deploy install --dev=next burnupi06 burnupi07
Get:1 precise InRelease [4,477 B]
Hit precise InRelease
Hit precise InRelease
Get:2 precise/main amd64 Packages [5,884 B]
Get:3 precise/main i386 Packages [436 B]
Ign precise/main TranslationIndex
Hit precise/main amd64 Packages
Hit precise/main i386 Packages
Ign precise/main TranslationIndex
Hit precise/main amd64 Packages
Hit precise/main i386 Packages
Ign precise/main TranslationIndex
Ign precise/main Translation-en_US
Ign precise/main Translation-en
Ign precise/main Translation-en_US
Ign precise/main Translation-en
Ign precise/main Translation-en_US
Ign precise/main Translation-en
Ign precise-security InRelease
Ign precise InRelease
Ign precise-updates InRelease
Ign precise-backports InRelease
Get:4 precise-security Release.gpg [198 B]
Hit precise Release.gpg
Get:5 precise-updates Release.gpg [198 B]
Get:6 precise-security Release [49.6 kB]
Get:7 precise-backports Release.gpg [198 B]
Hit precise Release
Get:8 precise-updates Release [49.6 kB]
Get:9 precise-security/main Sources [69.6 kB]
Get:10 precise-backports Release [49.6 kB]
Hit precise/main Sources
Hit precise/restricted Sources
Hit precise/universe Sources
Hit precise/multiverse Sources
Hit precise/main amd64 Packages
Hit precise/restricted amd64 Packages
Hit precise/universe amd64 Packages
Hit precise/multiverse amd64 Packages
Hit precise/main i386 Packages
Get:11 precise-security/restricted Sources [2,494 B]
Get:12 precise-security/universe Sources [24.0 kB]
Get:13 precise-security/multiverse Sources [1,389 B]
Get:14 precise-security/main amd64 Packages [248 kB]
Hit precise/restricted i386 Packages
Hit precise/universe i386 Packages
Hit precise/multiverse i386 Packages
Hit precise/main TranslationIndex
Hit precise/multiverse TranslationIndex
Hit precise/restricted TranslationIndex
Hit precise/universe TranslationIndex
Get:15 precise-updates/main Sources [379 kB]
Get:16 precise-security/restricted amd64 Packages [4,627 B]
Get:17 precise-security/universe amd64 Packages [71.5 kB]
Get:18 precise-security/multiverse amd64 Packages [2,182 B]
Get:19 precise-security/main i386 Packages [259 kB]
Get:20 precise-updates/restricted Sources [5,467 B]
Get:21 precise-updates/universe Sources [85.4 kB]
Get:22 precise-security/restricted i386 Packages [4,620 B]
Get:23 precise-security/universe i386 Packages [73.4 kB]
Get:24 precise-updates/multiverse Sources [6,562 B]
Get:25 precise-updates/main amd64 Packages [601 kB]
Get:26 precise-security/multiverse i386 Packages [2,368 B]
Hit precise-security/main TranslationIndex
Hit precise-security/multiverse TranslationIndex
Hit precise-security/restricted TranslationIndex
Hit precise-security/universe TranslationIndex
Hit precise-security/main Translation-en
Hit precise-security/multiverse Translation-en
Hit precise-security/restricted Translation-en
Hit precise-security/universe Translation-en
Get:27 precise-updates/restricted amd64 Packages [10.1 kB]
Get:28 precise-updates/universe amd64 Packages [195 kB]
Get:29 precise-updates/multiverse amd64 Packages [13.6 kB]
Get:30 precise-updates/main i386 Packages [612 kB]
Get:31 precise-updates/restricted i386 Packages [10.0 kB]
Get:32 precise-updates/universe i386 Packages [197 kB]
Get:33 precise-updates/multiverse i386 Packages [13.8 kB]
Hit precise-updates/main TranslationIndex
Hit precise-updates/multiverse TranslationIndex
Hit precise-updates/restricted TranslationIndex
Hit precise-updates/universe TranslationIndex
Get:34 precise-backports/main Sources [2,422 B]
Get:35 precise-backports/restricted Sources [14 B]
Get:36 precise-backports/universe Sources [24.2 kB]
Get:37 precise-backports/multiverse Sources [2,669 B]
Get:38 precise-backports/main amd64 Packages [1,945 B]
Get:39 precise-backports/restricted amd64 Packages [14 B]
Get:40 precise-backports/universe amd64 Packages [24.5 kB]
Get:41 precise-backports/multiverse amd64 Packages [2,489 B]
Get:42 precise-backports/main i386 Packages [1,941 B]
Get:43 precise-backports/restricted i386 Packages [14 B]
Get:44 precise-backports/universe i386 Packages [24.5 kB]
Get:45 precise-backports/multiverse i386 Packages [2,504 B]
Get:46 precise-backports/main TranslationIndex [72 B]
Get:47 precise-backports/multiverse TranslationIndex [72 B]
Get:48 precise-backports/restricted TranslationIndex [70 B]
Get:49 precise-backports/universe TranslationIndex [73 B]
Hit precise/main Translation-en
Hit precise/multiverse Translation-en
Hit precise/restricted Translation-en
Hit precise/universe Translation-en
Hit precise-updates/main Translation-en
Hit precise-updates/multiverse Translation-en
Hit precise-updates/restricted Translation-en
Hit precise-updates/universe Translation-en
Hit precise-backports/main Translation-en
Hit precise-backports/multiverse Translation-en
Hit precise-backports/restricted Translation-en
Hit precise-backports/universe Translation-en
Fetched 3,140 kB in 2s (1,225 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
gdisk is already the newest version.
The following packages were automatically installed and are no longer required:
  msr-tools seabios cpu-checker vgabios kvm-ipxe fuse-utils bridge-utils
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  librados2 librbd1
Recommended packages:
  ceph-fuse libcephfs1
The following NEW packages will be installed:
  ceph ceph-common ceph-fs-common ceph-mds
The following packages will be upgraded:
  librados2 librbd1
2 upgraded, 4 newly installed, 0 to remove and 87 not upgraded.
Need to get 17.8 MB of archives.
After this operation, 48.6 MB of additional disk space will be used.
Get:1 precise/main librbd1 amd64 0.60-664-gb0ba412-1precise [256 kB]
Get:2 precise/main librados2 amd64 0.60-664-gb0ba412-1precise [1,349 kB]
Get:3 precise/main ceph-common amd64 0.60-664-gb0ba412-1precise [6,150 kB]
Get:4 precise/main ceph amd64 0.60-664-gb0ba412-1precise [7,833 kB]
Get:5 precise/main ceph-fs-common amd64 0.60-664-gb0ba412-1precise [27.8 kB]
Get:6 precise/main ceph-mds amd64 0.60-664-gb0ba412-1precise [2,222 kB]
Fetched 17.8 MB in 1s (16.5 MB/s)
(Reading database ... 64590 files and directories currently installed.)
Preparing to replace librbd1 0.60-660-g42ab1f4-1precise (using .../librbd1_0.60-664-gb0ba412-1precise_amd64.deb) ...
Unpacking replacement librbd1 ...
Preparing to replace librados2 0.60-660-g42ab1f4-1precise (using .../librados2_0.60-664-gb0ba412-1precise_amd64.deb) ...
Unpacking replacement librados2 ...
Selecting previously unselected package ceph-common.
Unpacking ceph-common (from .../ceph-common_0.60-664-gb0ba412-1precise_amd64.deb) ...
Selecting previously unselected package ceph.
Unpacking ceph (from .../ceph_0.60-664-gb0ba412-1precise_amd64.deb) ...
Selecting previously unselected package ceph-fs-common.
Unpacking ceph-fs-common (from .../ceph-fs-common_0.60-664-gb0ba412-1precise_amd64.deb) ...
Selecting previously unselected package ceph-mds.
Unpacking ceph-mds (from .../ceph-mds_0.60-664-gb0ba412-1precise_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up librados2 (0.60-664-gb0ba412-1precise) ...
Setting up librbd1 (0.60-664-gb0ba412-1precise) ...
Setting up ceph-common (0.60-664-gb0ba412-1precise) ...
Setting up ceph (0.60-664-gb0ba412-1precise) ...
ceph-all start/running
Setting up ceph-fs-common (0.60-664-gb0ba412-1precise) ...
Setting up ceph-mds (0.60-664-gb0ba412-1precise) ...
ceph-mds-all start/running
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Exception in thread Thread-2 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.7/", line 551, in __bootstrap_inner
  File "/usr/lib/python2.7/", line 504, in run
  File "/home/tamil/ceph-deploy-latest/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/", line 266, in serve_forever
  File "/home/tamil/ceph-deploy-latest/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/", line 377, in __waitForRequest
  File "/home/tamil/ceph-deploy-latest/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/", line 601, in __recv
  File "/home/tamil/ceph-deploy-latest/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/", line 104, in receive_message
  File "/home/tamil/ceph-deploy-latest/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/", line 98, in unpack
<type 'exceptions.TypeError'>: 'NoneType' object is not callable

tamil@ubuntu:~/ceph-deploy-latest/ceph-deploy$ cat ceph.log
2013-04-25 13:57:03,091 DEBUG Creating new cluster named ceph
2013-04-25 13:57:03,091 DEBUG Resolving host burnupi07
2013-04-25 13:57:14,018 DEBUG Creating new cluster named ceph
2013-04-25 13:57:14,018 DEBUG Resolving host
2013-04-25 13:57:14,021 DEBUG Monitor burnupi07 at
2013-04-25 13:57:14,021 DEBUG Resolving host
2013-04-25 13:57:14,023 DEBUG Monitor burnupi06 at
2013-04-25 13:57:14,023 DEBUG Monitor initial members are ['burnupi07', 'burnupi06']
2013-04-25 13:57:14,023 DEBUG Monitor addrs are ['', '']
2013-04-25 13:57:14,023 DEBUG Creating a random mon key...
2013-04-25 13:57:14,023 DEBUG Writing initial config to ceph.conf...
2013-04-25 13:57:14,023 DEBUG Writing monitor keyring to ceph.conf...
2013-04-25 13:57:29,313 ceph_deploy.install DEBUG Installing dev version next on cluster ceph hosts
2013-04-25 13:57:29,313 ceph_deploy.install DEBUG Detecting platform for host ...
2013-04-25 13:57:40,178 ceph_deploy.install DEBUG Installing dev version next on cluster ceph hosts burnupi06 burnupi07
2013-04-25 13:57:40,178 ceph_deploy.install DEBUG Detecting platform for host burnupi06 ...
2013-04-25 13:57:40,554 ceph_deploy.install DEBUG Distro Ubuntu release 12.04 codename precise
2013-04-25 13:57:40,554 ceph_deploy.install DEBUG Installing on host burnupi06 ...
2013-04-25 13:57:48,861 ceph_deploy.install DEBUG Detecting platform for host burnupi07 ...
2013-04-25 13:57:49,387 ceph_deploy.install DEBUG Distro Ubuntu release 12.04 codename precise
2013-04-25 13:57:49,387 ceph_deploy.install DEBUG Installing on host burnupi07 ...

however the ceph install is complete on burnupi07.

ubuntu@burnupi07:~$ sudo ceph -v
ceph version 0.60-664-gb0ba412 (b0ba41235af901bd7e64588e2a247c6a56ec5cfa)
ubuntu@burnupi07:~$ dpkg -l | grep ceph
ii ceph 0.60-664-gb0ba412-1precise distributed storage and file system
ii ceph-common 0.60-664-gb0ba412-1precise common utilities to mount and interact with a ceph storage cluster
ii ceph-fs-common 0.60-664-gb0ba412-1precise common utilities to mount and interact with a ceph file system
ii ceph-mds 0.60-664-gb0ba412-1precise metadata server for the ceph distributed file system


#1 Updated by Anonymous about 8 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF