Network is not created for randomly generated tenant with quantum

Bug #1092009 reported by Nachi Ueno
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
tempest
In Progress
High
Adam Gandelman

Bug Description

Network is not created for randomly generated tenant with quantum
because of this same tests fails with quantum configuration

Revision history for this message
Nachi Ueno (nati-ueno) wrote :

Result of tempest

08:57:15 ======================================================================
08:57:15 FAIL: All public and private addresses for
08:57:15 ----------------------------------------------------------------------
08:57:15 Traceback (most recent call last):
08:57:15 File "/opt/stack/new/tempest/tempest/tests/compute/servers/test_server_addresses.py", line 77, in test_list_server_addresses
08:57:15 self.assertGreaterEqual(len(addresses), 1)
08:57:15 AssertionError: 0 not greater than or equal to 1
08:57:15 """Fail immediately, with the given message."""
08:57:15 >> raise self.failureException('0 not greater than or equal to 1')
08:57:15
08:57:15 -------------------- >> begin captured logging << --------------------
08:57:15 tempest.common.rest_client: ERROR: Request URL: http://127.0.0.1:8774/v2/9d31a9cdd1c64d21be616aa22
https://jenkins.openstack.org/job/gate-tempest-devstack-vm-quantum/358/console

Revision history for this message
dan wendlandt (danwent) wrote :

Nachi, so is the plan to make quantum's nova integration properly populate the network_model? I'm adding Trey, as I think he is the owner of the network_model stuff.

Revision history for this message
Nachi Ueno (nati-ueno) wrote :

Hi Dan

My plan is let the method(get_nw_info_for_instance) call nova.network.api. get_instance_nw_info.

Changed in quantum:
assignee: nobody → Nachi Ueno (nati-ueno)
Changed in nova:
assignee: nobody → Nachi Ueno (nati-ueno)
status: New → In Progress
Changed in quantum:
status: New → In Progress
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/18460

Revision history for this message
Nachi Ueno (nati-ueno) wrote : Re: test_list_server_addresses false negative for quantum
Download full text (4.5 KiB)

My bad. This function looks working.

nim20:ubuntu% curl -i http://216.69.83.13:8774/v2/714bbefbd22e49978025b88372d1507a/servers/398241d1-406c-4fca-978f-4ab8cba1bfc0/ips -X GET -H "X-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JlZ2lvbiI6ICJSZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzIxNi42OS44My4xMzo4Nzc2L3YxLzcxNGJiZWZiZDIyZTQ5OTc4MDI1Yjg4MzcyZDE1MDdhIiwgImlkIjogImRmNzZiMmY0MTlkNzRiZjg5MTQ5OTI4OTkxZGVmMWU1IiwgInB1YmxpY1VSTCI6ICJodHRwOi8vMjE2LjY5LjgzLjEzOjg3NzYvdjEvNzE0YmJlZmJkMjJlNDk5NzgwMjViODgzNzJkMTUwN2EifV0sICJlbmRwb2ludHNfbGlua3MiOiBbXSwgInR5cGUiOiAidm9sdW1lIiwgIm5hbWUiOiAiY2luZGVyIn0sIHsiZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzIxNi42OS44My4xMzo4NzczL3NlcnZpY2VzL0FkbWluIiwgInJlZ2lvbiI6ICJSZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzIxNi42OS44My4xMzo4NzczL3NlcnZpY2VzL0Nsb3VkIiwgImlkIjogIjdkMTE1NTBiNzdhMzQ4NmRiZjU5MjZjMzg0ODA2YjUwIiwgInB1YmxpY1VSTCI6ICJodHRwOi8vMjE2LjY5LjgzLjEzOjg3NzMvc2VydmljZXMvQ2xvdWQifV0sICJlbmRwb2ludHNfbGlua3MiOiBbXSwgInR5cGUiOiAiZWMyIiwgIm5hbWUiOiAiZWMyIn0sIHsiZW5kcG9pbnRzIjogW3siYWRtaW5...

Read more...

Changed in quantum:
importance: High → Undecided
status: In Progress → Invalid
summary: - /server/uuid/ips didn't work with quantum
+ test_list_server_addresses false negative for quantum
Revision history for this message
Nachi Ueno (nati-ueno) wrote :

OK Current tempest code looks didn't create networks for each automatically created tenant.
This is source of problem.
Until this is fix , I would like to skip this testing

no longer affects: nova
no longer affects: quantum
summary: - test_list_server_addresses false negative for quantum
+ Network is not created for randomly generated tenant with quantum
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

Fix proposed to branch: master
Review: https://review.openstack.org/18521

Changed in tempest:
assignee: nobody → Nachi Ueno (nati-ueno)
status: New → In Progress
Changed in tempest:
importance: Undecided → High
Revision history for this message
Nathan Biles (npbiles) wrote :

Any progress on this? I think it may be the cause behind a bug I opened:

https://bugs.launchpad.net/tempest/+bug/1156798

Revision history for this message
Adam Gandelman (gandelman-a) wrote :

Short of using the network client to create networks for tenant, would it be sufficient to conditionally skip this test if quantum is enabled?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

Fix proposed to branch: master
Review: https://review.openstack.org/28222

Changed in tempest:
assignee: Nachi Ueno (nati-ueno) → Adam Gandelman (gandelman-a)
Revision history for this message
Attila Fazekas (afazekas) wrote :

@Adam:

Do you have any update about this bug ?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.