summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorYun Mao <yunmao@gmail.com>2013-02-07 16:46:35 -0500
committerYun Mao <yunmao@gmail.com>2013-02-07 16:46:52 -0500
commit8880aadb976db6ec79a1eed61feb1bc82af0f8e4 (patch)
tree827a16eb9bc1f727d4b62ce60521ce3a2d2fc4db /nova/exception.py
parent90c02e2cf93c188b45903d0815bea6920db279da (diff)
downloadnova-8880aadb976db6ec79a1eed61feb1bc82af0f8e4.tar.gz
nova-8880aadb976db6ec79a1eed61feb1bc82af0f8e4.tar.xz
nova-8880aadb976db6ec79a1eed61feb1bc82af0f8e4.zip
Implement ZooKeeper driver for ServiceGroup API.
The ZooKeeper driver uses ephemeral nodes in ZooKeeper to keep track of node liveness in a service group. The Implementation is based on the evzookeeper library to combine zookeeper and eventlet. Part of blueprint zk-service-heartbeat DocImpact: new driver Change-Id: Ia20519de2b4964007f8b91ea5d56d1875510d40f
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index 3b20b7e78..ede512a97 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -1110,3 +1110,8 @@ class CryptoCRLFileNotFound(FileNotFound):
class InstanceRecreateNotSupported(Invalid):
message = _('Instance recreate is not implemented by this virt driver.')
+
+
+class ServiceGroupUnavailable(NovaException):
+ message = _("The service from servicegroup driver %(driver) is "
+ "temporarily unavailable.")