Project

General

Profile

Bug #5306

Xen based OSDs fail to start ceph-osd process

Added by Yan-Fa Li over 10 years ago. Updated almost 10 years ago.

Status:
Can't reproduce
Priority:
High
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

After a clean install and ceph-deploy prepare and activate the osd process is running on the node.
After a reboot the udev rule to start the ceph-osd doesn't appear to run the ceph-disk-activate command.
Running the command manually on the CLI starts the OSD process.

Environment:

Distribution: Debian Wheezy 7.0
Ceph: 0.61.3
Xen: XCP 1.6

I'll attach more diagnostics to this bug once I get back to my home office.
Dan and I tried to troubleshooting it.

History

#1 Updated by Ian Colle over 10 years ago

  • Priority changed from Low to High

#2 Updated by Sage Weil over 10 years ago

  • Status changed from New to Need More Info

can you retest on latest cuttlefish branch? (ceph-deploy install --dev=cuttlefish)

#3 Updated by Yan-Fa Li over 10 years ago

I will do this tomorrow. The xen box is temporarily down.

#4 Updated by Yan-Fa Li over 10 years ago

OK, I updated using ceph-deploy to all my nodes to this version:

ceph version 0.61.3-29-g08304a7 (08304a7c46da7517319b7db0b64d1c4f54771472)

On reboot, I don't see any OSD processes running or xfs partitions mounted.
Weirdly the mon node says 2 of the osd nodes are running:

ceph status:

health HEALTH_WARN 67 pgs stale; 67 pgs stuck stale; mds cluster is degraded
monmap e1: 1 mons at {ceph-server=192.168.10.34:6789/0}, election epoch 1, quorum 0 ceph-server
osdmap e50: 3 osds: 2 up, 2 in
pgmap v340: 192 pgs: 125 active+clean, 67 stale+active+clean; 9518 bytes data, 76680 KB used, 49051 MB / 49125 MB avail
mdsmap e15: 1/1/1 up {0=ceph-server=up:replay}

ceph osd dump:

epoch 50
fsid 61ecac36-387e-44ca-b964-909a01cd17b7
created 2013-06-10 15:18:31.880256
modified 2013-06-19 14:55:02.147432
flags

pool 0 'data' rep size 2 min_size 1 crush_ruleset 0 object_hash rjenkins pg_num 64 pgp_num 64 last_change 1 owner 0 crash_replay_interval 45
pool 1 'metadata' rep size 2 min_size 1 crush_ruleset 1 object_hash rjenkins pg_num 64 pgp_num 64 last_change 1 owner 0
pool 2 'rbd' rep size 2 min_size 1 crush_ruleset 2 object_hash rjenkins pg_num 64 pgp_num 64 last_change 1 owner 0

max_osd 3
osd.0 down out weight 0 up_from 44 up_thru 44 down_at 46 last_clean_interval [37,40) 192.168.10.35:6800/13136 192.168.10.35:6801/13136 192.168.10.35:6803/13136 autoout,exists fc712f82-dcbd-4795-9176-33b0c2a8cd48
osd.1 up in weight 1 up_from 19 up_thru 46 down_at 14 last_clean_interval [10,13) 192.168.10.36:6800/5466 192.168.10.36:6801/5466 192.168.10.36:6802/5466 exists,up fbe62118-a262-4008-81c6-5423da2168d7
osd.2 up in weight 1 up_from 12 up_thru 46 down_at 0 last_clean_interval [0,0) 192.168.10.37:6800/5578 192.168.10.37:6801/5578 192.168.10.37:6802/5578 exists,up 99511dc5-95c2-4045-bc41-40709f7e364b

If I manually issue:

/usr/sbin/ceph-disk-activate /dev/xvdb1

then I can get all the OSDs to turn on. Sorry. Should I start from scratch and re-install ceph? Is there a correct way to purge all ceph or should I just use:

aptitude remove --purge ceph

#5 Updated by Yan-Fa Li over 10 years ago

Here's the output of udevadm test

~ sudo udevadm test --action=add /sys/devices/vbd-51728/block/xvdb/xvdb1
run_command: calling: test
adm_test: version 175
parse_file: reading '/lib/udev/rules.d/42-qemu-usb.rules' as rules file
parse_file: reading '/lib/udev/rules.d/50-rbd.rules' as rules file
parse_file: reading '/lib/udev/rules.d/50-udev-default.rules' as rules file
parse_file: reading '/lib/udev/rules.d/55-dm.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-cdrom_id.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-ceph-partuuid-workaround.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-gnupg.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-alsa.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-input.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-serial.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-storage-dm.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-storage-tape.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-storage.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-v4l.rules' as rules file
parse_file: reading '/lib/udev/rules.d/61-accelerometer.rules' as rules file
parse_file: reading '/run/udev/rules.d/61-dev-root-link.rules' as rules file
parse_file: reading '/etc/udev/rules.d/70-persistent-cd.rules' as rules file
parse_file: reading '/lib/udev/rules.d/70-udev-acl.rules' as rules file
parse_file: reading '/lib/udev/rules.d/75-cd-aliases-generator.rules' as rules file
parse_file: reading '/lib/udev/rules.d/75-net-description.rules' as rules file
parse_file: reading '/lib/udev/rules.d/75-persistent-net-generator.rules' as rules file
parse_file: reading '/lib/udev/rules.d/75-probe_mtd.rules' as rules file
parse_file: reading '/lib/udev/rules.d/75-tty-description.rules' as rules file
parse_file: reading '/lib/udev/rules.d/78-sound-card.rules' as rules file
parse_file: reading '/lib/udev/rules.d/80-drivers.rules' as rules file
parse_file: reading '/lib/udev/rules.d/80-networking.rules' as rules file
parse_file: reading '/lib/udev/rules.d/85-hdparm.rules' as rules file
parse_file: reading '/lib/udev/rules.d/85-hwclock.rules' as rules file
parse_file: reading '/lib/udev/rules.d/91-permissions.rules' as rules file
parse_file: reading '/lib/udev/rules.d/95-ceph-osd.rules' as rules file
parse_file: reading '/lib/udev/rules.d/95-keyboard-force-release.rules' as rules file
parse_file: reading '/lib/udev/rules.d/95-keymap.rules' as rules file
parse_file: reading '/lib/udev/rules.d/95-udev-late.rules' as rules file
parse_file: reading '/lib/udev/rules.d/z10_xen-vcpu-hotplug.rules' as rules file
udev_rules_new: rules use 24564 bytes tokens (2047 * 12 bytes), 15930 bytes buffer
udev_rules_new: temporary index used 16020 bytes (801 * 20 bytes)
udev_device_new_from_syspath: device 0xa242d0 has devpath '/devices/vbd-51728/block/xvdb/xvdb1'
udev_device_new_from_syspath: device 0xa33ed0 has devpath '/devices/vbd-51728/block/xvdb/xvdb1'
udev_device_read_db: device 0xa33ed0 filled with db file data
udev_device_new_from_syspath: device 0xa34710 has devpath '/devices/vbd-51728/block/xvdb'
udev_device_read_db: device 0xa34710 filled with db file data
udev_rules_apply_to_event: IMPORT '/sbin/blkid -o udev -p /dev/xvdb1' /lib/udev/rules.d/60-ceph-partuuid-workaround.rules:28
udev_event_spawn: starting '/sbin/blkid -o udev -p /dev/xvdb1'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_FS_UUID=192c9084-0345-4be0-a811-a8804edf3a83'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_FS_UUID_ENC=192c9084-0345-4be0-a811-a8804edf3a83'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_FS_TYPE=xfs'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_FS_USAGE=filesystem'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_SCHEME=gpt'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_NAME=ceph\x20data'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_UUID=fc712f82-dcbd-4795-9176-33b0c2a8cd48'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_TYPE=4fbd7e29-9d25-41b8-afd0-062c0ceff05d'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_NUMBER=1'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_OFFSET=2099200'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_SIZE=50329567'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_DISK=202:16'
spawn_wait: '/sbin/blkid -o udev -p /dev/xvdb1' [3849] exit with return code 0
udev_rules_apply_to_event: LINK 'disk/by-partuuid/fc712f82-dcbd-4795-9176-33b0c2a8cd48' /lib/udev/rules.d/60-ceph-partuuid-workaround.rules:31
udev_rules_apply_to_event: LINK 'disk/by-partlabel/ceph\x20data' /lib/udev/rules.d/60-ceph-partuuid-workaround.rules:32
udev_rules_apply_to_event: LINK 'disk/by-partuuid/fc712f82-dcbd-4795-9176-33b0c2a8cd48' /lib/udev/rules.d/60-persistent-storage.rules:128
udev_rules_apply_to_event: LINK 'disk/by-partlabel/ceph\x20data' /lib/udev/rules.d/60-persistent-storage.rules:130
udev_rules_apply_to_event: LINK 'disk/by-path/xen-vbd-51728-part1' /lib/udev/rules.d/60-persistent-storage.rules:136
udev_rules_apply_to_event: IMPORT '/sbin/blkid -o udev -p /dev/xvdb1' /lib/udev/rules.d/60-persistent-storage.rules:155
udev_event_spawn: starting '/sbin/blkid -o udev -p /dev/xvdb1'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_FS_UUID=192c9084-0345-4be0-a811-a8804edf3a83'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_FS_UUID_ENC=192c9084-0345-4be0-a811-a8804edf3a83'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_FS_TYPE=xfs'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_FS_USAGE=filesystem'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_SCHEME=gpt'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_NAME=ceph\x20data'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_UUID=fc712f82-dcbd-4795-9176-33b0c2a8cd48'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_TYPE=4fbd7e29-9d25-41b8-afd0-062c0ceff05d'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_NUMBER=1'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_OFFSET=2099200'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_SIZE=50329567'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_DISK=202:16'
spawn_wait: '/sbin/blkid -o udev -p /dev/xvdb1' [3850] exit with return code 0
udev_rules_apply_to_event: LINK 'disk/by-uuid/192c9084-0345-4be0-a811-a8804edf3a83' /lib/udev/rules.d/60-persistent-storage.rules:162
udev_rules_apply_to_event: GROUP 6 /lib/udev/rules.d/91-permissions.rules:4
udev_device_new_from_syspath: device 0xa38aa0 has devpath '/devices/vbd-51728'
udev_rules_apply_to_event: RUN '/usr/sbin/ceph-disk-activate /dev/$name' /lib/udev/rules.d/95-ceph-osd.rules:5
udev_event_execute_rules: no node name set, will use kernel supplied name 'xvdb1'
udev_node_add: creating device node '/dev/xvdb1', devnum=202:17, mode=01660, uid=0, gid=6
udev_node_mknod: preserve file '/dev/xvdb1', because it has correct dev_t
udev_node_mknod: preserve permissions /dev/xvdb1, 061660, uid=0, gid=6
node_symlink: preserve already existing symlink '/dev/block/202:17' to '../xvdb1'
link_find_prioritized: found 'b202:17' claiming '/run/udev/links/disk\x2fby-partlabel\x2fceph\x5cx20data'
link_update: creating link '/dev/disk/by-partlabel/ceph\x20data' to '/dev/xvdb1'
node_symlink: preserve already existing symlink '/dev/disk/by-partlabel/ceph\x20data' to '../../xvdb1'
link_find_prioritized: found 'b202:17' claiming '/run/udev/links/disk\x2fby-partuuid\x2ffc712f82-dcbd-4795-9176-33b0c2a8cd48'
link_update: creating link '/dev/disk/by-partuuid/fc712f82-dcbd-4795-9176-33b0c2a8cd48' to '/dev/xvdb1'
node_symlink: preserve already existing symlink '/dev/disk/by-partuuid/fc712f82-dcbd-4795-9176-33b0c2a8cd48' to '../../xvdb1'
link_find_prioritized: found 'b202:17' claiming '/run/udev/links/disk\x2fby-path\x2fxen-vbd-51728-part1'
link_update: creating link '/dev/disk/by-path/xen-vbd-51728-part1' to '/dev/xvdb1'
node_symlink: preserve already existing symlink '/dev/disk/by-path/xen-vbd-51728-part1' to '../../xvdb1'
link_find_prioritized: found 'b202:17' claiming '/run/udev/links/disk\x2fby-uuid\x2f192c9084-0345-4be0-a811-a8804edf3a83'
link_update: creating link '/dev/disk/by-uuid/192c9084-0345-4be0-a811-a8804edf3a83' to '/dev/xvdb1'
node_symlink: preserve already existing symlink '/dev/disk/by-uuid/192c9084-0345-4be0-a811-a8804edf3a83' to '../../xvdb1'
udev_device_update_db: created db file '/run/udev/data/b202:17' for '/devices/vbd-51728/block/xvdb/xvdb1'
? ~ sudo udevadm test --action=add /sys/devices/vbd-51728/block/xvdb/xvdb1
run_command: calling: test
adm_test: version 175
This program is for debugging only, it does not run any program,
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.

