Bug 1596114

Summary: FFWD : Warn the user about incompatible character in the password.
Product: Red Hat OpenStack Reporter: Sofer Athlan-Guyot <sathlang>
Component: documentationAssignee: RHOS Documentation Team <rhos-docs>
Status: CLOSED NOTABUG QA Contact: RHOS Documentation Team <rhos-docs>
Severity: medium Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: jbuchta, jpichon, srevivo, vgrosu
Target Milestone: asyncKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-20 10:23:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sofer Athlan-Guyot 2018-06-28 09:23:04 UTC
Hi,

following up on https://bugzilla.redhat.com/show_bug.cgi?id=1477128.

We need to make sure that the user won't have curly brace in their password before starting the undercloud upgrade in FFWD.

To this end a shell block with a warning in the documentation that shows:
 - how to check the current value;
 - if broken:
   - fix it;
   - verify it works


It should be in a warning at the top of the undercloud upgrade section of the bz.

Comment 2 Julie Pichon 2018-06-29 08:34:39 UTC
Suggested note:

If the fix for bug 1477126 is present on your OSP10 system, you should ensure that the undercloud user password was not modified to include a curly bracket as this may cause issues during the Fast-Forward Upgrade process.

You can check the current undercloud user password by grepping the stackrc file for OS_PASSWORD, or checking the OS_PASSWORD variable in your environment if you have already sourced the file.

$ grep OS_PASSWORD stackrc

or

$ env | grep OS_PASSWORD

If the password contains a curly bracket ({ or }) you should change the password before proceeding, using the following command:

$ openstack user set --password "<Your new password>" admin

Modify the stackrc file to use the new password and source it again. You can then run any 'openstack' command to ensure the new password was updated correctly.

$ vi stackrc
$ source stackrc
$ env | grep OS_PASSWORD
$ openstack project list

If the output is as expected, with the OS_PASSWORD value not containing curly brackets and the project list being displayed, you may proceed with the Fast-Forward Upgrade.

Comment 5 Sofer Athlan-Guyot 2021-08-20 10:20:01 UTC
Hi,

so my understanding is that osp10 last version is fixed.  As such, no warning is required anymore and this can be closed.

Comment 7 Vlada Grosu 2021-09-28 14:58:30 UTC
clearing needinfo