auto-allocate related v2 jobs failures

Bug #1684350 reported by YAMAMOTO Takashi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-midonet
Fix Released
Critical
YAMAMOTO Takashi

Bug Description

probably due to Id2db458f4688e4aa4c70ccdb09867b9a66de28ea

eg. http://logs.openstack.org/05/458305/1/check/gate-tempest-dsvm-networking-midonet-v2-ubuntu-xenial/a5f0813/logs/testr_results.html.gz

ft1.2: neutron.tests.tempest.api.test_auto_allocated_topology.TestAutoAllocatedTopology.test_get_allocated_net_topology_as_tenant[id-64bc0b02-cee4-11e5-9f3c-080027605a2b]_StringException: Empty attachments:
  stderr
  stdout

pythonlogging:'': {{{
2017-04-20 03:01:36,913 13056 INFO [tempest.lib.common.rest_client] Request (TestAutoAllocatedTopology:test_get_allocated_net_topology_as_tenant): 200 GET http://10.35.62.156:9696/v2.0/networks?admin_state_up=True 0.136s
2017-04-20 03:01:36,913 13056 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'status': '200', u'connection': 'close', 'content-location': 'http://10.35.62.156:9696/v2.0/networks?admin_state_up=True', u'content-type': 'application/json', u'x-openstack-request-id': 'req-c1067813-b061-4d9e-96ab-70359fbb4f0f', u'date': 'Thu, 20 Apr 2017 03:01:36 GMT', u'content-length': '510'}
        Body: {"networks":[{"status":"ACTIVE","subnets":["6a592e06-0557-42f9-bd12-2e53df9fe756","bcce1169-7c5f-48d5-aaf6-1b48b768d386"],"name":"public","admin_state_up":true,"tenant_id":"d0f5742ccab84035a0ee67a3e25a3c24","created_at":"2017-04-20T02:49:31Z","tags":[],"updated_at":"2017-04-20T03:01:36Z","is_default":false,"router:external":true,"revision_number":8,"shared":false,"port_security_enabled":true,"project_id":"d0f5742ccab84035a0ee67a3e25a3c24","id":"b02dacde-d6ff-4d7e-b6b8-9b425f0db6e2","description":"gman"}]}
2017-04-20 03:01:36,960 13056 INFO [tempest.lib.common.rest_client] Request (TestAutoAllocatedTopology:test_get_allocated_net_topology_as_tenant): 200 GET http://10.35.62.156:9696/v2.0/subnets?admin_state_up=True 0.046s
2017-04-20 03:01:36,960 13056 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'status': '200', u'connection': 'close', 'content-location': 'http://10.35.62.156:9696/v2.0/subnets?admin_state_up=True', u'content-type': 'application/json', u'x-openstack-request-id': 'req-f88f9ed9-d5c3-4df5-9ec2-af7d1d67332d', u'date': 'Thu, 20 Apr 2017 03:01:36 GMT', u'content-length': '14'}
        Body: {"subnets":[]}
2017-04-20 03:01:37,031 13056 INFO [tempest.lib.common.rest_client] Request (TestAutoAllocatedTopology:test_get_allocated_net_topology_as_tenant): 200 GET http://10.35.62.156:9696/v2.0/routers?admin_state_up=True 0.070s
2017-04-20 03:01:37,031 13056 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'status': '200', u'connection': 'close', 'content-location': 'http://10.35.62.156:9696/v2.0/routers?admin_state_up=True', u'content-type': 'application/json', u'x-openstack-request-id': 'req-ab0a411a-d97d-4ffb-a456-e6f6ec04e6d1', u'date': 'Thu, 20 Apr 2017 03:01:37 GMT', u'content-length': '15'}
        Body: {"routers": []}
