Project

General

Profile

Bug #9248

ceph-deploy: mon create command outputs extra line

Added by Tamilarasi muthamizhan over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

ceph_deploy version: 1.5.12

ceph version: master

mon create command outputs an extra line "Unhandled exception in thread started by".

looks like, this line somehow escaped when the python exceptions were suppressed.

ubuntu@vpm117:~/ceph-deploy$ ./ceph-deploy mon create vpm117
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/ubuntu/.cephdeploy.conf
[ceph_deploy.cli][INFO  ] Invoked (1.5.12): ./ceph-deploy mon create vpm117
[ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts vpm117
[ceph_deploy.mon][DEBUG ] detecting platform for host vpm117 ...
[vpm117][DEBUG ] connected to host: vpm117 
[vpm117][DEBUG ] detect platform information from remote host
[vpm117][DEBUG ] detect machine type
[ceph_deploy.mon][INFO  ] distro info: Ubuntu 12.04 precise
[vpm117][DEBUG ] determining if provided host has same hostname in remote
[vpm117][DEBUG ] get remote short hostname
[vpm117][DEBUG ] deploying mon to vpm117
[vpm117][DEBUG ] get remote short hostname
[vpm117][DEBUG ] remote hostname: vpm117
[vpm117][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[vpm117][DEBUG ] create the mon path if it does not exist
[vpm117][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-vpm117/done
[vpm117][DEBUG ] done path does not exist: /var/lib/ceph/mon/ceph-vpm117/done
[vpm117][INFO  ] creating keyring file: /var/lib/ceph/tmp/ceph-vpm117.mon.keyring
[vpm117][DEBUG ] create the monitor keyring file
[vpm117][INFO  ] Running command: sudo ceph-mon --cluster ceph --mkfs -i vpm117 --keyring /var/lib/ceph/tmp/ceph-vpm117.mon.keyring
[vpm117][DEBUG ] ceph-mon: mon.noname-a 10.214.138.184:6789/0 is local, renaming to mon.vpm117
[vpm117][DEBUG ] ceph-mon: set fsid to 5dd645af-b295-4c27-b3ff-f299cb4afa9f
[vpm117][DEBUG ] ceph-mon: created monfs at /var/lib/ceph/mon/ceph-vpm117 for mon.vpm117
[vpm117][INFO  ] unlinking keyring file /var/lib/ceph/tmp/ceph-vpm117.mon.keyring
[vpm117][DEBUG ] create a done file to avoid re-doing the mon deployment
[vpm117][DEBUG ] create the init path if it does not exist
[vpm117][DEBUG ] locating the `service` executable...
[vpm117][INFO  ] Running command: sudo initctl emit ceph-mon cluster=ceph id=vpm117
[vpm117][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.vpm117.asok mon_status
[vpm117][DEBUG ] ********************************************************************************
[vpm117][DEBUG ] status for monitor: mon.vpm117
[vpm117][DEBUG ] {
[vpm117][DEBUG ]   "election_epoch": 2, 
[vpm117][DEBUG ]   "extra_probe_peers": [], 
[vpm117][DEBUG ]   "monmap": {
[vpm117][DEBUG ]     "created": "0.000000", 
[vpm117][DEBUG ]     "epoch": 1, 
[vpm117][DEBUG ]     "fsid": "5dd645af-b295-4c27-b3ff-f299cb4afa9f", 
[vpm117][DEBUG ]     "modified": "0.000000", 
[vpm117][DEBUG ]     "mons": [
[vpm117][DEBUG ]       {
[vpm117][DEBUG ]         "addr": "10.214.138.184:6789/0", 
[vpm117][DEBUG ]         "name": "vpm117", 
[vpm117][DEBUG ]         "rank": 0
[vpm117][DEBUG ]       }
[vpm117][DEBUG ]     ]
[vpm117][DEBUG ]   }, 
[vpm117][DEBUG ]   "name": "vpm117", 
[vpm117][DEBUG ]   "outside_quorum": [], 
[vpm117][DEBUG ]   "quorum": [
[vpm117][DEBUG ]     0
[vpm117][DEBUG ]   ], 
[vpm117][DEBUG ]   "rank": 0, 
[vpm117][DEBUG ]   "state": "leader", 
[vpm117][DEBUG ]   "sync_provider": []
[vpm117][DEBUG ] }
[vpm117][DEBUG ] ********************************************************************************
[vpm117][INFO  ] monitor: mon.vpm117 is running
[vpm117][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.vpm117.asok mon_status
Unhandled exception in thread started by 

History

#1 Updated by Tamilarasi muthamizhan over 7 years ago

well, this seems to happen with 'disk list' command as well,

ubuntu@vpm117:~/ceph-deploy$ ./ceph-deploy disk list vpm117
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/ubuntu/.cephdeploy.conf
[ceph_deploy.cli][INFO  ] Invoked (1.5.12): ./ceph-deploy disk list vpm117
[vpm117][DEBUG ] connected to host: vpm117 
[vpm117][DEBUG ] detect platform information from remote host
[vpm117][DEBUG ] detect machine type
[ceph_deploy.osd][INFO  ] Distro info: Ubuntu 12.04 precise
[ceph_deploy.osd][DEBUG ] Listing disks on vpm117...
[vpm117][DEBUG ] find the location of an executable
[vpm117][INFO  ] Running command: sudo /usr/sbin/ceph-disk list
[vpm117][DEBUG ] /dev/sr0 other, iso9660
[vpm117][DEBUG ] /dev/vda :
[vpm117][DEBUG ]  /dev/vda1 other, ext4, mounted on /
[vpm117][DEBUG ] /dev/vdb :
[vpm117][DEBUG ]  /dev/vdb1 other, xfs, mounted on /var/lib/ceph/osd/ceph-0
[vpm117][DEBUG ]  /dev/vdb2 other
[vpm117][DEBUG ] /dev/vdc :
[vpm117][DEBUG ]  /dev/vdc1 other, xfs, mounted on /var/lib/ceph/osd/ceph-1
[vpm117][DEBUG ]  /dev/vdc2 other
[vpm117][DEBUG ] /dev/vdd :
[vpm117][DEBUG ]  /dev/vdd1 other, xfs, mounted on /var/lib/ceph/osd/ceph-2
[vpm117][DEBUG ]  /dev/vdd2 other
[vpm117][WARNIN] WARNING:ceph-disk:Old blkid does not support ID_PART_ENTRY_* fields, trying sgdisk; may not correctly identify ceph volumes with dmcrypt
Unhandled exception in thread started by 

#2 Updated by Neil Levine over 7 years ago

  • Project changed from devops to Ceph-deploy
  • Category deleted (ceph-deploy)

Also available in: Atom PDF