Update exception map based on neutronclient exception rearrange

Change-Id: I59f31d269f97d86ce9b681dc7714c9a10892a3a2
Closes-Bug: #1296148
Related-Bug: #1284317
This commit is contained in:
Akihiro Motoki 2014-03-23 06:46:05 +09:00
parent 49d860140b
commit a1fdb4709c
1 changed files with 1 additions and 9 deletions

View File

@ -43,8 +43,7 @@ NOT_FOUND = (
cinderclient.NotFound,
novaclient.NotFound,
glanceclient.NotFound,
neutronclient.NetworkNotFoundClient,
neutronclient.PortNotFoundClient,
neutronclient.NotFound,
heatclient.HTTPNotFound,
troveclient.NotFound,
)
@ -62,15 +61,8 @@ RECOVERABLE = (
novaclient.ClientException,
novaclient.Forbidden,
glanceclient.ClientException,
# NOTE(amotoki): Neutron exceptions other than the first one
# are recoverable in many cases (e.g., NetworkInUse is not
# raised once VMs which use the network are terminated).
neutronclient.Forbidden,
neutronclient.NeutronClientException,
neutronclient.NetworkInUseClient,
neutronclient.PortInUseClient,
neutronclient.AlreadyAttachedClient,
neutronclient.StateInvalidClient,
swiftclient.ClientException,
heatclient.HTTPForbidden,
heatclient.HTTPException,