User-defined AdminPassword is not correctly set in overcloudrc

Bug #1649576 reported by Marius Cornea
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Triaged
High
Unassigned

Bug Description

  The OS_PASSWORD parameter in the overcloudrc file is different than what is
  defined for AdminPassword in an Overcloud template file.

  For example, password "adminpass" is set for AdminPassword in the following
  template file.

  [stack@manager ~]$ cat templates/userconfig.yaml
  parameter_defaults:
    AdminPassword: adminpass

  However, the overcloudrc file contains a different password after Overcloud
  deployment is complete.

  [stack@manager ~]$ cat overcloudrc
  export OS_NO_CACHE=True
  export OS_CLOUDNAME=overcloud
  export OS_AUTH_URL=http://192.168.100.209:5000/v2.0
  export NOVA_VERSION=1.1
  export COMPUTE_API_VERSION=1.1
  export OS_USERNAME=admin
  export no_proxy=,192.168.100.209,192.168.246.11,192.168.100.209,192.168.246.17
  export OS_PASSWORD=PZfjzPaATUQFPzYWMXxCw6r7H
  export PYTHONWARNINGS="ignore:Certificate has no, ignore:A true SSLContext object is not available"
  export OS_TENANT_NAME=admin

  It is not possible to execute any OpenStack commands even after importing
  the overcloudrc file.

  [stack@manager ~]$ source overcloudrc
  [stack@manager ~]$ openstack image list
  The request you have made requires authentication. (HTTP 401) (Request-ID: req-c76926f7-ee1a-4107-9ea1-cfe20bb823bc)

  We can log into the Dashboard using the password "adminpass". Therefore,
  it seems that only the OS_PASSWORD parameter in overcloudrc is incorrect.

Changed in tripleo:
status: New → Triaged
Revision history for this message
Emilien Macchi (emilienm) wrote :

Note: it affects newton

tags: added: newton-backport-potential tripleoclient
Changed in tripleo:
importance: Undecided → High
Revision history for this message
Emilien Macchi (emilienm) wrote :

It seems like this bug will be fixed by https://bugs.launchpad.net/tripleo/+bug/1615720 so I'm closing this one.

Marius, if you still see this bug in the future please let us know.

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

Reviewed: https://review.openstack.org/410255
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=f59d9d8664ee20fe522ef09757b2e6399b2d98ce
Submitter: Jenkins
Branch: stable/newton

commit f59d9d8664ee20fe522ef09757b2e6399b2d98ce
Author: Dougal Matthews <email address hidden>
Date: Mon Nov 14 13:28:02 2016 +0000

    Move the overcloudrc generation from tripleoclient to a Mistral action

    This change moves the code from tripleoclient to a new Mistral action.

    Closes-Bug: #1649576
    Partial-Bug: #1615720
    Change-Id: I1302dcfa83ee9eed8ebe721536dfc454b5da5b6c
    (cherry picked from commit 8aa57e2715b6988625981f4c93b693a0746ce7cb)

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

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