Bug 1599189
| Summary: | Openstack commands won't work when the user's password contains a single '}' (curly brace) | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Punit Kundal <pkundal> |
| Component: | python-openstackclient | Assignee: | Julie Pichon <jpichon> |
| Status: | CLOSED DUPLICATE | QA Contact: | Shai Revivo <srevivo> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 10.0 (Newton) | CC: | apevec, lhh, srevivo |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-07-09 07:39:20 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: | |||
Thank you for the report, this should be fixed in the next OSP10 update. *** This bug has been marked as a duplicate of bug 1477126 *** |
Description of problem: Openstack commands are failing in case the user's password contains a single '}' at any index within the password. Other command line clients like nova and neutron work fine. Version-Release number of selected component (if applicable): python-openstackclient-3.2.1-3.el7ost.noarch How reproducible: 100% both at the customer side and in the lab. Steps to Reproduce: 1. Create a project and add a user. Make sure that the user's password contains a single curly brace. [stack@undercloud ~]$ openstack project create --description 'testproject' testproj +-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ | description | testproject | | enabled | True | | id | e43536802a7e405098385a65427ca4d1 | | name | testproj | +-------------+----------------------------------+ [stack@undercloud ~]$ openstack user create --project testproj --password redhat}123 testuser1 +------------+----------------------------------+ | Field | Value | +------------+----------------------------------+ | email | None | | enabled | True | | id | 09a179ba3ee34b40b735bcc61596c0bd | | name | testuser1 | | project_id | e43536802a7e405098385a65427ca4d1 | | username | testuser1 | +------------+----------------------------------+ 2. Create a rc file for the user: [stack@undercloud ~]$ cat testprojectrc # Clear any old environment that may conflict. for key in $( set | awk '{FS="="} /^OS_/ {print $1}' ); do unset $key ; done export OS_USERNAME=testuser1 export OS_TENANT_NAME=testproj export NOVA_VERSION=1.1 export OS_PROJECT_NAME=testproj export OS_PASSWORD=redhat}123 export OS_NO_CACHE=True export COMPUTE_API_VERSION=1.1 export no_proxy=,192.168.122.47,192.0.2.6 export OS_CLOUDNAME=overcloud export OS_AUTH_URL=http://192.168.122.47:5000/v2.0 export PYTHONWARNINGS="ignore:Certificate has no, ignore:A true SSLContext object is not available" 3. Try to run openstack commands: [stack@undercloud ~]$ openstack server list Single '}' encountered in format string [stack@undercloud ~]$ openstack volume list Single '}' encountered in format string 4. Other command line clients work fine: [stack@undercloud ~]$ glance image-list +----+------+ | ID | Name | +----+------+ +----+------+ Actual results: Openstack command line client does not work when the password contains a single brace Expected results: The commands run with the openstack command line client should work fine. Additional info: