diff options
author | Zuul <zuul@review.opendev.org> | 2021-09-02 19:03:47 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2021-09-02 19:03:47 +0000 |
commit | 3bca00dbce0daf64898028e815c324bb83a5a0ba (patch) | |
tree | 26d9ccf12e48319205c256a8e58d794bb9c4e9da /nova/api/openstack/compute | |
parent | 9eab3b741b63041e190f504128f0e20c2ec0524b (diff) | |
parent | 44309c419ff44dcf91d4905116f51bd5fdb72a96 (diff) | |
download | nova-3bca00dbce0daf64898028e815c324bb83a5a0ba.tar.gz |
Merge "Support interface attach / detach with new resource request format"
Diffstat (limited to 'nova/api/openstack/compute')
-rw-r--r-- | nova/api/openstack/compute/attach_interfaces.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nova/api/openstack/compute/attach_interfaces.py b/nova/api/openstack/compute/attach_interfaces.py index a329420878..6a24a60959 100644 --- a/nova/api/openstack/compute/attach_interfaces.py +++ b/nova/api/openstack/compute/attach_interfaces.py @@ -177,7 +177,9 @@ class InterfaceAttachmentController(wsgi.Controller): exception.NetworksWithQoSPolicyNotSupported, exception.InterfaceAttachPciClaimFailed, exception.InterfaceAttachResourceAllocationFailed, - exception.ForbiddenPortsWithAccelerator) as e: + exception.ForbiddenPortsWithAccelerator, + exception.ExtendedResourceRequestOldCompute, + ) as e: raise exc.HTTPBadRequest(explanation=e.format_message()) except ( exception.InstanceIsLocked, |