[octane] Password in 'openstack' CLI command is not escaped
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Oleg S. Gelbukh | ||
8.0.x |
Fix Committed
|
High
|
Anton Chevychalov | ||
Mitaka |
Fix Released
|
High
|
Ilya Kharin | ||
Newton |
Fix Committed
|
High
|
Oleg S. Gelbukh |
Bug Description
Detailed bug description:
If the admin password passed to 'octane' command contains special symbols (e.g. parenthesis), the commands that specify the password in with CLI option will fail. See example below.
Steps to reproduce:
1. Install the Fuel Master node version 7
2. Install OpenStack cluster version 7.0 (Kilo)
3. Change password for 'admin' user in OpenStack cluster:
ssh node-1
...
. openrc
keystone user-list # Look up the user ID for 'admin'
keystone user-password-
4. Upgrade the Fuel Master node to version 8 (per documentation)
5. Run command 'octane upgrade-env <ENV_ID>'
Expected result:
New environment with random name created with release version 8
Actual result:
Command fails with the following error message:
2016-05-17 00:14:28 INFO octane.
2016-05-17 00:14:28 ERROR octane Command 'sh' returned non-zero exit status 2
2016-05-17 00:14:28 ERROR octane.
Reproducibility:
Always
Workaround:
Don't use special symbols in passwords
Impact:
Any Fuel Master node with admin password that contain special symbols
Description of environment:
N/A
Changed in fuel: | |
milestone: | none → 8.0-updates |
assignee: | nobody → Fuel Octane (fuel-octane-team) |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: area-upg |
tags: |
added: area-up removed: area-upg |
tags: |
added: team-upgrades removed: area-up |
description: | updated |
Fix proposed to branch: master /review. openstack. org/332846
Review: https:/