Hi,

I'm trying to run "sos collect" (4.1) to ssh into my node and gather the logs as
root.

I'm doing so by running:

sos collect --become --ssh-user heat-admin --nopasswd-sudo --nodes ${NODE_IP}

But sos prompts me for the root password of user "head-admin" in the node:

sos-collector ASSUMES that SSH keys are installed on all nodes unless the
--password option is provided.

User heat-admin will attempt to become root. Provide root password:

Isn't "--nopasswd-sudo" supposed to mean "I don't need password to use sudo"
(which is my case)?

I'm sure I'm missing something, can someone help me out?

Thanks
-- 
Adrián Moreno

_______________________________________________
sos-devel mailing list
sos-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/sos-devel

Reply via email to