The openstack-endpoints validation can't read overcloudrc

Bug #1643808 reported by Tomas Sedovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Tomas Sedovic

Bug Description

Running the openstack-endpoints validation from Mistral will fail, because the validations user will not be able to access /home/stack/overcloudrc.

In addition, there may not even be an overcloudrc file (e.g. when deployed via the UI). The validation should not fail in that case -- either it should show a warning or find the overcloud authentication values from elsewhere.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-validations (master)

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

Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
milestone: ocata-2 → ocata-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-validations (master)

Reviewed: https://review.openstack.org/400800
Committed: https://git.openstack.org/cgit/openstack/tripleo-validations/commit/?id=8927704efafaf12f12212f445a3e8a9425b2a97b
Submitter: Jenkins
Branch: master

commit 8927704efafaf12f12212f445a3e8a9425b2a97b
Author: Tomas Sedovic <email address hidden>
Date: Tue Nov 22 07:58:15 2016 -0500

    Don't rely on overcloudrc

    We were reading overcloudrc for the openstack-endpoints validation.
    However, the name of tha file may differ if the deployment plan is
    called something else than "overcloud" and more importantly, the GUI
    deployments don't create the file on the undercloud at all.

    This updates the Ansible inventory to read the admin password and
    keystone url for the specified plan if available and the validation to
    use those values instead of relying on overcloudrc.

    Change-Id: I9ff26016c43888267968ef2588f686f7de95bda3
    Closes-Bug: #1643808

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-validations (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/433812

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-validations 5.4.0

This issue was fixed in the openstack/tripleo-validations 5.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-validations (stable/newton)

Reviewed: https://review.openstack.org/433812
Committed: https://git.openstack.org/cgit/openstack/tripleo-validations/commit/?id=ce16415c8c6a4193d4bc5253be9f36a9126334b8
Submitter: Jenkins
Branch: stable/newton

commit ce16415c8c6a4193d4bc5253be9f36a9126334b8
Author: Tomas Sedovic <email address hidden>
Date: Tue Nov 22 07:58:15 2016 -0500

    Don't rely on overcloudrc

    We were reading overcloudrc for the openstack-endpoints validation.
    However, the name of tha file may differ if the deployment plan is
    called something else than "overcloud" and more importantly, the GUI
    deployments don't create the file on the undercloud at all.

    This updates the Ansible inventory to read the admin password and
    keystone url for the specified plan if available and the validation to
    use those values instead of relying on overcloudrc.

    Change-Id: I9ff26016c43888267968ef2588f686f7de95bda3
    Closes-Bug: #1643808
    (cherry picked from commit 8927704efafaf12f12212f445a3e8a9425b2a97b)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-validations 5.1.2

This issue was fixed in the openstack/tripleo-validations 5.1.2 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.