deploy failed when didn't defined node_config_directory

Bug #1702630 reported by jangseon ryu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Invalid
Undecided
jangseon ryu

Bug Description

I was failed to deploy without defining node_config_directory option as below.

TASK [common : Ensuring config directories exist] ***************************************************
failed: [ceph3] (item=fluentd) => {"failed": true, "item": "fluentd", "msg": "There was an issue creating /etc/kolla as requested: [Errno 13] Permission denied: '/etc/kolla'", "path
": "/etc/kolla//fluentd", "state": "absent"}
failed: [ceph3] (item=fluentd/input) => {"failed": true, "item": "fluentd/input", "msg": "There was an issue creating /etc/kolla as requested: [Errno 13] Permission denied: '/etc/ko
lla'", "path": "/etc/kolla//fluentd/input", "state": "absent"}

If node_config_directory was not defined, kolla use "/etc/kolla" as a default directory.
however most systems set the /etc to root privilege.

I think that we need to run create directory task with sudo
and change owner of directory with ansible_user.

Changed in kolla-ansible:
assignee: nobody → jangseon ryu (jangseon-ryu)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

Fix proposed to branch: master
Review: https://review.openstack.org/480891

Changed in kolla-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-ansible (master)

Change abandoned by jangseon ryu (<email address hidden>) on branch: master
Review: https://review.openstack.org/480891
Reason: This is being worked in a global kolla change to implement non root user.
https://review.openstack.org/#/c/398682/10/ansible/roles/common/tasks/config.yml

Revision history for this message
Eduardo Gonzalez (egonzalez90) wrote :

Being worked in a blueprint as feature for non root users.

https://blueprints.launchpad.net/kolla-ansible/+spec/ansible-specific-task-become

Changed in kolla-ansible:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.