/usr/share/kolla needs to be documented in docs/ansible-deployment.md
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Low
|
Kuo-tung Kao (jelly) |
Bug Description
On a fresh system running the ansible playbook results in the following error:
TASK: [database | Ensuring templates config directory exists] *****************
<localhost> REMOTE_MODULE file state=directory path=/usr/
failed: [localhost] => {"failed": true, "parsed": false}
Traceback (most recent call last):
File "/home/
main()
File "/home/
os.
OSError: [Errno 13] Permission denied: '/usr/share/kolla'
FATAL: all hosts have already failed -- aborting
We should document that this needs to be set (node_templates
Changed in kolla: | |
milestone: | none → liberty-rc1 |
Changed in kolla: | |
milestone: | liberty-rc1 → liberty-rc2 |
Changed in kolla: | |
assignee: | nobody → jelly (coding1314) |
Changed in kolla: | |
milestone: | liberty-rc2 → liberty-rc3 |
Changed in kolla: | |
status: | Fix Committed → Fix Released |
Currently the playbooks require root. We do things like set sysctl settings and mess with directories owned by root.
The directory /usr/share/kolla _will_ be changed as default, but it will be changed to /var/lib/kolla and /opt/kolla will be changed to /etc/kolla.
This bug can be used to track the docs change to say the ansible-playbooks must be run as root since the defaults being changed is handled elsewhere.