[rhos-list] Subscription-manager Register Time Out

Zhang, Kimi (NSN - CN/Cheng Du) kimi.zhang at nsn.com
Mon Sep 10 06:18:41 UTC 2012


Proxy setting must be put into  /etc/rhsm/rhsm.conf

 

# an http proxy server to use

proxy_hostname = 

 

# port for http proxy server

proxy_port = 

 

# user name for authenticating to an http proxy, if needed

proxy_user =

 

# password for basic http proxy auth, if needed

proxy_password =

 

 

Regards,

Kimi Zhang

 

From: rhos-list-bounces at redhat.com [mailto:rhos-list-bounces at redhat.com]
On Behalf Of ext Xu, HongnaX
Sent: Monday, September 10, 2012 14:14
To: rhos-list at redhat.com
Subject: [rhos-list] Subscription-manager Register Time Out

 

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 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.

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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhos-list/attachments/20120910/a8a5e712/attachment.htm>


More information about the rhos-list mailing list