Cannot add multi word domain descriptions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MicroStack |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Issue:
When adding a new domain, the --description option does not allow spaces. It assumes the second word in the description is the domain name.
Steps to Reproduce:
microstack.
openstack domain create: error: unrecognized arguments: a test example.com
microstack.
+------
| Field | Value |
+------
| description | this |
| enabled | True |
| id | 24a0383a7f98455
| name | domain |
| tags | [] |
+------
Expected Result:
Everything in double quotes should be part of the description.
snap list:
Name Version Rev Tracking Publisher Notes
microstack stein 198 edge canonical✓ classic
Thank you for the bug report!
This issue is due to a wrapper script that the snap places around the openstack command (said script sources /var/snap/ microstack/ common/ etc/microstack. rc, in addition to checking to verify that the snap has been initialized).
The fix is probably simple: replace `exec $@` with `exec "$@"` at the end of the script, and verify that no part of the snap is relying on the unquoted behavior.
(This would be a welcome contribution from someone with the time to submit a patch.)