Charm directory created as OSD
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph OSD Charm |
Fix Released
|
Medium
|
Billy Olsen | ||
OpenStack Ceph Charm (Retired) |
Fix Released
|
Medium
|
Unassigned | ||
ceph (Juju Charms Collection) |
Invalid
|
Medium
|
Unassigned | ||
ceph-osd (Juju Charms Collection) |
Invalid
|
Medium
|
Billy Olsen |
Bug Description
For the osd-devices configuration, if there is an extra space in the list of devices (e.g. '/dev/sdb /dev/sdc /dev/sdd' with 2 spaces between /dev/sdb and /dev/sdc), the charm will turn the current working directory (e.g. the charm directory) into an OSD.
Now the charm directory itself is polluted AND the root devices for the machine is being used for space in the Ceph cluster. This is not good.
The reason for this that devices from the configuration are retrieved as follows:
if config(
devices = [
for path in config(
Note, splitting on space ' ' will return an empty string for the value between the two spaces. os.path.
One can avoid this by not specifying multiple spaces.
Changed in ceph (Juju Charms Collection): | |
status: | New → Confirmed |
status: | Confirmed → Triaged |
Changed in ceph (Juju Charms Collection): | |
importance: | Undecided → Medium |
Changed in charm-ceph: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in ceph (Juju Charms Collection): | |
status: | Triaged → Invalid |
Changed in charm-ceph-osd: | |
assignee: | nobody → Billy Olsen (billy-olsen) |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in ceph-osd (Juju Charms Collection): | |
status: | Fix Committed → Invalid |
Changed in charm-ceph-osd: | |
milestone: | none → 17.02 |
Changed in charm-ceph-osd: | |
status: | Fix Committed → Fix Released |
Changed in charm-ceph: | |
milestone: | none → 17.08 |
Changed in charm-ceph: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/414351
Review: https:/