Merge "Update exception map based on neutronclient exception rearrange"
This commit is contained in:
commit
7c8a37543f
@ -44,8 +44,7 @@ NOT_FOUND = (
|
|||||||
cinderclient.NotFound,
|
cinderclient.NotFound,
|
||||||
novaclient.NotFound,
|
novaclient.NotFound,
|
||||||
glanceclient.NotFound,
|
glanceclient.NotFound,
|
||||||
neutronclient.NetworkNotFoundClient,
|
neutronclient.NotFound,
|
||||||
neutronclient.PortNotFoundClient,
|
|
||||||
heatclient.HTTPNotFound,
|
heatclient.HTTPNotFound,
|
||||||
troveclient.NotFound,
|
troveclient.NotFound,
|
||||||
)
|
)
|
||||||
@ -63,15 +62,8 @@ RECOVERABLE = (
|
|||||||
novaclient.ClientException,
|
novaclient.ClientException,
|
||||||
novaclient.Forbidden,
|
novaclient.Forbidden,
|
||||||
glanceclient.ClientException,
|
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.Forbidden,
|
||||||
neutronclient.NeutronClientException,
|
neutronclient.NeutronClientException,
|
||||||
neutronclient.NetworkInUseClient,
|
|
||||||
neutronclient.PortInUseClient,
|
|
||||||
neutronclient.AlreadyAttachedClient,
|
|
||||||
neutronclient.StateInvalidClient,
|
|
||||||
swiftclient.ClientException,
|
swiftclient.ClientException,
|
||||||
heatclient.HTTPForbidden,
|
heatclient.HTTPForbidden,
|
||||||
heatclient.HTTPException,
|
heatclient.HTTPException,
|
||||||
|
Loading…
Reference in New Issue
Block a user