Fix the documentation regarding usage by root / sudoer

Bug #1495619 reported by Eran Rom
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
storlets
New
Undecided
Unassigned

Bug Description

The docs suggest if you are not using ROOT you can drive the ansible script using (ansible-playbook -s -i storlet.yml), generally speaking this will not work because sudo prompts for a password, so what the docs should say is to use the combination of -s -K, the later prompts for a password.
    With that said, the above is going to cause problems, namely due to the following invocation (here's just one example) python /opt/ibm/add_new_tenant.py service swift
    The ansible script calls a python program that starts a process which drives another anible script, but of course if you weren't using root (and -K) it'll attempt to prompt, implying it will simply hang forever waiting for input.
    Given this I think we need to specify that the user used for SSH is either root, or has sudo with passwordless SSH (e.g. rsa between all the hosts).

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.