consume clouds.yaml from devstack in functional tests

Bug #1507386 reported by Monty Taylor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Fix Released
Undecided
Monty Taylor
python-neutronclient
Fix Released
High
Monty Taylor

Bug Description

Some client functional tests write out a config file for auth credentials to work around tox env var handling. However, devstack already writes out clouds.yaml which has auth information and is consumed by python-openstackclient during devstack.

Instead of reading openrc and then writing out a file, just use the one that's there.

Changed in python-neutronclient:
assignee: nobody → Monty Taylor (mordred)
status: New → In Progress
Changed in python-glanceclient:
assignee: nobody → Kairat Kushaev (kkushaev)
Louis Taylor (kragniz)
Changed in python-glanceclient:
assignee: Kairat Kushaev (kkushaev) → Monty Taylor (mordred)
Changed in python-glanceclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-glanceclient (master)

Reviewed: https://review.openstack.org/236713
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=84538d8870b2204cb9ea0a24217e5b3cb6f38b4f
Submitter: Jenkins
Branch: master

commit 84538d8870b2204cb9ea0a24217e5b3cb6f38b4f
Author: Monty Taylor <email address hidden>
Date: Sun Oct 18 12:16:25 2015 -0400

    Use clouds.yaml from devstack for functional tests

    devstack produces a file called clouds.yaml already with credentials in
    it. Rather than producing our own config file to run functional tests,
    just consume the clouds.yaml file that's already there.

    Closes-Bug: #1507386
    Change-Id: I82c071b2cd903b9578d1f2ec515882c815812692

Changed in python-glanceclient:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-neutronclient (master)

Reviewed: https://review.openstack.org/236730
Committed: https://git.openstack.org/cgit/openstack/python-neutronclient/commit/?id=51b2e71add3d63dccff98b22a803339e9dfae267
Submitter: Jenkins
Branch: master

commit 51b2e71add3d63dccff98b22a803339e9dfae267
Author: Monty Taylor <email address hidden>
Date: Sun Oct 18 14:47:56 2015 -0400

    Use clouds.yaml from devstack for functional tests

    devstack produces a file called clouds.yaml already with credentials in
    it. Rather than producing our own config file to run functional tests,
    just consume the clouds.yaml file that's already there.

    Closes-Bug: #1507386
    Change-Id: Ie15b5da2e61f5b35e3bdeb75f0ba21c58ddfca76

Changed in python-neutronclient:
status: In Progress → Fix Committed
Changed in python-glanceclient:
milestone: none → 1.2.0
status: Fix Committed → Fix Released
Akihiro Motoki (amotoki)
Changed in python-neutronclient:
milestone: none → 4.0.0
importance: Undecided → High
Akihiro Motoki (amotoki)
Changed in python-neutronclient:
status: Fix Committed → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-neutronclient 4.0.0

This issue was fixed in the openstack/python-neutronclient 4.0.0 release.

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.