Bug 501060 - "IOError: [Errno 22] Invalid argument" when syncing from export on NFS
Summary: "IOError: [Errno 22] Invalid argument" when syncing from export on NFS
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite Proxy 5
Classification: Red Hat
Component: Server
Version: 520
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Jan Pazdziora
QA Contact: Petr Sklenar
URL:
Whiteboard:
Depends On: 480903
Blocks: 473868
TreeView+ depends on / blocked
 
Reported: 2009-05-15 18:30 UTC by Xixi
Modified: 2018-10-20 03:56 UTC (History)
9 users (show)

Fixed In Version: 521
Doc Type: Bug Fix
Doc Text:
Clone Of: 480903
Environment:
Last Closed: 2009-11-10 08:10:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:1565 0 normal SHIPPED_LIVE RHN Proxy Server 5.2.1 2009-11-10 08:10:38 UTC

Comment 1 Xixi 2009-05-15 18:47:16 UTC
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
    self.__checkAuthSessionTokenCache(token, reqchannel)
  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
    fd.close()
  File "/usr/share/rhn/common/rhnCache.py", line 166, in close
    _unlock(self.fd.fileno())
  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.

Comment 11 Jan Pazdziora 2009-10-09 14:32:35 UTC
Packages rhns-5.2.0-23.el[45] built.

Comment 12 Jan Pazdziora 2009-10-16 07:39:08 UTC
Moving ON_QA as the packages were pushed to webqa with composes Satellite-5.2.1-RHEL[45]-re20091014.0.

Comment 14 Jan Pazdziora 2009-10-16 09:19:03 UTC
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.

Comment 18 errata-xmlrpc 2009-11-10 08:10:41 UTC
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.

http://rhn.redhat.com/errata/RHBA-2009-1565.html

Comment 19 Jan Pazdziora 2009-11-10 11:14:08 UTC
The errata which we've released is actually errata marking the Satellite 5.2.1 release, changing resolution to CURRENTRELEASE.


Note You need to log in before you can comment on or make changes to this bug.