gate-tempest-dsvm-neutron-full-ubuntu-xenial is fail,because of tenant _network not support vlan in devstack

Bug #1677613 reported by cloud-liang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Invalid
Undecided
Unassigned

Bug Description

In gate-tempest-dsvm-neutron-full-ubuntu-xenial
2017-03-30 05:39:17.061729 | {0} 2017-03-30 05:40:04.986419 | {0} tempest.api.network.test_networks.NetworksTest.test_create_tenant_network_vlan [0.266660s] ... FAILED

2017-03-30 05:50:07.054198 | tempest.api.network.test_networks.NetworksTest.test_create_tenant_network_vlan[id-ac8834ec-0f84-11e7-8a53-fa163e4fa634,smoke]
2017-03-30 05:50:07.054230 | -----------------------------------------------------------------------------------------------------------------------------
2017-03-30 05:50:07.054236 |
2017-03-30 05:50:07.054246 | Captured traceback:
2017-03-30 05:50:07.054255 | ~~~~~~~~~~~~~~~~~~~
2017-03-30 05:50:07.054269 | Traceback (most recent call last):
2017-03-30 05:50:07.054305 | File "tempest/api/network/test_networks.py", line 214, in test_create_tenant_network_vlan
2017-03-30 05:50:07.054322 | **{"provider:network_type": "vlan"})['network']
2017-03-30 05:50:07.054346 | File "tempest/lib/services/network/networks_client.py", line 27, in create_network
2017-03-30 05:50:07.054362 | return self.create_resource(uri, post_data)
2017-03-30 05:50:07.054383 | File "tempest/lib/services/network/base.py", line 60, in create_resource
2017-03-30 05:50:07.054400 | resp, body = self.post(req_uri, req_post_data)
2017-03-30 05:50:07.054418 | File "tempest/lib/common/rest_client.py", line 277, in post
2017-03-30 05:50:07.054440 | return self.request('POST', url, extra_headers, headers, body, chunked)
2017-03-30 05:50:07.054459 | File "tempest/lib/common/rest_client.py", line 666, in request
2017-03-30 05:50:07.054474 | self._error_checker(resp, resp_body)
2017-03-30 05:50:07.054495 | File "tempest/lib/common/rest_client.py", line 847, in _error_checker
2017-03-30 05:50:07.054503 | resp=resp)
2017-03-30 05:50:07.054526 | tempest.lib.exceptions.UnexpectedResponseCode: Unexpected response code received
2017-03-30 05:50:07.054535 | Details: 503
2017-03-30 05:50:07.054541 |
2017-03-30 05:50:07.054546 |
2017-03-30 05:50:07.054556 | Captured pythonlogging:
2017-03-30 05:50:07.054566 | ~~~~~~~~~~~~~~~~~~~~~~~
2017-03-30 05:50:07.054623 | 2017-03-30 05:40:04,978 11711 INFO [tempest.lib.common.rest_client] Request (NetworksTest:test_create_tenant_network_vlan): 503 POST https://10.32.188.214:9696/v2.0/networks 0.265s
2017-03-30 05:50:07.054669 | 2017-03-30 05:40:04,979 11711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'X-Auth-Token': '<omitted>', 'Accept': 'application/json', 'Content-Type': 'application/json'}
2017-03-30 05:50:07.054688 | Body: {"network": {"provider:network_type": "vlan"}}
2017-03-30 05:50:07.067334 | Response - Headers: {u'x-openstack-request-id': 'req-c3f2ed26-6c1a-4d03-aa6f-9c097b2595b9', u'connection': 'close', 'content-location': 'https://10.32.188.214:9696/v2.0/networks', 'status': '503', u'content-length': '153', u'date': 'Thu, 30 Mar 2017 05:40:04 GMT', u'server': 'Apache/2.4.18 (Ubuntu)', u'content-type': 'application/json'}
2017-03-30 05:50:07.067396 | Body: {"NeutronError": {"message": "Unable to create the network. No tenant network is available for allocation.", "type": "NoNetworkAvailable", "detail": ""}}

the detailed log as below:
http://logs.openstack.org/10/451610/2/check/gate-tempest-dsvm-neutron-full-ubuntu-xenial/cb74a24/console.html

cloud-liang (lianghao)
summary: gate-tempest-dsvm-neutron-full-ubuntu-xenial is fail,because of tenant
- _network not support in devstack
+ _network not support vlan in devstack
description: updated
Changed in devstack:
assignee: nobody → cloud-liang (lianghao)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on devstack (master)

Change abandoned by Liang Hao (<email address hidden>) on branch: master
Review: https://review.openstack.org/448865

Revision history for this message
Sean Dague (sdague) wrote :

No open reviews found in this bug, unassigning. Please add a comment with active reviews before assigning an individual, or tag the bug in the gerrit review, which will do that automatically. We try not to assign bugs without patches as that discourages other folks from looking into bugs.

Changed in devstack:
assignee: cloud-liang (lianghao) → nobody
status: In Progress → New
Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

By default devstack sets up Neutron only with the local network type, please look at the neutron docs for enabling vlan type.

Changed in devstack:
status: New → Invalid
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.