init-runonce forces deployer to use sudo(unnecessarily)
Bug #1732963 reported by
Ravi Shekhar Jethani
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Medium
|
Ravi Shekhar Jethani |
Bug Description
After deploying we have an option to use 'init-runonce' tool for doing simple testing of the setup we just deployed. In the script we are switching[1] from current directory to the base directory of the tool(/usr/...) itself.
As a result the cirros test image is being downloaded in /usr/... this although not causing any critical issue but is forcing the deployer to unnecessarily use sudo to run the tool and letting all of the script code to have elevated privileges(not good!!).
Also downloading some temporary stuff in places like /usr/... is not a good practice.
[1]: https:/
Changed in kolla-ansible: | |
assignee: | nobody → Ravi Shekhar Jethani (ravishekar-jethani) |
Changed in kolla-ansible: | |
importance: | Undecided → Medium |
milestone: | none → queens-2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/521190
Review: https:/