← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2072154] Re: Port status goes BUILD when migrating non-sriov instance in sriov setting.

 

Hello Seyeong, or anyone else affected,

Accepted neutron into noble-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/neutron/2:24.0.0-0ubuntu2 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: neutron (Ubuntu)
       Status: In Progress => Fix Released

** Changed in: neutron (Ubuntu Noble)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-noble

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2072154

Title:
  Port status goes BUILD when migrating non-sriov instance in sriov
  setting.

Status in Ubuntu Cloud Archive:
  Fix Released
Status in Ubuntu Cloud Archive antelope series:
  In Progress
Status in Ubuntu Cloud Archive bobcat series:
  In Progress
Status in Ubuntu Cloud Archive caracal series:
  In Progress
Status in Ubuntu Cloud Archive dalmation series:
  Fix Released
Status in Ubuntu Cloud Archive epoxy series:
  Fix Released
Status in Ubuntu Cloud Archive yoga series:
  In Progress
Status in Ubuntu Cloud Archive zed series:
  In Progress
Status in neutron:
  Fix Released
Status in neutron package in Ubuntu:
  Fix Released
Status in neutron source package in Jammy:
  In Progress
Status in neutron source package in Noble:
  Fix Committed
Status in neutron source package in Oracular:
  Fix Released

Bug description:
  [ Impact ]

  Port status goes BUILD when migrating non-sriov instance in sriov
  setting.

  [ Test Plan ]

  1. Deploy OpenStack using Juju & Charms ( upstream also has the same code )
  2. Enable SRIOV
  3. create a vm without sriov nic. (test)
  4. migrate it to another host
  - openstack server migrate --live-migration --os-compute-api-version 2.30 --host node-04.maas test
  5. check port status
  - https://paste.ubuntu.com/p/RKGnP76MvB/

  [ Where problems could occur ]

  this patch is related to sriov agent. it adds checking if port is
  sriov or not. so it could be possible that sriov port can be handled
  inproperly.

  [ Other Info ]

  nova-compute has neutron-sriov-nic-agent and neutron-ovn-metadata-
  agent

  So far, I've checked that

  ovn_monitor change it to ACTIVE but sriov-nic-agent change it back to
  BUILD by calling _get_new_status

  ./plugins/ml2/drivers/mech_sriov/agent/sriov_nic_agent.py
  binding_activate
  - get_device_details_from_port_id
  - get_device_details
  - _get_new_status < this makes status BUILD.

  so as running order is not fixed, sometimes it goes ACTIVE, sometimes
  BUILD.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/2072154/+subscriptions



References