parse_file: reading '/lib/udev/rules.d/42-qemu-usb.rules' as rules file
parse_file: reading '/lib/udev/rules.d/50-rbd.rules' as rules file
parse_file: reading '/lib/udev/rules.d/50-udev-default.rules' as rules file
parse_file: reading '/lib/udev/rules.d/55-dm.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-cdrom_id.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-ceph-partuuid-workaround.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-gnupg.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-alsa.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-input.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-serial.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-storage-dm.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-storage-tape.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-storage.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-v4l.rules' as rules file
parse_file: reading '/lib/udev/rules.d/61-accelerometer.rules' as rules file
parse_file: reading '/run/udev/rules.d/61-dev-root-link.rules' as rules file
parse_file: reading '/etc/udev/rules.d/70-persistent-cd.rules' as rules file
parse_file: reading '/lib/udev/rules.d/70-udev-acl.rules' as rules file
parse_file: reading '/lib/udev/rules.d/75-cd-aliases-generator.rules' as rules file
parse_file: reading '/lib/udev/rules.d/75-net-description.rules' as rules file
parse_file: reading '/lib/udev/rules.d/75-persistent-net-generator.rules' as rules file
parse_file: reading '/lib/udev/rules.d/75-probe_mtd.rules' as rules file
parse_file: reading '/lib/udev/rules.d/75-tty-description.rules' as rules file
parse_file: reading '/lib/udev/rules.d/78-sound-card.rules' as rules file
parse_file: reading '/lib/udev/rules.d/80-drivers.rules' as rules file
parse_file: reading '/lib/udev/rules.d/80-networking.rules' as rules file
parse_file: reading '/lib/udev/rules.d/85-hdparm.rules' as rules file
parse_file: reading '/lib/udev/rules.d/85-hwclock.rules' as rules file
parse_file: reading '/lib/udev/rules.d/91-permissions.rules' as rules file
parse_file: reading '/lib/udev/rules.d/95-ceph-osd.rules' as rules file
parse_file: reading '/lib/udev/rules.d/95-keyboard-force-release.rules' as rules file
parse_file: reading '/lib/udev/rules.d/95-keymap.rules' as rules file
parse_file: reading '/lib/udev/rules.d/95-udev-late.rules' as rules file
parse_file: reading '/lib/udev/rules.d/z10_xen-vcpu-hotplug.rules' as rules file
udev_rules_new: rules use 24564 bytes tokens (2047 * 12 bytes), 15930 bytes buffer
udev_rules_new: temporary index used 16020 bytes (801 * 20 bytes)
udev_device_new_from_syspath: device 0xc512d0 has devpath '/devices/vbd-51728/block/xvdb/xvdb1'
udev_device_new_from_syspath: device 0xc60ed0 has devpath '/devices/vbd-51728/block/xvdb/xvdb1'
udev_device_read_db: device 0xc60ed0 filled with db file data
udev_device_new_from_syspath: device 0xc61710 has devpath '/devices/vbd-51728/block/xvdb'
udev_device_read_db: device 0xc61710 filled with db file data
udev_rules_apply_to_event: IMPORT '/sbin/blkid -o udev -p /dev/xvdb1' /lib/udev/rules.d/60-ceph-partuuid-workaround.rules:28
udev_event_spawn: starting '/sbin/blkid -o udev -p /dev/xvdb1'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_FS_UUID=192c9084-0345-4be0-a811-a8804edf3a83'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_FS_UUID_ENC=192c9084-0345-4be0-a811-a8804edf3a83'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_FS_TYPE=xfs'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_FS_USAGE=filesystem'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_SCHEME=gpt'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_NAME=ceph\x20data'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_UUID=fc712f82-dcbd-4795-9176-33b0c2a8cd48'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_TYPE=4fbd7e29-9d25-41b8-afd0-062c0ceff05d'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_NUMBER=1'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_OFFSET=2099200'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_SIZE=50329567'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_DISK=202:16'
spawn_wait: '/sbin/blkid -o udev -p /dev/xvdb1' [3856] exit with return code 0
udev_rules_apply_to_event: LINK 'disk/by-partuuid/fc712f82-dcbd-4795-9176-33b0c2a8cd48' /lib/udev/rules.d/60-ceph-partuuid-workaround.rules:31
udev_rules_apply_to_event: LINK 'disk/by-partlabel/ceph\x20data' /lib/udev/rules.d/60-ceph-partuuid-workaround.rules:32
udev_rules_apply_to_event: LINK 'disk/by-partuuid/fc712f82-dcbd-4795-9176-33b0c2a8cd48' /lib/udev/rules.d/60-persistent-storage.rules:128
udev_rules_apply_to_event: LINK 'disk/by-partlabel/ceph\x20data' /lib/udev/rules.d/60-persistent-storage.rules:130
udev_rules_apply_to_event: LINK 'disk/by-path/xen-vbd-51728-part1' /lib/udev/rules.d/60-persistent-storage.rules:136
udev_rules_apply_to_event: IMPORT '/sbin/blkid -o udev -p /dev/xvdb1' /lib/udev/rules.d/60-persistent-storage.rules:155
udev_event_spawn: starting '/sbin/blkid -o udev -p /dev/xvdb1'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_FS_UUID=192c9084-0345-4be0-a811-a8804edf3a83'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_FS_UUID_ENC=192c9084-0345-4be0-a811-a8804edf3a83'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_FS_TYPE=xfs'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_FS_USAGE=filesystem'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_SCHEME=gpt'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_NAME=ceph\x20data'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_UUID=fc712f82-dcbd-4795-9176-33b0c2a8cd48'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_TYPE=4fbd7e29-9d25-41b8-afd0-062c0ceff05d'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_NUMBER=1'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_OFFSET=2099200'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_SIZE=50329567'
spawn_read: '/sbin/blkid -o udev -p /dev/xvdb1'(out) 'ID_PART_ENTRY_DISK=202:16'
spawn_wait: '/sbin/blkid -o udev -p /dev/xvdb1' [3857] exit with return code 0
udev_rules_apply_to_event: LINK 'disk/by-uuid/192c9084-0345-4be0-a811-a8804edf3a83' /lib/udev/rules.d/60-persistent-storage.rules:162
udev_rules_apply_to_event: GROUP 6 /lib/udev/rules.d/91-permissions.rules:4
udev_device_new_from_syspath: device 0xc65aa0 has devpath '/devices/vbd-51728'
udev_rules_apply_to_event: RUN '/usr/sbin/ceph-disk-activate /dev/$name' /lib/udev/rules.d/95-ceph-osd.rules:5
udev_event_execute_rules: no node name set, will use kernel supplied name 'xvdb1'
udev_node_add: creating device node '/dev/xvdb1', devnum=202:17, mode=01660, uid=0, gid=6
udev_node_mknod: preserve file '/dev/xvdb1', because it has correct dev_t
udev_node_mknod: preserve permissions /dev/xvdb1, 061660, uid=0, gid=6
node_symlink: preserve already existing symlink '/dev/block/202:17' to '../xvdb1'
link_find_prioritized: found 'b202:17' claiming '/run/udev/links/disk\x2fby-partlabel\x2fceph\x5cx20data'
link_update: creating link '/dev/disk/by-partlabel/ceph\x20data' to '/dev/xvdb1'
node_symlink: preserve already existing symlink '/dev/disk/by-partlabel/ceph\x20data' to '../../xvdb1'
link_find_prioritized: found 'b202:17' claiming '/run/udev/links/disk\x2fby-partuuid\x2ffc712f82-dcbd-4795-9176-33b0c2a8cd48'
link_update: creating link '/dev/disk/by-partuuid/fc712f82-dcbd-4795-9176-33b0c2a8cd48' to '/dev/xvdb1'
node_symlink: preserve already existing symlink '/dev/disk/by-partuuid/fc712f82-dcbd-4795-9176-33b0c2a8cd48' to '../../xvdb1'
link_find_prioritized: found 'b202:17' claiming '/run/udev/links/disk\x2fby-path\x2fxen-vbd-51728-part1'
link_update: creating link '/dev/disk/by-path/xen-vbd-51728-part1' to '/dev/xvdb1'
node_symlink: preserve already existing symlink '/dev/disk/by-path/xen-vbd-51728-part1' to '../../xvdb1'
link_find_prioritized: found 'b202:17' claiming '/run/udev/links/disk\x2fby-uuid\x2f192c9084-0345-4be0-a811-a8804edf3a83'
link_update: creating link '/dev/disk/by-uuid/192c9084-0345-4be0-a811-a8804edf3a83' to '/dev/xvdb1'
node_symlink: preserve already existing symlink '/dev/disk/by-uuid/192c9084-0345-4be0-a811-a8804edf3a83' to '../../xvdb1'
udev_device_update_db: created db file '/run/udev/data/b202:17' for '/devices/vbd-51728/block/xvdb/xvdb1'
ACTION=add
DEVLINKS=/dev/disk/by-partlabel/ceph\x20data /dev/disk/by-partuuid/fc712f82-dcbd-4795-9176-33b0c2a8cd48 /dev/disk/by-path/xen-vbd-51728-part1 /dev/disk/by-uuid/192c9084-0345-4be0-a811-a8804edf3a83
DEVNAME=/dev/xvdb1
DEVPATH=/devices/vbd-51728/block/xvdb/xvdb1
DEVTYPE=partition
ID_FS_TYPE=xfs
ID_FS_USAGE=filesystem
ID_FS_UUID=192c9084-0345-4be0-a811-a8804edf3a83
ID_FS_UUID_ENC=192c9084-0345-4be0-a811-a8804edf3a83
ID_PART_ENTRY_DISK=202:16
ID_PART_ENTRY_NAME=ceph\x20data
ID_PART_ENTRY_NUMBER=1
ID_PART_ENTRY_OFFSET=2099200
ID_PART_ENTRY_SCHEME=gpt
ID_PART_ENTRY_SIZE=50329567
ID_PART_ENTRY_TYPE=4fbd7e29-9d25-41b8-afd0-062c0ceff05d
ID_PART_ENTRY_UUID=fc712f82-dcbd-4795-9176-33b0c2a8cd48
ID_PART_TABLE_TYPE=gpt
ID_PATH=xen-vbd-51728
ID_PATH_TAG=xen-vbd-51728
MAJOR=202
MINOR=17
SUBSYSTEM=block
UDEV_LOG=6
USEC_INITIALIZED=6724022
run: '/usr/sbin/ceph-disk-activate /dev/xvdb1'

#6 Updated by Ian Colle almost 10 years ago

  • Assignee set to Yan-Fa Li

Yan is this still an issue?

#7 Updated by Sage Weil almost 10 years ago

  • Status changed from Need More Info to Can't reproduce

Also available in: Atom PDF