The sheepdog driver of cinder should use a policy to make full
use of all sheepdog nodes of a cluster instead of single node.
It can solve single point of failure and hot spot problem.
This patch uses random method. When it needs to run a dog command
or provide a location path to qemu, it gets a random node from all
sheepdog nodes of a cluster.
Reviewed: https:/ /review. openstack. org/296220 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=bac0d4e550c 0a1a9cef6befc91 71c9d85cb0ac39
Committed: https:/
Submitter: Jenkins
Branch: master
commit bac0d4e550c0a1a 9cef6befc9171c9 d85cb0ac39
Author: zhangsong <email address hidden>
Date: Wed Mar 23 14:39:56 2016 +0800
Sheepdog:make full use of all sheepdog nodes
The sheepdog driver of cinder should use a policy to make full
use of all sheepdog nodes of a cluster instead of single node.
It can solve single point of failure and hot spot problem.
This patch uses random method. When it needs to run a dog command
or provide a location path to qemu, it gets a random node from all
sheepdog nodes of a cluster.
Change-Id: I0280b71203d998 29796244afbd9a8 f308b7e910a
Closes-Bug: #1560807