commit af5df70f617b03f86cd3dc898c889a1825630c9e
Author: Matt Riedemann <email address hidden>
Date: Wed Aug 15 13:33:16 2018 +0800
Explicitly fail if trying to attach SR-IOV port
Attaching SR-IOV ports to existing instances is not supported
since the compute service does not perform any kind of PCI
device allocation, so we should fail fast with a clear error
if attempted. Note that the compute RPC API "attach_interface"
method is an RPC call from nova-api to nova-compute so the error
raised here will result in a 400 response to the user.
Blueprint sriov-interface-attach-detach would need to be
implemented to support this use case, and could arguably involve
a microversion to indicate when the feature was made available.
Reviewed: https:/ /review. opendev. org/695408 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=af5df70f617 b03f86cd3dc898c 889a1825630c9e
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit af5df70f617b03f 86cd3dc898c889a 1825630c9e
Author: Matt Riedemann <email address hidden>
Date: Wed Aug 15 13:33:16 2018 +0800
Explicitly fail if trying to attach SR-IOV port
Attaching SR-IOV ports to existing instances is not supported
since the compute service does not perform any kind of PCI
device allocation, so we should fail fast with a clear error
if attempted. Note that the compute RPC API "attach_interface"
method is an RPC call from nova-api to nova-compute so the error
raised here will result in a 400 response to the user.
Blueprint sriov-interface -attach- detach would need to be
implemented to support this use case, and could arguably involve
a microversion to indicate when the feature was made available.
A related neutron docs patch https:/ /review. openstack. org/695409
is posted for mentioning the limitation with SR-IOV port attach
as well.
Conflicts due to no having 7e57d3d6f0db704 5b56ffe60203eb9 and da9807cc8c32b68 1542c7048c9977e in Pike.
Ifcc327f9f9
I4440a19370
Change-Id: Ibbf2bd3cdd45bc d61eebff883c30d ed525b2495d 00674408a88f62a 60a802fef7) 76680285e36069a b0f57404ab) e2029939cacf4e3 fecb95282a)
Closes-Bug: #1708433
(cherry picked from commit 68011c40ae2ab09
(cherry picked from commit e1d55af4089fe6b
(cherry picked from commit 7827890421a61a4