yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #80886
[Bug 1844568] Re: [compute] "create_test_server" if networks is undefined and more than one network is present
tempest.scenario.test_minbw_allocation_placement.MinBwAllocationPlacementTest.test_qos_min_bw_allocation_basic,
which was enabled in the nova-next job this week:
https://review.opendev.org/#/c/697180/
is likely causing the spike in failures in the nova-next job. See this
failed job:
https://zuul.opendev.org/t/openstack/build/b7872ac3886e4cc7a060c1376a2a3395/log
/job-output.txt#79124
The failing compute api tests are running while that test is going and
that scenario test creates a public network, so that's likely the cause
of the failure.
The nova-next job should probably blacklist that test until this bug is
fixed.
** Also affects: nova
Importance: Undecided
Status: New
--
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:
In Progress
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