Ananta Chakravartula:
> I got spacewalk setup using chef and I run some spacecmd commands part of
> the recipe ( using execute resource), but chef-client fails with error
> 
> ```
> chef-client[32220]:     Spacewalk Password: ERROR:
> chef-client[32220]:     Warning: Password input may be echoed.
> chef-client[32220]:       passwd = fallback_getpass(prompt, stream)
> chef-client[32220]:     /usr/lib64/python2.7/getpass.py:83: GetPassWarning:
> Can not control echo on the terminal.
> chef-client[32220]:     Spacewalk Password: ERROR:```
> ```
> 
> I do have ~/.spacecmd/config , but looks like spacecmd is looking for tty.
> It doesn't error when i run chef-client manually.

Hello Ananta,

You can specify user/password on command line:

$ spacecmd --user satuser --password satpwd ...
 
> 
> 
> Cheers,
> Ananta

Regards,

--
Michael Mráka
System Management Engineering, Red Hat

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to