+++ This bug was initially created as a clone of Bug #500151 +++ Description of problem: configure-proxy.sh --non-interactive asks for user interaction. Version-Release number of selected component (if applicable): spacewalk-proxy-installer-0.5.25-4.el5sat How reproducible: always Steps to Reproduce: 1. install new system 2. register in to webqa 3. /usr/sbin/configure-proxy.sh --answer-file=proxy-answer.txt --non-interactive Actual results: Proxy version to activate [5.3]: 5.3 RHN Parent [xmlrpc.rhn.webqa.redhat.com]: xmlrpc.rhn.webqa.redhat.com Traceback email [michael.mraka]: michael.mraka Use SSL [Y]: Y CA Chain [/usr/share/rhn/RHNS-CA-CERT]: /usr/share/rhn/RHNS-CA-CERT Please do copy your CA key and public certificate from xmlrpc.rhn.webqa.redhat.com to /root/ssl-build directory. You may want to execute this command: scp 'root.webqa.redhat.com:/root/ssl-build/RHN-ORG-{PRIVATE-SSL-KEY,TRUSTED-SSL-CERT}' /root/ssl-build Expected results: succesful non-interactive installation Additional info: ... --- Additional comment from jpazdziora on 2009-09-09 02:23:41 EDT --- Hmmm, ough. When I have POPULATE_CONFIG_CHANNEL="y" in my answer file, the /usr/sbin/configure-proxy.sh --answer-file=/tmp/proxy-answer.txt --non-interactive command actually stops waiting for interactive prompt: Configuring monitoring. Monitoring parent [xen62.englab.brq.redhat.com]: xen62.englab.brq.redhat.com Monitoring parent IP [10.34.34.62]: 10.34.34.62 Enable monitoring scout [Y/n]: Y/n Using CA key at /root/ssl-build/RHN-ORG-PRIVATE-SSL-KEY. Generating distributable RPM for CA public certificate: Copying CA public certificate to /var/www/html/pub for distribution to clients: Generating SSL key and public certificate: Installing SSL certificate for Apache and Jabberd: Preparing packages for installation... rhn-org-httpd-ssl-key-pair-vmware139.englab.brq-1.0-1 Create and populate configuration channel rhn_proxy_config_1000010146? [y]: y Using server name xen62.englab.brq.redhat.com Red Hat Network username: instead of either proceeding or failing. So this bugzilla is not fully fixed. Adding it to sat600-triage. Please decide if we will address this as part of this bug, or whether I should file a new one.
Cloned. We will need to enhance to rhncfg-manager to accept username and password on command line and then proxy installer to pass this parameters to rhncfg-manager.
*** This bug has been marked as a duplicate of bug 516296 ***