[node-patches] Change in ovirt-node[master]: Log rhn proxy server and proxy port

rbarry at redhat.com rbarry at redhat.com
Mon Jun 23 16:17:25 UTC 2014


Ryan Barry has uploaded a new change for review.

Change subject: Log rhn proxy server and proxy port
......................................................................

Log rhn proxy server and proxy port

Since these were not set in the large call to subscription-
manager, they were not logged. Log them.

Change-Id: Ia3c5a58c9b983af6ba0ee7d4eab90ca4e6b5b1eb
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1082519
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M src/ovirt/node/setup/rhn/rhn_model.py
1 file changed, 2 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/81/29081/1

diff --git a/src/ovirt/node/setup/rhn/rhn_model.py b/src/ovirt/node/setup/rhn/rhn_model.py
index e0635cd..fedd61f 100644
--- a/src/ovirt/node/setup/rhn/rhn_model.py
+++ b/src/ovirt/node/setup/rhn/rhn_model.py
@@ -286,11 +286,8 @@
 
                 if proxy:
                     try:
-                        (host, port) = proxy.split(":")
-                        process.check_call(["subscription-manager", "config",
-                                            "--server.proxy_hostname", host])
-                        process.check_call(["subscription-manager", "config",
-                                            "--server.proxy_port", port])
+                        args.append('--proxy')
+                        args.append(proxy)
                         if proxyuser:
                             args.append('--proxyuser')
                             args.append(proxyuser)


-- 
To view, visit http://gerrit.ovirt.org/29081
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia3c5a58c9b983af6ba0ee7d4eab90ca4e6b5b1eb
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>



More information about the node-patches mailing list