Can't specify symlinks in osd-devices
Bug #1538592 reported by
Björn Tillenius
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceph (Juju Charms Collection) |
Fix Released
|
Medium
|
Björn Tillenius | ||
ceph-osd (Juju Charms Collection) |
Fix Released
|
Medium
|
Björn Tillenius |
Bug Description
If a device listed in osd-devices is a symlink to an actual devices, the ceph charm will eventually fail.
By the looks of it it sets it up correctly as a ceph device the first time around, but as soon as there's another hook execution it will try to set it up again, since it won't see that a partition of that disk is already mounted.
You can reproduce this easily by giving osd-devices /dev/disk/by-id/foo references.
It would be good have this working, since specifying the disk ids will help deploying ceph on machines where the hardware aren't exactly the same.
Related branches
lp://staging/~bjornt/charms/trusty/ceph/symlinks
- OpenStack Charmers: Pending requested
-
Diff: 77 lines (+61/-1)2 files modifiedhooks/ceph_hooks.py (+3/-1)
unit_tests/test_config.py (+58/-0)
lp://staging/~bjornt/charms/trusty/ceph-osd/symlinks
- OpenStack Charmers: Pending requested
-
Diff: 77 lines (+61/-1)2 files modifiedhooks/ceph_hooks.py (+3/-1)
unit_tests/test_config.py (+58/-0)
tags: | added: landscape |
tags: | added: kanban-cross-team |
tags: | removed: kanban-cross-team |
Changed in ceph (Juju Charms Collection): | |
status: | New → In Progress |
assignee: | nobody → Björn Tillenius (bjornt) |
Changed in ceph-osd (Juju Charms Collection): | |
status: | New → In Progress |
assignee: | nobody → Björn Tillenius (bjornt) |
Changed in ceph-osd (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
milestone: | none → 16.04 |
Changed in ceph (Juju Charms Collection): | |
milestone: | none → 16.04 |
tags: | added: openstack |
Changed in ceph (Juju Charms Collection): | |
importance: | Undecided → Medium |
Changed in ceph-osd (Juju Charms Collection): | |
importance: | Undecided → Medium |
Changed in ceph (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in ceph (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in ceph-osd (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.