Gate fails with neutron cmd (HTTP 401)

Bug #1533581 reported by Yang Hongyang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Astara
Fix Released
High
Adam Gandelman
Liberty
Fix Committed
High
Adam Gandelman

Bug Description

Gate fails with following error:
2016-01-13 09:16:49.438 | +++ _auth_args neutron secretservice service
2016-01-13 09:16:49.438 | +++ local username=neutron
2016-01-13 09:16:49.438 | +++ local password=secretservice
2016-01-13 09:16:49.438 | +++ local tenant_name=service
2016-01-13 09:16:49.438 | +++ local 'auth_args=--os-username neutron --os-password secretservice --os-auth-url http://127.0.0.1:35357'
2016-01-13 09:16:49.438 | +++ '[' 3 -eq 3 ']'
2016-01-13 09:16:49.438 | +++ auth_args='--os-username neutron --os-password secretservice --os-auth-url http://127.0.0.1:35357 --os-project-name service'
2016-01-13 09:16:49.438 | +++ echo '--os-username neutron --os-password secretservice --os-auth-url http://127.0.0.1:35357 --os-project-name service'
2016-01-13 09:16:49.439 | ++ local 'auth_args=--os-username neutron --os-password secretservice --os-auth-url http://127.0.0.1:35357 --os-project-name service'
2016-01-13 09:16:49.439 | ++ neutron --os-username neutron --os-password secretservice --os-auth-url http://127.0.0.1:35357 --os-project-name service net-show public
2016-01-13 09:16:50.149 | The request you have made requires authentication. (HTTP 401) (Request-ID: req-44e75935-3f72-42e5-8602-2396e76795d4)
2016-01-13 09:16:50.172 | ++ neutron --os-username neutron --os-password secretservice --os-auth-url http://127.0.0.1:35357 --os-project-name service net-create public --router:external
2016-01-13 09:16:50.917 | The request you have made requires authentication. (HTTP 401) (Request-ID: req-9b931f76-527d-4cb3-902e-c1c70dcd344e)

http://logs.openstack.org/51/266551/1/check/gate-functional-dsvm-astara/ef85e22/logs/devstacklog.txt.gz

Revision history for this message
Yang Hongyang (hongyang-yang) wrote :

This was fixed by commit: da8d8cd9f

Changed in astara:
status: New → Fix Committed
Revision history for this message
Yang Hongyang (hongyang-yang) wrote :

commit da8d8cd9fc04b4d0ac468cf4789175693a6cf3d2
Author: Adam Gandelman <email address hidden>
Date: Mon Jan 4 15:35:59 2016 -0800

    gate fixer: Fix devstack auth issue and new PEP8 violation

    Squashes two commits needed to unblock the gate:

    devstack: prevent auth params set in env. polluting client calls

    The switch to keystone v3 has introduces issues when other devstack
    components set tenant or project name in environment, as it overrides
    those set by us in our plugin script. This ensures that doesnt happen.
    It also updates usage of upload_image to avoid issuing a token (no longer
    needed) and uses openstack client to create the nova flavor using clouds.yaml.

    Fix E402 pep8 violation

    Change-Id: Icfd0790e0f23bc9daaef6e006e39e3b94e42417e

Revision history for this message
Adam Gandelman (gandelman-a) wrote :
Changed in astara:
milestone: none → mitaka-2
Changed in astara:
importance: Undecided → High
Changed in astara:
assignee: nobody → Adam Gandelman (gandelman-a)
Changed in astara:
status: Fix Committed → Fix Released
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.