Bug 1431243 - Physical Function's state DOWN after deallocation
Summary: Physical Function's state DOWN after deallocation
Keywords:
Status: CLOSED DUPLICATE of bug 1392585
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 10.0 (Newton)
Assignee: Brent Eagles
QA Contact: Amit Ugol
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-10 17:32 UTC by Ricardo Noriega
Modified: 2023-09-14 03:55 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-07 19:00:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 444527 0 None None None 2017-03-10 22:45:35 UTC
OpenStack gerrit 445595 0 None None None 2017-07-07 18:57:20 UTC

Comment 1 Ricardo Noriega 2017-03-10 17:37:10 UTC
Description of problem:

After removing a VM with a PF allocated, the link state of the interface is down. This state avoids the VFs assigned to that PF to be properly allocated.


Version-Release number of selected component (if applicable):


How reproducible:

In an SRIOV environment with VFs and PFs with OSP10 GA.


Steps to Reproduce:

neutron port-create nfv_sriov --binding:vnic-type direct-physical --name pf1
neutron port-create nfv_sriov --binding:vnic-type direct --name vf1

nova boot test-passthrough --security-groups allowall --flavor m1.small.numapin --key-name key --image centos_pwd2 --nic port-id=$(neutron port-list | grep pf1 | awk '{print $2}')

nova delete test-passthrough

nova boot test-sriov --security-groups allowall --flavor m1.small.numapin --key-name key --image centos_pwd2 --nic port-id=$(neutron port-list | grep vf1 | awk '{print $2}')

ERROR related to: {"message": "internal error: Unable to configure VF 1 of PF 'p3p1' because the PF is not online. Please change host network config to put the PF online.", "code": 500, "details": "  File \"/usr/lib/python2.7/site-packages/nova/compute/manager.py\", line 1779, in _do_build_and_run_instance |
|                                      |     filter_properties)

Additional info:

Changing the NM_CONTROLLED flag to yes in the SRIOV NIC's config, it will set link state to UP and allow the allocation of the VFs.

Comment 7 Assaf Muller 2017-07-07 18:57:21 UTC
Attached the stable/newton backport.

Comment 8 Assaf Muller 2017-07-07 19:00:00 UTC
This was already fixed and available in OSP 10, closing as a dup.

*** This bug has been marked as a duplicate of bug 1392585 ***

Comment 9 Red Hat Bugzilla 2023-09-14 03:55:04 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.