[Spacewalk-list] spacecmd

Ananta Chakravartula ananta.c at googlemail.com
Tue Jul 30 11:42:55 UTC 2019


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.mraka at 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190730/5fef7690/attachment.htm>


More information about the Spacewalk-list mailing list