It doesn't work with out tty. Ananta
sent from my phone. Sory fer eny typeos On Tue, Jul 30, 2019, 5:24 AM Michael Mraka <michael.mr...@redhat.com> wrote: > 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