[rhelv6-list] No Redhat network this AM?

D G Teed donald.teed at gmail.com
Thu Jun 2 10:27:16 UTC 2011


Is it just me, or is Redhat Network unavailable this morning, June 2nd
7:20 AM ET?

This is our maintenance window, so it is critical we can do our yum
updates at this time of day.

I can see the Redhat site and logged into Portals, but any links like
Channels, RHN, fail.

Any machine doing a yum update gets this incomprehensible garbage from python:

# yum update
Loaded plugins: rhnplugin
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 309, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 157, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 187, in getOptionsConfig
    self.conf
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 665, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 254,
in _getConfig
    self.plugins.run('init')
  File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/rhnplugin.py", line 127, in init_hook
    svrChannels = rhnChannel.getChannelDetails()
  File "/usr/share/rhn/up2date_client/rhnChannel.py", line 86, in
getChannelDetails
    sourceChannels = getChannels()
  File "/usr/share/rhn/up2date_client/rhnChannel.py", line 112, in getChannels
    up2dateChannels = s.up2date.listChannels(up2dateAuth.getSystemId())
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 50, in __call__
    return rpcServer.doCall(method, *args, **kwargs)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 204, in doCall
    ret = method(*args, **kwargs)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 38, in _request1
    ret = self._request(methodname, params)
  File "/usr/lib/python2.4/site-packages/rhn/rpclib.py", line 425, in _request
    raise InvalidRedirectionError(
rhn.rpclib.InvalidRedirectionError: HTTPS redirected to HTTP is not supported

Yum clean all does not help, and I've seen it on three systems now.

Has anyone at Redhat considered adding error checking to yum?  Don't
they teach this
in introductory programming?  You don't ASSUME the connection works, you
try and then test for failure.  If it fails, catch it and produce a
meaningful error.

Also, I don't like this single point of failure.  If we come in to do
maintenance, and
the update service is offline, there are no alternative mirrors I am aware of.

--Donald




More information about the rhelv6-list mailing list