← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1844568] Re: [compute] "create_test_server" if networks is undefined and more than one network is present

 

After discussion with Ghanshyam we can consider this bug done.

kopecmartin	gmann: thanks .. btw, is this still in progress? i see bunch of merged reviews, isn't it done already? https://bugs.launchpad.net/tempest/+bug/1844568	14:22
openstack	Launchpad bug 1844568 in tempest "[compute] "create_test_server" if networks is undefined and more than one network is present" [Medium,In progress] - Assigned to Ghanshyam Mann (ghanshyammann)	14:22
gmann	kopecmartin: we covered most of the tests and we kept this to find and fix more tests but i have not seen network failure recently.	14:36
gmann	kopecmartin: we can close this and if something comes up then just fix it.	14:36
gmann	without this bug link or just with ref to bug	14:36
kopecmartin	ok, makes sense

** Changed in: tempest
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1844568

Title:
  [compute] "create_test_server" if networks is undefined and more than
  one network is present

Status in OpenStack Compute (nova):
  Triaged
Status in tempest:
  Fix Released

Bug description:
  This problem was detected in "ServersNegativeTestJSON" [1]. When a
  server is created ("cls.create_test_server"), if a network is not
  defined but several networks are present in this project, Nova raises
  the exception "NetworkAmbiguous", a seen in this log snippet:

  Sep 13 23:44:15.520980 ubuntu-bionic-limestone-regionone-0011283625 devstack@n-api.service[27339]: DEBUG nova.network.neutronv2.api [None req-c95ecec2-8d10-4984-8ba9-b608161dd645 tempest-ServersNegativeTestJSON-445859222 tempest-ServersNegativeTestJSON-445859222] validate_networks() for None {{(pid=27340) validate_networks /opt/stack/nova/nova/network/neutronv2/api.py:2251}}
  Sep 13 23:44:15.754945 ubuntu-bionic-limestone-regionone-0011283625 devstack@n-api.service[27339]: INFO nova.api.openstack.wsgi [None req-c95ecec2-8d10-4984-8ba9-b608161dd645 tempest-ServersNegativeTestJSON-445859222 tempest-ServersNegativeTestJSON-445859222] HTTP exception thrown: Multiple possible networks found, use a Network ID to be more specific.

  
  We can see that the network information provided to the server creation is empty but Nova tries to assign a default single network for this server. However Nova does not assign this default network because several networks are present for this project ID. In this case, the server creation should be specific passing the network information.

  
  [1]https://58a87e825b9766115d07-cec36eea8e90c9127fc5a72b798cfeab.ssl.cf2.rackcdn.com/670177/9/check/networking-ovn-tempest-dsvm-ovs-release/b58638a/testr_results.html.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1844568/+subscriptions