Can't specify symlinks in osd-devices

Bug #1538592 reported by Björn Tillenius
12
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

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)
James Page (james-page)
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
James Page (james-page)
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.