Red Hat Bugzilla – Bug 501060
"IOError: [Errno 22] Invalid argument" when syncing from export on NFS
Last modified: 2010-10-23 05:38:15 EDT
Customer has recently upgraded to RHEL5 and RHN proxy server 5.2 -
RHN proxy server - RHEL5u3 x86_64
- RHN proxy server 5.2
RHEL client - RHEL5u2 x86_64
- and is often getting random error messages when trying to update packages on clients using yum. This is an example of the error message:
Error Downloading Packages:
gfs2-utils-0.1.53-1.el5_3.3.x86_64: failed to retrieve getPackage/gfs2-utils-0.1.53-1.el5_3.3.x86_64.rpm from rhel-x86_64-server-5
error was [Errno 14] HTTP Error 500: Internal Server Error
This error isn't consistent, and it will work eventually if the customer attempts it enough times. Each time they get this error, they get a traceback error email from the RHN Proxy server -
Exception Handler Information
Traceback (most recent call last):
File "/usr/share/rhn/proxy/apacheServer.py", line 55, in __call__
ret = f(req)
File "/usr/share/rhn/proxy/apacheHandler.py", line 337, in handler
ret = handlerObj.handler()
File "/usr/share/rhn/proxy/broker/rhnBroker.py", line 156, in handler
getResult = self.__local_GET_handler(self.req)
File "/usr/share/rhn/proxy/broker/rhnBroker.py", line 296, in __local_GET_handler
File "/usr/share/rhn/proxy/broker/rhnBroker.py", line 445, in __checkAuthSessionTokenCache
self.cachedClientInfo = UserDictCase(shelf[self.clientServerId])
File "/usr/share/rhn/proxy/broker/rhnProxyAuth.py", line 375, in __getitem__
val = rhnCache.get(rkey, missing_is_null=0)
File "/usr/share/rhn/common/rhnCache.py", line 62, in get
return cache.get(name, modified)
File "/usr/share/rhn/common/rhnCache.py", line 325, in get
pickled = self.cache.get(name, modified)
File "/usr/share/rhn/common/rhnCache.py", line 223, in get
File "/usr/share/rhn/common/rhnCache.py", line 166, in close
File "/usr/share/rhn/common/rhnCache.py", line 50, in _unlock
fcntl.fcntl(fd, rhn_fcntl.F_SETLKW, UNLOCK)
IOError: [Errno 22] Invalid argument
This bug is cloned from bug 480903 for backport/Hotfix for package for 5.2.0 and sat52maint tracking. The affected code area overlaps between satellite and proxy via the rhns package.
Packages rhns-5.2.0-23.el built.
Moving ON_QA as the packages were pushed to webqa with composes Satellite-5.2.1-RHEL-re20091014.0.
Jan, note that this particular bugzilla is for RHN Proxy, so we'd need the test plan to be Proxy-specific. The Satellite version of the errata is bug 502665.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.
The errata which we've released is actually errata marking the Satellite 5.2.1 release, changing resolution to CURRENTRELEASE.