gate-tempest-dsvm-ironic-agent_ssh fails with a Swift error

Bug #1492216 reported by Christian Schwede
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Lucas Alvares Gomes

Bug Description

A recent change broke Ironic tests, because devstack is no longer able to setup the Swift tempurl keys. Error:

http://logs.openstack.org/68/217068/14/check/gate-tempest-dsvm-ironic-agent_ssh/18d8590/logs/devstacklog.txt.gz#_2015-09-04_09_04_55_527

The reason is the OS_AUTH_URL. Until recently it was set with:

export OS_AUTH_URL=http://127.0.0.1:35357/v2.0

Successful test for example: http://logs.openstack.org/03/220003/2/gate/gate-tempest-dsvm-ironic-agent_ssh/a23d537/logs/devstacklog.txt.gz#_2015-09-03_21_00_16_153

However, a recent commit changed this:

https://github.com/openstack-dev/devstack/commit/7594b100128bdd4f6397dacf8de4d4c3059f6bb3

It's now set without the trailing /v2.0:

export OS_AUTH_URL=http://127.0.0.1:35357

For example:

http://logs.openstack.org/68/217068/14/check/gate-tempest-dsvm-ironic-agent_ssh/18d8590/logs/devstacklog.txt.gz#_2015-09-04_09_03_45_104

A quick fix is to set the OS_AUTH_URL with the trailing /v2.0; a long-term fix might include a patch to python-keystoneclient.

Changed in devstack:
assignee: nobody → Christian Schwede (cschwede)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

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

Changed in devstack:
status: New → In Progress
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Changed in devstack:
assignee: Christian Schwede (cschwede) → Lucas Alvares Gomes (lucasagomes)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.openstack.org/220532
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=f768787bdd6dddf2790f83a884618d29677ca77c
Submitter: Jenkins
Branch: master

commit f768787bdd6dddf2790f83a884618d29677ca77c
Author: Lucas Alvares Gomes <email address hidden>
Date: Fri Sep 4 15:34:06 2015 +0100

    Revert "Convert identity defaults to keystone v3 api"

    This change have broke the Ironic tests. Reverting to unblock the Ironic
    gate.

    This reverts commit 4b115ad526df7e12bbdc71e0280b3c691e53ed04.

    Closes-Bug: #1492216
    Change-Id: I03acfdf47caf435cede1df08fd79b288a6662435

Changed in devstack:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/220458
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=3e3212b52d14c27c002c27b6d4f8bcfa7f5ffbcf
Submitter: Jenkins
Branch: master

commit 3e3212b52d14c27c002c27b6d4f8bcfa7f5ffbcf
Author: Christian Schwede <email address hidden>
Date: Fri Sep 4 13:02:19 2015 +0200

    Add trailing IDENTITY_API_VERSION to OS_AUTH_URL in swift_configure_tempurls

    The python-keystoneclient requires a trailing /v<IDENTITY_API_VERSION> to
    successfully authenticate, otherwise it fails with a 404 error due to a not
    found resource.

    This error showed up only when generating Swift tempurls, because the error was
    raised when using python-swiftclient.

    This change fixes this for python-swiftclient within devstack.

    Change-Id: Ibe222d65162898db69acba076b5fe1cb3621fbc3
    Closes-Bug: 1492216

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.