Comment 4 for bug 1692987

Revision history for this message
Luke Short (ekultails) wrote :

I found a lot of hard-coded paths in the Playbooks for using "/home/{{ non_root_user }}" and "/home/{{ ssh_user }}" for assumptions of the $HOME path. I have started to refactor the code to support using non-standard home directories which is helpful in the case of using /root. I also changed the "non_root_user" variable to be the "provision_user" to signify that it now *can* be a root user. The "non_root_user" can still used for backwards compatibility.

This work is being done in my fork and branch here:

https://github.com/ekultails/tripleo-quickstart/tree/root_user_support

I am using this TripleO-Quickstart command for testing:

$ bash quickstart.sh --teardown none --no-clone --release trunk/newton -e "provision_user=root" -e "ssh_user=root" -e "undercloud_user=root" -e "overcloud_user=root" -e "undercloud_user_home=/root" --tags all -v 127.0.0.2

Currently I still cannot get this to work and this requires further tweaking. I will be out of town for a few days and would appreciate having some other eyes looking into this. I am still very new to the TripleO-Quickstart project and at least have a strong background with using both Ansible and OpenStack.