ceph-osd charm does not error when all configured devices are missing
Bug #1424510 reported by
Paul Gear
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceph-osd (Juju Charms Collection) |
Fix Released
|
Low
|
Unassigned |
Bug Description
On a new deploy, if ceph-osd is configured to use devices that do not exist and thus it contributes no storage to the pool, it does not report an error in juju status. This means that a cloud could be deployed without noticing that some of its storage is missing.
Changed in ceph (Juju Charms Collection): | |
importance: | Undecided → Wishlist |
importance: | Wishlist → Low |
status: | New → Triaged |
milestone: | none → 15.07 |
tags: | added: openstack |
Changed in ceph (Juju Charms Collection): | |
milestone: | 15.07 → 15.10 |
Changed in ceph (Juju Charms Collection): | |
milestone: | 15.10 → 16.01 |
Changed in ceph (Juju Charms Collection): | |
status: | Triaged → In Progress |
assignee: | nobody → Seyeong Kim (xtrusia) |
tags: | added: sts |
Changed in ceph (Juju Charms Collection): | |
milestone: | 16.01 → 16.04 |
Changed in ceph (Juju Charms Collection): | |
assignee: | Seyeong Kim (xtrusia) → nobody |
status: | In Progress → Confirmed |
Changed in ceph (Juju Charms Collection): | |
milestone: | 16.04 → 16.07 |
Changed in ceph (Juju Charms Collection): | |
milestone: | 16.07 → 16.10 |
Changed in ceph (Juju Charms Collection): | |
milestone: | 16.10 → 17.01 |
To post a comment you must log in.
Partial log of charm startup:
2015-02-20 11:11:06 INFO juju-log mon:32: Making dir /var/lib/ charm/ceph- osd root:root 555 changed update- alternatives: using /var/lib/ charm/ceph- osd/ceph. conf to provide /etc/ceph/ceph.conf (ceph.conf) in auto mode changed creating /var/lib/ ceph/bootstrap- osd/ceph. keyring changed added entity client. bootstrap- osd auth auth(auid = 184467440737095 51615 key=AQAeFOdUSOB DERAA9hbzzoKgdK lAW1ZYJQy1fQ= = with 0 caps)
2015-02-20 11:11:06 INFO mon-relation-
2015-02-20 11:11:06 INFO mon-relation-
2015-02-20 11:11:06 INFO mon-relation-
2015-02-20 11:11:06 INFO juju-log mon:32: Path /dev/sdd does not exist - bailing
2015-02-20 11:11:06 INFO juju-log mon:32: Path /dev/sde does not exist - bailing
Regardless of the number of devices/directories configured, if > 0 locations fail due to problems, the charm should report an error.