cinder does not ignore devices already in use
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Landscape Server |
Fix Released
|
High
|
Björn Tillenius | ||
| 16.06 |
Fix Released
|
High
|
Björn Tillenius | ||
| OpenStack Cinder Charm |
Triaged
|
Medium
|
Unassigned | ||
| cinder (Juju Charms Collection) |
Invalid
|
Medium
|
Unassigned | ||
Bug Description
This is from a landscape OSA deployment. Several of my hardware nodes have a /dev/nvme0n1 device, which is a PCIe SSD. For two of my nodes, I've configured it for bcache, as a result on these nodes, /dev/nvme0n1 is in use. However, on one node /dev/nvme0n1 is still unused. As a result landscape selects this as a usable cinder disk and passes it as a cinder block-device. When cinder is deployed to one of the nodes with bcache, the config-changed hook fails.
2016-05-12 20:19:20 INFO config-changed No physical volume label read from /dev/nvme0n1
2016-05-12 20:19:20 INFO config-changed Failed to read physical volume "/dev/nvme0n1"
2016-05-12 20:19:20 INFO config-changed No physical volume label read from /dev/nvme0n1
2016-05-12 20:19:20 INFO config-changed Failed to read physical volume "/dev/nvme0n1"
2016-05-12 20:19:21 INFO config-changed Creating new GPT entries.
2016-05-12 20:19:21 INFO config-changed GPT data structures destroyed! You may now partition the disk using fdisk or
2016-05-12 20:19:21 INFO config-changed other utilities.
2016-05-12 20:19:23 INFO config-changed Creating new GPT entries.
2016-05-12 20:19:23 INFO config-changed The operation has completed successfully.
2016-05-12 20:19:23 INFO config-changed 1+0 records in
2016-05-12 20:19:23 INFO config-changed 1+0 records out
2016-05-12 20:19:23 INFO config-changed 1048576 bytes (1.0 MB) copied, 0.00217673 s, 482 MB/s
2016-05-12 20:19:23 INFO config-changed 100+0 records in
2016-05-12 20:19:23 INFO config-changed 100+0 records out
2016-05-12 20:19:23 INFO config-changed 51200 bytes (51 kB) copied, 0.00078845 s, 64.9 MB/s
2016-05-12 20:19:23 INFO config-changed Can't open /dev/nvme0n1 exclusively. Mounted filesystem?
2016-05-12 20:19:23 INFO config-changed Traceback (most recent call last):
...
2016-05-12 20:19:23 INFO config-changed subprocess.
2016-05-12 20:19:23 ERROR juju.worker.
| tags: | added: kanban-cross-team |
| tags: | removed: kanban-cross-team |
| Changed in landscape: | |
| status: | New → In Progress |
| assignee: | nobody → Björn Tillenius (bjornt) |
| Changed in landscape: | |
| milestone: | none → 16.06 |
| status: | In Progress → Fix Committed |
| Changed in cinder (Juju Charms Collection): | |
| status: | New → Triaged |
| importance: | Undecided → Medium |
| Changed in landscape: | |
| status: | Fix Committed → Fix Released |
| Changed in charm-cinder: | |
| importance: | Undecided → Medium |
| status: | New → Triaged |
| Changed in cinder (Juju Charms Collection): | |
| status: | Triaged → Invalid |
Output from "juju get cinder".