2017-04-20 03:01:37,064 13056 INFO [tempest.lib.common.rest_client] Request (TestAutoAllocatedTopology:test_get_allocated_net_topology_as_tenant): 409 GET http://10.35.62.156:9696/v2.0/auto-allocated-topology/None 0.032s
2017-04-20 03:01:37,064 13056 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'status': '409', u'connection': 'close', 'content-location': 'http://10.35.62.156:9696/v2.0/auto-allocated-topology/None', u'content-type': 'application/json', u'x-openstack-request-id': 'req-239c6fdb-8399-4233-b605-823afa6531ad', u'date': 'Thu, 20 Apr 2017 03:01:37 GMT', u'content-length': '133'}
        Body: {"NeutronError": {"message": "Deployment error: No default router:external network.", "type": "AutoAllocationFailure", "detail": ""}}
}}}

Traceback (most recent call last):
  File "/opt/stack/new/neutron/neutron/tests/tempest/api/test_auto_allocated_topology.py", line 91, in test_get_allocated_net_topology_as_tenant
    body = self.client.get_auto_allocated_topology()
  File "/opt/stack/new/neutron/neutron/tests/tempest/services/network/json/network_client.py", line 802, in get_auto_allocated_topology
    resp, body = self.get(uri)
  File "tempest/lib/common/rest_client.py", line 292, in get
    return self.request('GET', url, extra_headers, headers)
  File "tempest/lib/common/rest_client.py", line 666, in request
    self._error_checker(resp, resp_body)
  File "tempest/lib/common/rest_client.py", line 787, in _error_checker
    raise exceptions.Conflict(resp_body, resp=resp)
tempest.lib.exceptions.Conflict: An object with that identifier already exists
Details: {u'type': u'AutoAllocationFailure', u'detail': u'', u'message': u'Deployment error: No default router:external network.'}

Tags: gate-failure
Changed in networking-midonet:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
importance: Undecided → Critical
milestone: none → 5.0.0
status: New → In Progress
tags: added: gate-failure
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-midonet (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on networking-midonet (master)

Change abandoned by YAMAMOTO Takashi (<email address hidden>) on branch: master
Review: https://review.openstack.org/458324
Reason: merged into https://review.openstack.org/#/c/457173/ to pass the gate

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-midonet (master)

Reviewed: https://review.openstack.org/457173
Committed: https://git.openstack.org/cgit/openstack/networking-midonet/commit/?id=d8da4255438006cd7f872de6f028a251fab4024b
Submitter: Jenkins
Branch: master

commit d8da4255438006cd7f872de6f028a251fab4024b
Author: YAMAMOTO Takashi <email address hidden>
Date: Mon Apr 17 17:11:17 2017 +0900

    v2/bgp: a few enginefacade related updates

    Closes-Bug: #1683234
    Related-Bug: #1490917

    Also, this commit includes the following unrelated changes
    to pass the gate.
    --------------------
    Remove QoS notification driver

    Follow the recent neutron change. [1]

    [1] I5f747635be3fd66b70326d9f94c85a6736286bd2

    Closes-Bug: #1683586
    --------------------
    devstack: Adapt to the recent uwsgi switch

    Update after the recent devstack change. [1]

    Note: this breaks devmido case
    Note: this requires relatively recent version of MidoNet [2]

    [1] I46294fb24e3c23fa19fcfd7d6c9ee8a932354702
    [2] Ieb311acac367532b71f502075cc4839288f4cd05

    Closes-Bug: #1684338
    Change-Id: I2ae8a8f1f34e5105d002905230a43a8b04093de5
    --------------------
    v2: notify NETWORK PRECOMMIT_CREATE/PRECOMMIT_UPDATE events

    They are used by auto_allocate after the recent neutron change. [1]

    [1] Id2db458f4688e4aa4c70ccdb09867b9a66de28ea

    Closes-Bug: #1684350
    Change-Id: I8460ca4b0156c9ab28d3e5b638a033931ca78e39
    --------------------

    Change-Id: I590ce615699c5e26abd47b84eedb27a9a6fd1455

Changed in networking-midonet:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-midonet 5.0.0.0b2

This issue was fixed in the openstack/networking-midonet 5.0.0.0b2 development milestone.

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.