In previous code we didn't check whether we have an enabled
backup service there before we send out the rpc request,
results that if no enabled backup service there,the volume will
stays in "backing-up" state and the backup will stays in "creating".
This patch fixed this issue, we exam whether at least an appropriate
(same host,az as the volume and is_alive) backup service available
before we do the rpc request.
Reviewed: https:/ /review. openstack. org/36612 github. com/openstack/ cinder/ commit/ dbb854635fdb988 e28acf87d221fa2 78e6cb8c0c
Committed: http://
Submitter: Jenkins
Branch: master
commit dbb854635fdb988 e28acf87d221fa2 78e6cb8c0c
Author: xiaoxi_chen <email address hidden>
Date: Thu Jul 11 15:22:04 2013 +0800
Check enabled backup service before rpc request
In previous code we didn't check whether we have an enabled
backup service there before we send out the rpc request,
results that if no enabled backup service there,the volume will
stays in "backing-up" state and the backup will stays in "creating".
This patch fixed this issue, we exam whether at least an appropriate
(same host,az as the volume and is_alive) backup service available
before we do the rpc request.
Fixes: bug #1200040 20f7b784e6fcefc cf15dc81d1d
Change-Id: I77154528f489ed