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 __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev