Just hit this on OrangeBox12. Same result. change hook failure. Bogus
state of sdc1.
something happening in ceph-mon --mkfs???
root@node4:~# fdisk -l
Disk /dev/sda: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 250069679 125033816 83 Linux
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util
fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdb: 32.0 GB, 32015679488 bytes
256 heads, 63 sectors/track, 3877 cylinders, total 62530624 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 62530623 31265311+ ee GPT
WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util
fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdc: 120.0 GB, 120034123776 bytes
256 heads, 63 sectors/track, 14536 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdc1 1 234441647 117220823+ ee GPT
root@node4:~#
root@node4:~# ls -la /dev/sd*
brw-rw---- 1 root disk 8, 0 Jul 24 20:50 /dev/sda
brw-rw---- 1 root disk 8, 1 Jul 24 20:44 /dev/sda1
brw-rw---- 1 root disk 8, 16 Jul 24 20:51 /dev/sdb
brw-rw---- 1 root disk 8, 17 Jul 24 20:51 /dev/sdb1
brw-rw---- 1 root disk 8, 18 Jul 24 20:57 /dev/sdb2
brw-rw---- 1 root disk 8, 32 Jul 24 20:51 /dev/sdc
cr-------- 1 root root 8, 33 Jul 24 20:51 /dev/sdc1
brw-rw---- 1 root disk 8, 34 Jul 24 20:51 /dev/sdc2
--- mon-relation-changed hook failure ---
2014-07-24 20:51:19 INFO mon-relation-changed INFO:ceph-disk:Will colocate
journal with data on /dev/sdc
2014-07-24 20:51:21 INFO mon-relation-changed Creating new GPT entries.
2014-07-24 20:51:21 INFO mon-relation-changed The operation has completed
successfully.
2014-07-24 20:51:22 INFO mon-relation-changed The operation has completed
successfully.
2014-07-24 20:51:22 INFO mon-relation-changed mkfs.xfs: cannot open /dev/sdc1:
No such device or address
2014-07-24 20:51:22 INFO mon-relation-changed ceph-disk: Error: Command
'['/sbin/mkfs', '-t', 'xfs', '-f', '-i', 'size=2048', '--', '/dev/sdc1']'
returned non-zero exit status 1
2014-07-24 20:51:22 INFO mon-relation-changed Traceback (most recent call last):
2014-07-24 20:51:22 INFO mon-relation-changed File
"/var/lib/juju/agents/unit-ceph-osd-0/charm/hooks/mon-relation-changed", line
198, in <module>
2014-07-24 20:51:22 INFO mon-relation-changed hooks.execute(sys.argv)
2014-07-24 20:51:22 INFO mon-relation-changed File
"/var/lib/juju/agents/unit-ceph-osd-0/charm/hooks/charmhelpers/core/hookenv.py",
line 478, in execute
2014-07-24 20:51:22 INFO mon-relation-changed self._hooks[hook_name]()
2014-07-24 20:51:22 INFO mon-relation-changed File
"/var/lib/juju/agents/unit-ceph-osd-0/charm/hooks/mon-relation-changed", line
177, in mon_relation
2014-07-24 20:51:22 INFO mon-relation-changed config('osd-journal'),
config('osd-reformat'))
2014-07-24 20:51:22 INFO mon-relation-changed File
"/var/lib/juju/agents/unit-ceph-osd-0/charm/hooks/ceph.py", line 326, in osdize
2014-07-24 20:51:22 INFO mon-relation-changed osdize_dev(dev, osd_format,
osd_journal, reformat_osd)
2014-07-24 20:51:22 INFO mon-relation-changed File
"/var/lib/juju/agents/unit-ceph-osd-0/charm/hooks/ceph.py", line 365, in
osdize_dev
2014-07-24 20:51:22 INFO mon-relation-changed subprocess.check_call(cmd)
2014-07-24 20:51:22 INFO mon-relation-changed File
"/usr/lib/python2.7/subprocess.py", line 540, in check_call
2014-07-24 20:51:22 INFO mon-relation-changed raise
CalledProcessError(retcode, cmd)
2014-07-24 20:51:22 INFO mon-relation-changed subprocess.CalledProcessError:
Command '['ceph-disk-prepare', '--fs-type', u'xfs', u'/dev/sdc']' returned
non-zero exit status 1
2014-07-24 20:51:22 ERROR juju.worker.uniter uniter.go:486 hook failed: exit
status 1
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1343199
Title:
Ceph charms die horribly when the device behaves badly
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph-osd/+bug/1343199/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs