Comment 15 for bug 1708433

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/rocky)

Reviewed: https://review.openstack.org/605118
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=e1d55af4089fe6b76680285e36069ab0f57404ab
Submitter: Zuul
Branch: stable/rocky

commit e1d55af4089fe6b76680285e36069ab0f57404ab
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/594325
    is posted for mentioning the limitation with SR-IOV port attach
    as well.

    Change-Id: Ibbf2bd3cdd45bcd61eebff883c30ded525b2495d
    Closes-Bug: #1708433
    (cherry picked from commit 68011c40ae2ab0900674408a88f62a60a802fef7)