[rhos-list] Subscription-manager Register Time Out
Xu, HongnaX
hongnax.xu at intel.com
Mon Sep 10 06:29:13 UTC 2012
Thanks, it works now.^_^
Best Regards,
Hongna
From: Yaniv Kaul [mailto:ykaul at redhat.com]
Sent: Monday, September 10, 2012 2:20 PM
To: Xu, HongnaX
Cc: rhos-list at redhat.com
Subject: Re: [rhos-list] Subscription-manager Register Time Out
On 09/10/2012 09:13 AM, Xu, HongnaX wrote:
Hi all
I am new to Red Hat Openstack Preview, when I register my system to Red Hat Network<http://www.redhat.com/apps/register/connect/>, I encountered with time out error, is there anyone could help? (My Account Number: 1640425)
My steps as below:
1. I went to www.redhat.com<http://www.redhat.com> to register a user who could use openstack preview.
2. Then subscript an evaluation of 30 day Unsupported Red Hat Enterprise Linux Serve.
3. Install my redhat Enterprise server of version 6.3.
4. Setup the environment and proxy to access the network, then yum update to update the packages.
5. then I use the command "subscription-manager register" to register, input the username and password in step 1.
You may need to use the following options in subscription-manager command line to work via a proxy (taken from 'man subscription-manager'):
--proxy=PROXY
Uses an HTTP proxy. The PROXY name has the format hostname:port.
--proxyuser=PROXYUSERNAME
Gives the username to use to authenticate to the HTTP proxy.
--proxypass=PROXYPASSWORD
Gives the password to use to authenticate to the HTTP proxy.
HTH,
Y.
6. Several seconds later, I got "Network error, unable to connect to server." And the log in /var/log/rhsm/rhsm.log said that:
*************************
2012-09-10 13:59:54,541 [DEBUG] @connection.py:147 - ContectConnection
2012-09-10 13:59:54,544 [INFO] @connection.py:484 - Using certificate authentication: key = /etc/pki/consumer/key.pem, cert = /etc/pki/consumer/cert.pem, ca = /etc/rhsm/ca/, insecure = False
2012-09-10 13:59:54,544 [INFO] @connection.py:495 - Connection Built: host: subscription.rhn.redhat.com, port: 443, handler: /subscription
2012-09-10 14:00:08,455 [INFO] @connection.py:473 - Using basic authentication as: hongna
2012-09-10 14:00:08,455 [INFO] @connection.py:495 - Connection Built: host: subscription.rhn.redhat.com, port: 443, handler: /subscription
2012-09-10 14:00:08,457 [DEBUG] @connection.py:306 - Loading CA PEM certificates from: /etc/rhsm/ca/
2012-09-10 14:00:08,457 [DEBUG] @connection.py:288 - Loading CA certificate: '/etc/rhsm/ca/candlepin-stage.pem'
2012-09-10 14:00:08,458 [DEBUG] @connection.py:288 - Loading CA certificate: '/etc/rhsm/ca/redhat-uep.pem'
2012-09-10 14:00:08,458 [DEBUG] @connection.py:327 - Making request: GET /subscription/users/hongna/owners
2012-09-10 14:01:11,825 [ERROR] @managercli.py:101 - Error during registration: [Errno 110] Connection timed out
2012-09-10 14:01:11,825 [ERROR] @managercli.py:102 - [Errno 110] Connection timed out
Traceback (most recent call last):
File "/usr/share/rhsm/subscription_manager/managercli.py", line 781, in _do_command
owner_key = self._determine_owner_key(admin_cp)
File "/usr/share/rhsm/subscription_manager/managercli.py", line 877, in _determine_owner_key
owners = cp.getOwnerList(self.username)
File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 643, in getOwnerList
return self.conn.request_get(method)
File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 383, in request_get
return self._request("GET", method)
File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 333, in _request
conn.request(request_type, handler, body=body, headers=headers)
File "/usr/lib64/python2.6/httplib.py", line 914, in request
self._send_request(method, url, body, headers)
File "/usr/lib64/python2.6/httplib.py", line 951, in _send_request
self.endheaders()
File "/usr/lib64/python2.6/httplib.py", line 908, in endheaders
self._send_output()
File "/usr/lib64/python2.6/httplib.py", line 780, in _send_output
self.send(msg)
File "/usr/lib64/python2.6/httplib.py", line 739, in send
self.connect()
File "/usr/lib64/python2.6/site-packages/M2Crypto/httpslib.py", line 73, in connect
raise error
error: [Errno 110] Connection timed out
************************
Best Regards,
Hongna
_______________________________________________
rhos-list mailing list
rhos-list at redhat.com<mailto:rhos-list at redhat.com>
https://www.redhat.com/mailman/listinfo/rhos-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhos-list/attachments/20120910/2659461f/attachment.htm>
More information about the rhos-list
mailing list