Re: blinking lights

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 24.10.2018 um 12:26 schrieb John Spray:
> On Wed, Oct 24, 2018 at 12:09 AM Sage Weil <sweil@xxxxxxxxxx> wrote:
>>
>>
>> 3) Delegate this to the new orchestrator.  Kube can just run this command
>> wherever we want.  Ansible presumably can too.
> 
> I agree with Kai and Jan that this is the way to go.
> 
> Using the libstoragemgmt network service is still possible, it would
> just be an implementation detail for the orchestrator itself.  I can
> imagine that in some future container environments, deploying
> something like the libstoragemgmt network service becomes quite
> cheap/easy, and saves the effort of tools like Rook implementing their
> own agent hooks -- but Ceph won't care.
> 
> This would be an area where we need to get the orchestrator's device
> names in line with Ceph's internal device naming -- that would be
> useful anyway for other orchestrator functionality.

Yes. As the OSD may no longer be running, and thus out of reach for
Ceph, we should to use the orchestrator for that.

> 
>> 4) Depend on the libstoragemgmt network service.  nmcli is just one part
>> of the suite... there's also a REST API that lets you do stuff.  There are
>> presumably certificates to configure and such to make it all work, though.
>>
>> Also, there are some implementation oddities.  The on/off state source
>> of truth is the enclosure itself.  So if you turn the light off in ceph,
>> we need to be certain we turned it off with the device before we clear out
>> our state.  Maybe we have states like off, pending-on, on, pending-off,
>> and we don't transition from pending-foo to foo until we get a success
>> from the command that is supposed to toggle the light state.
> 
> I'd be inclined to just make the command synchronous, and return an
> error if the host is unreachable (perhaps with a special force flag to
> clear out Ceph's state if the host is gone and never coming back).
> 
> John
> 
>>
>> Thoughts?  I think this is within striking distance (finally) and it would
>> be sweet to land it in nautilus!
>>
>> sage
> 

-- 
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton,
HRB 21284 (AG Nürnberg)

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux