]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Correct the error message in the Class NoNetworkAvailable
authorivan-zhu <bozhu@linux.vnet.ibm.com>
Fri, 28 Sep 2012 14:36:23 +0000 (22:36 +0800)
committerivan-zhu <bozhu@linux.vnet.ibm.com>
Fri, 28 Sep 2012 14:44:52 +0000 (22:44 +0800)
Bug #1052294

Change "No virtual network is available." to "No tenant
network is available for allocation."

Change-Id: I8e2b40df1afa46522666d51218b82a4deef2ff64

quantum/common/exceptions.py

index c99c25403fd4b275ca2fcbbdf3fe957226521789..365687bad32ebd95c651b43e477a5b7c817111cc 100644 (file)
@@ -147,7 +147,7 @@ class ResourceExhausted(QuantumException):
 
 class NoNetworkAvailable(ResourceExhausted):
     message = _("Unable to create the network. "
-                "No virtual network is available.")
+                "No tenant network is available for allocation.")
 
 
 class AlreadyAttached(QuantumException):