devices part of RAID should be skipped
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Swift Storage Charm |
Triaged
|
Wishlist
|
Unassigned | ||
swift-storage (Juju Charms Collection) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
2016-03-23 20:35:11 INFO install mkfs.xfs: cannot open /dev/sdb: Device or resource busy
2016-03-23 20:35:11 INFO install Traceback (most recent call last):
2016-03-23 20:35:11 INFO install File "/var/lib/
2016-03-23 20:35:11 INFO install main()
2016-03-23 20:35:11 INFO install File "/var/lib/
2016-03-23 20:35:11 INFO install hooks.execute(
2016-03-23 20:35:11 INFO install File "/var/lib/
2016-03-23 20:35:11 INFO install self._hooks[
2016-03-23 20:35:11 INFO install File "/var/lib/
2016-03-23 20:35:11 INFO install setup_storage()
2016-03-23 20:35:11 INFO install File "/var/lib/
2016-03-23 20:35:11 INFO install mkfs_xfs(dev)
2016-03-23 20:35:11 INFO install File "/var/lib/
2016-03-23 20:35:11 INFO install check_call(cmd)
2016-03-23 20:35:11 INFO install File "/usr/lib/
2016-03-23 20:35:11 INFO install raise CalledProcessEr
2016-03-23 20:35:11 INFO install subprocess.
2016-03-23 20:35:11 ERROR juju.worker.
# cat /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md0 : active raid1 sdd[1] sdb[0]
16768896 blocks super 1.2 [2/2] [UU]
unused devices: <none>
The ceph-osd charm is already a bit smarter. For example:
2016-03-23 20:48:07 INFO mon-relation-
We should do the same for swift-storage.
tags: | added: kanban-cross-team landscape |
tags: | removed: kanban-cross-team |
Changed in swift-storage (Juju Charms Collection): | |
status: | New → Invalid |
Changed in charm-swift-storage: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |