When I attempt to register a consumer on an RHEL 5.9 system, I get a stack
trace:
$ sudo pulp-consumer -u admin register --consumer-id=jdeap01
Traceback (most recent call last):
File "/usr/bin/pulp-consumer", line 7, in ?
sys.exit(
File "/usr/lib/python2.4/site-packages/pulp/client/consumer/__init__.py",
line 34, in main
exit_code = launcher.main(
File "/usr/lib/python2.4/site-packages/pulp/client/launcher.py", line 79, in
main
password = prompt.prompt_password(_(prompt_msg))
File "/usr/lib/python2.4/site-packages/okaara/prompt.py", line 752, in
prompt_password
password_1 = getpass.getpass(question, stream=self.output)
TypeError: unix_getpass() got an unexpected keyword argument 'stream'
The stream option for getpass() is only available in python 2.5 or newer, so
how can you register using RHEL 5?
Paul Sevcik
_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list