Ceph install fails by using removable devices
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph OSD Charm |
Triaged
|
Wishlist
|
Unassigned | ||
OpenStack Ceph Charm (Retired) |
Won't Fix
|
Medium
|
Unassigned | ||
ceph (Juju Charms Collection) |
Invalid
|
Medium
|
Unassigned |
Bug Description
It appears that ceph-install detects and attempts to use removable devices (CD, SD card) as valid block storage:
unit-ceph-0: 2015-02-10 04:05:31 INFO mon-relation-
unit-ceph-0: 2015-02-10 04:05:31 ERROR juju.worker.uniter uniter.go:486 hook failed: exit status 1
This causes the landscape install to fail at 94%.
Storage devices on all boxes in the cluster:
/dev/sda - 136GB RAID0
/dev/sdb - 136GB RAID0
/dev/sdc - CD drive
/dev/sdd - SD card
This could be due to how they're being reported in the debian installer (?). During install time the devices are reported as sdc and sdd respectively, but post install they are sda and sdb. However, ceph does appear to correctly provision /dev/sdb for itself.
Attached is the log set from landscape.
Changed in ceph (Juju Charms Collection): | |
assignee: | nobody → Chris Holcombe (xfactor973) |
tags: | added: kanban-cross-team |
tags: | removed: kanban-cross-team |
Changed in charm-ceph: | |
assignee: | nobody → Chris Holcombe (xfactor973) |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in ceph (Juju Charms Collection): | |
status: | Triaged → Invalid |
unit-ceph-2: 2015-02-10 04:05:20 INFO mon-relation- changed #015Reading state information... 0%#015#015Reading state information... 0%#015#015Reading state information... Done changed changed ******* ******* ******* ******* ******* ******* ******* ******* ******* changed Found invalid GPT and valid MBR; converting MBR to GPT format changed in memory. changed ******* ******* ******* ******* ******* ******* ******* ******* ******* changed changed Warning: The kernel is still using the old partition table. changed The new table will be used at the next reboot. changed GPT data structures destroyed! You may now partition the disk using fdisk or changed other utilities. changed Warning: The kernel is still using the old partition table. changed The new table will be used at the next reboot. changed The operation has completed successfully. changed Warning: The kernel is still using the old partition table. changed The new table will be used at the next reboot. changed The operation has completed successfully. changed Error: Partition(s) 5 on /dev/sdb have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes. changed Warning: The kernel is still using the old partition table. changed The new table will be used at the next reboot. changed The operation has completed successfully. changed Error: Error informing the kernel about modifications to partition /dev/sdb1 -- Device or resource busy. This means Linux won't know about any changes you made to /dev/sdb1 until you reboot -- so you shouldn't mount it or use it in any way before rebooting. changed Error: Failed to add partition 1 (Device or resource busy) changed ceph-disk: Error: partition 1 for /dev/sdb does not appear to exist changed Traceback (most re...
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:23 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:23 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:23 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:24 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:25 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:25 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:25 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:26 ERROR juju-log mon:60: Unable to initialize device: /dev/sdb
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-