Comment 4 for bug 1629679

Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote : Re: [Bug 1629679] Re: destroy-unit doesn't take OSDs down

The ceph charms have no stop hook, meaning that there's no expectation of it removing anything on removal, unfortunately

> On Oct 2, 2016, at 19:25, James Troup <email address hidden> wrote:
>
> And the alternatives handling for ceph.conf...
>
> --
> You received this bug notification because you are a member of OpenStack
> Charmers, which is subscribed to ceph in Juju Charms Collection.
> https://bugs.launchpad.net/bugs/1629679
>
> Title:
> destroy-unit doesn't take OSDs down
>
> Status in ceph package in Juju Charms Collection:
> New
>
> Bug description:
> I ran 'juju destroy ceph-osd/0' and expected this to take the OSDs on
> ceph-osd/0 down and out. It didn't; even when ceph-osd/0 was
> completely gone, the OSDs were still up and running.
>
> Given ceph is currently run almost exclusively on bare metal (and
> therefor entirely possibly not the last unit on the machine), I think
> it would make sense for the charms to not assume the machine hosting
> the unit is going away and instead explicitly take down the OSDs. And
> perhaps stop them from coming back up again to avoid epic confusion on
> reboot?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/charms/+source/ceph/+bug/1629679/+subscriptions