Invalid input for external_gateway_info. Reason: '' is not a valid UUID.

Bug #1610960 reported by Ihar Hrachyshka
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ironic
Invalid
Critical
Unassigned
OpenStack Shared File Systems Service (Manila)
Invalid
Undecided
Unassigned
grenade
Invalid
Undecided
Unassigned
os-client-config
Confirmed
Undecided
Unassigned

Bug Description

Currently grenade gate is completely busted with:

ft14.1: setUpClass (tempest.api.identity.admin.v3.test_domains.DomainsTestJSON)_StringException: Traceback (most recent call last):
  File "tempest/test.py", line 273, in setUpClass
    six.reraise(etype, value, trace)
  File "tempest/test.py", line 261, in setUpClass
    cls.setup_credentials()
  File "tempest/test.py", line 361, in setup_credentials
    credential_type=credentials_type)
  File "tempest/test.py", line 535, in get_client_manager
    creds = getattr(cred_provider, credentials_method)()
  File "tempest/common/dynamic_creds.py", line 305, in get_primary_creds
    return self.get_credentials('primary')
  File "tempest/common/dynamic_creds.py", line 297, in get_credentials
    credentials.tenant_id)
  File "tempest/common/dynamic_creds.py", line 214, in _create_network_resources
    router = self._create_router(router_name, tenant_id)
  File "tempest/common/dynamic_creds.py", line 273, in _create_router
    tenant_id=tenant_id)
  File "tempest/lib/services/network/routers_client.py", line 26, in create_router
    return self.create_resource(uri, post_body)
  File "tempest/lib/services/network/base.py", line 60, in create_resource
    resp, body = self.post(req_uri, req_post_data)
  File "tempest/lib/common/rest_client.py", line 273, in post
    return self.request('POST', url, extra_headers, headers, body, chunked)
  File "tempest/lib/common/rest_client.py", line 667, in request
    resp, resp_body)
  File "tempest/lib/common/rest_client.py", line 770, in _error_checker
    raise exceptions.BadRequest(resp_body, resp=resp)
tempest.lib.exceptions.BadRequest: Bad request
Details: {u'type': u'HTTPBadRequest', u'detail': u'', u'message': u"Invalid input for external_gateway_info. Reason: '' is not a valid UUID."}

http://logs.openstack.org/26/352326/1/check/gate-grenade-dsvm-neutron-ubuntu-trusty/acf0516/console.html

Changed in neutron:
importance: Undecided → Critical
tags: added: gate-failure tempest
Revision history for this message
Jakub Libosvar (libosvar) wrote :

I did some first triage and I see that after upgrade, tempest config is changed, specifically public_network_id is removed after upgrade.
Old: http://logs.openstack.org/26/352326/1/check/gate-grenade-dsvm-neutron-ubuntu-trusty/acf0516/logs/old/tempest_conf.txt.gz

New: http://logs.openstack.org/26/352326/1/check/gate-grenade-dsvm-neutron-ubuntu-trusty/acf0516/logs/old/tempest_conf.txt.gz

That leads to creating router with external gateway ip set to empty string.

Revision history for this message
Jakub Libosvar (libosvar) wrote :
Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :

Added tempest and grenade projects as affected because I see those gates broken.

Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :
Revision history for this message
Jakub Libosvar (libosvar) wrote :

logstash query: http://bit.ly/2aViOeo

Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :

Things to consider:

- keystoneauth was bumped in gate to 2.11.0: https://review.openstack.org/#/c/351619/
- os-client-config was bumped to 1.19.1: https://review.openstack.org/#/c/351839/

Revision history for this message
Dariusz Smigiel (smigiel-dariusz) wrote :

I'm wondering if it's somehow connected to this one: http://goo.gl/msK0KG.

First patch where I've found this Traceback is: https://review.openstack.org/#/c/326729/ but grenade passed.

Revision history for this message
Hirofumi Ichihara (ichihara-hirofumi) wrote :

The gate-grenade-dsvm-neutron-ubuntu-trusty with os-client-config revert patch[1] succeeded[2]. So os-client-config causes this issue.

[1]: https://review.openstack.org/#/c/352457/
[2]: http://logs.openstack.org/57/352457/1/check/gate-grenade-dsvm-neutron-ubuntu-trusty/99ff82c/logs/grenade.sh.txt.gz#_2016-08-08_15_43_20_293

Changed in ironic:
importance: Undecided → Critical
status: New → Confirmed
Changed in neutron:
status: New → Confirmed
Revision history for this message
Jay Faulkner (jason-oldos) wrote :

https://review.openstack.org/#/c/352454 is merged, and I believe should've fixed the issue. Rechecking an ironic patch now.

Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :

Jay, it's not merged just yet.

Matt Riedemann (mriedem)
no longer affects: neutron
no longer affects: tempest
Changed in grenade:
status: New → Invalid
Changed in manila:
status: New → Invalid
Changed in ironic:
status: Confirmed → Invalid
Changed in os-client-config:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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