It appears the 'ansible' user in kolla-toolbox needs the home dir permissions changed

Bug #1599677 reported by Steve Hindle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Invalid
High
Michał Jastrzębski

Bug Description

A fresh ubuntu source build from master fails to deploy
( log file snippet here: http://paste.openstack.org/show/526632 )

I believe the core issue is ownership of the /home/ansible directory:

root@c1n2:/home# docker exec -ti kolla_toolbox /bin/bash
(kolla-toolbox)[ansible@c1n2 /]$ ls -ld /home /home/ansible /home/ansible/.*
drwxr-xr-x 3 root root 4096 Jul 6 16:33 /home
drwxr-xr-x 2 root root 4096 Jul 6 16:33 /home/ansible
drwxr-xr-x 2 root root 4096 Jul 6 16:33 /home/ansible/.
drwxr-xr-x 3 root root 4096 Jul 6 16:33 /home/ansible/..
-rw-r--r-- 1 root root 67 Dec 31 1969 /home/ansible/.ansible.cfg

Revision history for this message
Michał Jastrzębski (inc007) wrote :

Issue is I can't reproduce it:/

(venv) root@inc0-sandbox-1:~/kolla# docker exec -it kolla_toolbox ls -la /home/ansible
total 28
drwxr-xr-x 1 ansible ansible 4096 Jul 8 15:56 .
drwxr-xr-x 1 root root 4096 Jul 7 15:53 ..
drwx------ 3 ansible ansible 4096 Jul 8 15:56 .ansible
-rw-r--r-- 1 root root 67 Jan 1 1970 .ansible.cfg
-rw-r--r-- 3 ansible ansible 220 Apr 9 2014 .bash_logout
-rw-r--r-- 3 ansible ansible 3786 Jul 7 15:48 .bashrc
-rw-r--r-- 3 ansible ansible 675 Apr 9 2014 .profile

Changed in kolla:
importance: Undecided → High
assignee: nobody → Michał Jastrzębski (inc007)
Changed in kolla:
milestone: none → newton-2
Changed in kolla:
milestone: newton-2 → newton-3
Revision history for this message
Steve Hindle (shindle) wrote :

This appears to have disappeared with my latest cluster rebuild (2016-07-19).

Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

I am hit by this issue and it is disappeared now, too. no idea why. Mark it invalid now and please reopen it when it happen again.

Changed in kolla:
status: New → 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.