Bug 1768439 - AdminPassword with special character fails deployment
Summary: AdminPassword with special character fails deployment
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 13.0 (Queens)
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: Alex Schultz
QA Contact: Jad Haj Yahya
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-04 13:02 UTC by Alex Stupnikov
Modified: 2020-03-10 11:22 UTC (History)
2 users (show)

Fixed In Version: openstack-tripleo-heat-templates-8.4.1-21.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-10 11:22:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1811005 0 None None None 2019-11-06 15:01:22 UTC
OpenStack gerrit 693193 0 'None' MERGED Move bootstrap password to an environment var 2020-03-19 00:29:10 UTC
Red Hat Product Errata RHBA-2020:0760 0 None None None 2020-03-10 11:22:45 UTC

Comment 1 Alex Stupnikov 2019-11-28 13:35:34 UTC
Description of problem:

This is a downstream version of upstream bug:
https://bugs.launchpad.net/tripleo/+bug/1811005

Customer reported this problem for another special character: space. The error is a bit different (but occurs at the same step):

$ cat templates/custom-undercloud-params.yaml
parameter_defaults:
  Debug: True
  AdminPassword: "Type good password"
  AdminEmail: "admin"


And the output from undercloud install:

$openstack undercloud install
...
...
        "Error running ['podman', 'exec', '--user=root', 'keystone', '/usr/bin/bootstrap_host_exec', 'keystone', 'keystone-manage', 'bootstrap', '--bootstrap-password', 'Type good password']. [2]",
        "stderr: usage: keystone-manage [bootstrap|credential_migrate|credential_rotate|credential_setup|db_sync|db_version|doctor|domain_config_upload|fernet_rotate|fernet_setup|create_jws_keypair|mapping_populate|mapping_purge|mapping_engine|receipt_rotate|receipt_setup|saml_idp_metadata|token_rotate|token_setup|trust_flush]",
        "keystone-manage: error: unrecognized arguments: good password",
        "exit status 2"
    ]
}

Comment 4 errata-xmlrpc 2020-03-10 11:22:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:0760


Note You need to log in before you can comment on or make changes to this bug.