[openstack-dev] [cinder] [nova] whether the ServiceGroup in Cinder is necessary
Michał Dulko
michal.dulko at intel.com
Mon Dec 28 08:50:51 UTC 2015
On 12/28/2015 05:03 AM, hao wang wrote:
> hi, Janice
>
> This idea seems to me that is useful to detect the state of
> cinder-volume process more quickly, but I feel there is another issue
> that if the back-end device go to fail you still
> can't keep cloud in ha or create volume successfully since the service
> is up but device is down.
>
> So, what I want to say is we maybe need to consider to detect and
> report the device state priority[1] and then consider to improve
> service if we need that.
>
> [1]https://review.openstack.org/#/c/252921/
We're already doing something similar in terms of driver initialization
state [1]. c-vols with uninitialized drivers will show up as "down".
Your idea also seems to make sense to me.
https://github.com/openstack/cinder/blob/master/cinder/volume/manager.py#L474-L481
More information about the OpenStack-dev
mailing list