[Spacewalk-list] VMwareTools RPM unable to import into Spacewalk0.5
Pradeep Kilambi
pkilambi at redhat.com
Mon Jun 1 14:13:23 UTC 2009
Czerak, Jason wrote:
> Thanks for the reply.
>
> However, I have the latest 0.5 installed and it appears as if that patch
> is in place!
>
Well, from what I see, this exact issue is been handled in
https://bugzilla.redhat.com/show_bug.cgi?id= 426963 and the resolution
in the git was the commit I listed. So if its still failing, you might
wanna add your comments to bug#426963 so the developer who fixed this
can recheck.
~ Prad
>
> [root at owbsljputl01:importlib]$ cat headerSource.py | grep -B 3 -A 10 "#
> bugzilla 426963"
> for i in range(itemcount):
> hash = {}
> for k, v in fix.items():
> # bugzilla 426963: fix for rpm v3 obsoletes header with
> # empty version and flags values
> if not len(v) and k == 'version':
> hash[k] = ''
> elif not len(v) and k == 'flags':
> hash[k] = 0
> else:
> hash[k] = v[i]
> # Create a file
> obj = Class()
> # Fedora 10+ rpms have duplicate deps,
>
>
> Versions of the backend rpm's installed via spacewalk-repo-0.5-2.el5
>
> [root at owbsljputl01:importlib]$ rpm -qa | grep spacewalk-backend
> spacewalk-backend-sql-0.5.34-1.el5
> spacewalk-backend-0.5.34-1.el5
> spacewalk-backend-config-files-tool-0.5.34-1.el5
> spacewalk-backend-tools-0.5.34-1.el5
> spacewalk-backend-xml-export-libs-0.5.34-1.el5
> spacewalk-backend-iss-0.5.34-1.el5
> spacewalk-backend-server-0.5.34-1.el5
> spacewalk-backend-applet-0.5.34-1.el5
> spacewalk-backend-app-0.5.34-1.el5
> spacewalk-backend-package-push-server-0.5.34-1.el5
> spacewalk-backend-config-files-common-0.5.34-1.el5
> spacewalk-backend-xp-0.5.34-1.el5
> spacewalk-backend-config-files-0.5.34-1.el5
> spacewalk-backend-xmlrpc-0.5.34-1.el5
> spacewalk-backend-iss-export-0.5.34-1.el5
>
> -----Original Message-----
> From: spacewalk-list-bounces at redhat.com
> [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Pradeep Kilambi
> Sent: Monday, June 01, 2009 8:46 AM
> To: spacewalk-list at redhat.com
> Subject: Re: [Spacewalk-list] VMwareTools RPM unable to import into
> Spacewalk0.5
>
> Czerak, Jason wrote:
>
>> Same failure if I try to pus it to a x86_64 child or ia-32 child.
>>
>>
> See my comments in this thread for resolution:
>
> https://www.redhat.com/archives/spacewalk-list/2009-May/msg00065.html
>
> ~ Prad
>
>
>> Exception reported from owbsljputl01.jostens.com
>> Time: Sun May 31 16:29:10 2009
>> Exception type exceptions.IndexError
>> Exception while handling function upload_server._wrapper Request
>>
> object
>
>> information:
>> URI: /PACKAGE-PUSH
>> Remote Host: 167.237.116.145
>> Server Name: spacewalk.jostens.com:80
>> Headers passed in:
>> Accept-Encoding: identity
>> Content-Length: 41199103
>> Content-Type: application/x-rpm
>> Host: spacewalk.jostens.com
>> User-Agent: rhnpush
>> X-RHN-Upload-Auth-Session: 361x364e29c3a3cca598aa575b7b97a54228
>> X-RHN-Upload-File-MD5sum: 1ef9ded33d260e9e5ea5e01e5c6b0e46
>> X-RHN-Upload-Force: 0
>> X-RHN-Upload-Package-Arch: i386
>> X-RHN-Upload-Package-Name: VMwareTools
>> X-RHN-Upload-Package-Release: 158874
>> X-RHN-Upload-Package-Version: 7303
>> X-RHN-Upload-Packaging: rpm
>>
>> Exception Handler Information
>> Traceback (most recent call last):
>> File "/usr/share/rhn/server/apacheUploadServer.py", line 107, in
>> _wrapper
>> ret = function(req)
>> File
>> "/usr/share/rhn/upload_server/handlers/package_push/package_push.py",
>> line 145, in handler
>> relative_path=self.rel_package_path, org_id=self.org_id)
>> File "/usr/share/rhn/server/rhnPackageUpload.py", line 223, in
>> push_package
>> header_end=header_end, channels=channels)
>> File "/usr/share/rhn/server/importlib/mpmSource.py", line 210, in
>> create_package
>> header_end=header_end, channels=channels)
>> File "/usr/share/rhn/server/importlib/headerSource.py", line 367, in
>> createPackage
>> channels)
>> File "/usr/share/rhn/server/importlib/headerSource.py", line 138, in
>> populate
>> self._populateFiles(header)
>> File "/usr/share/rhn/server/importlib/headerSource.py", line 150, in
>> _populateFiles
>> self._populateTag(header, 'files', rpmFile)
>> File "/usr/share/rhn/server/importlib/headerSource.py", line 204, in
>> _populateTag
>> hash[k] = v[i]
>> IndexError: list index out of range
>>
>> Local variables by frame
>> Frame _populateTag in /usr/share/rhn/server/importlib/headerSource.py
>>
> at
>
>> line 204
>> hash = <type 'dict'> {'username': 'root',
>> 'lang': ''}
>> unique_objs = <type 'list'> []
>> f = <type 'str'> file_mode
>> i = <type 'int'> 0
>> fix = <type 'dict'> <ERROR WHILE PRINTING
>> VALUE: string representation too large>
>> Class = <type 'classobj'>
>> server.importlib.headerSource.rpmFile
>> self = <type 'instance'>
>> [<server.importlib.headerSource.rpmBinaryPackage instance;
>> attributes={'siggpg': None, 'build_time': '2009-04-06 23:14:10',
>> 'channels': None, 'package_id': None, 'sigsize': None,
>>
> 'payload_format':
>
>> 'cpio', 'header_start': 168L, 'payload_size': '115099560',
>>
> 'build_host':
>
>> 'pa-lin-bld503.eng.vmware.com', 'package_size': 41199103, 'epoch':
>>
> None,
>
>> 'version': '7303', 'obsoletes': None, 'provides': None, 'sigpgp':
>>
> None,
>
>> 'files': [], 'vendor': 'VMware, Inc.', 'description': 'The VMware
>>
> Tools
>
>> package provides support required for shared folders and\nfor drag and
>> drop operations. Other tools in the package support\nsynchronization
>>
> of
>
>> time in the guest operating system with time on the host,\nautomatic
>> grabbing and releasing of the mouse cursor, copying and
>>
> pasting\nbetween
>
>> guest and host, and improved mouse performance. The SVGA
>> driver\nprovides significantly faster graphics performance.\n',
>> 'sigmd5': None, 'source_rpm': 'VMwareTools-7303-158874.src.rpm',
>> 'package_group': 'Applications/System\n', 'last_modified': '2009-05-31
>> 16:29:10', 'cookie': None, 'conflicts': None, 'path':
>>
>>
> 'redhat/1/1ef/VMwareTools/7303-158874/i386/1ef9ded33d260e9e5ea5e01e5c6b0
>
>> e46/VMwareTools-7303-158874.i386.rpm', 'arch': 'i386', 'header_end':
>> 863488L, 'name': 'VMwareTools', 'license': 'commercial', 'changelog':
>> None, 'md5sum': '1ef9ded33d260e9e5ea5e01e5c6b0e46', 'org_id': 1,
>> 'summary': 'VMware Tools\n', 'rpm_version': '3.0', 'release':
>>
> '158874',
>
>> 'requires': None}]
>> header = <type 'instance'> <rpm.hdr object at
>> 0x2b169f27fd50>
>> rf = <type 'str'> filemodes
>> tag = <type 'str'> files
>> v = <type 'list'> []
>> ic = <type 'int'> 5481
>> itemcount = <type 'int'> 5481
>> k = <type 'str'> name
>>
>> Frame _populateFiles in
>>
> /usr/share/rhn/server/importlib/headerSource.py
>
>> at line 150
>> header = <type 'instance'> <rpm.hdr object at
>> 0x2b169f27fd50>
>> self = <type 'instance'>
>> [<server.importlib.headerSource.rpmBinaryPackage instance;
>> attributes={'siggpg': None, 'build_time': '2009-04-06 23:14:10',
>> 'channels': None, 'package_id': None, 'sigsize': None,
>>
> 'payload_format':
>
>> 'cpio', 'header_start': 168L, 'payload_size': '115099560',
>>
> 'build_host':
>
>> 'pa-lin-bld503.eng.vmware.com', 'package_size': 41199103, 'epoch':
>>
> None,
>
>> 'version': '7303', 'obsoletes': None, 'provides': None, 'sigpgp':
>>
> None,
>
>> 'files': [], 'vendor': 'VMware, Inc.', 'description': 'The VMware
>>
> Tools
>
>> package provides support required for shared folders and\nfor drag and
>> drop operations. Other tools in the package support\nsynchronization
>>
> of
>
>> time in the guest operating system with time on the host,\nautomatic
>> grabbing and releasing of the mouse cursor, copying and
>>
> pasting\nbetween
>
>> guest and host, and improved mouse performance. The SVGA
>> driver\nprovides significantly faster graphics performance.\n',
>> 'sigmd5': None, 'source_rpm': 'VMwareTools-7303-158874.src.rpm',
>> 'package_group': 'Applications/System\n', 'last_modified': '2009-05-31
>> 16:29:10', 'cookie': None, 'conflicts': None, 'path':
>>
>>
> 'redhat/1/1ef/VMwareTools/7303-158874/i386/1ef9ded33d260e9e5ea5e01e5c6b0
>
>> e46/VMwareTools-7303-158874.i386.rpm', 'arch': 'i386', 'header_end':
>> 863488L, 'name': 'VMwareTools', 'license': 'commercial', 'changelog':
>> None, 'md5sum': '1ef9ded33d260e9e5ea5e01e5c6b0e46', 'org_id': 1,
>> 'summary': 'VMware Tools\n', 'rpm_version': '3.0', 'release':
>>
> '158874',
>
>> 'requires': None}]
>>
>> Frame populate in /usr/share/rhn/server/importlib/headerSource.py at
>> line 138
>> header_end = <type 'long'> 863488
>> header_start = <type 'long'> 168
>> self = <type 'instance'>
>> [<server.importlib.headerSource.rpmBinaryPackage instance;
>> attributes={'siggpg': None, 'build_time': '2009-04-06 23:14:10',
>> 'channels': None, 'package_id': None, 'sigsize': None,
>>
> 'payload_format':
>
>> 'cpio', 'header_start': 168L, 'payload_size': '115099560',
>>
> 'build_host':
>
>> 'pa-lin-bld503.eng.vmware.com', 'package_size': 41199103, 'epoch':
>>
> None,
>
>> 'version': '7303', 'obsoletes': None, 'provides': None, 'sigpgp':
>>
> None,
>
>> 'files': [], 'vendor': 'VMware, Inc.', 'description': 'The VMware
>>
> Tools
>
>> package provides support required for shared folders and\nfor drag and
>> drop operations. Other tools in the package support\nsynchronization
>>
> of
>
>> time in the guest operating system with time on the host,\nautomatic
>> grabbing and releasing of the mouse cursor, copying and
>>
> pasting\nbetween
>
>> guest and host, and improved mouse performance. The SVGA
>> driver\nprovides significantly faster graphics performance.\n',
>> 'sigmd5': None, 'source_rpm': 'VMwareTools-7303-158874.src.rpm',
>> 'package_group': 'Applications/System\n', 'last_modified': '2009-05-31
>> 16:29:10', 'cookie': None, 'conflicts': None, 'path':
>>
>>
> 'redhat/1/1ef/VMwareTools/7303-158874/i386/1ef9ded33d260e9e5ea5e01e5c6b0
>
>> e46/VMwareTools-7303-158874.i386.rpm', 'arch': 'i386', 'header_end':
>> 863488L, 'name': 'VMwareTools', 'license': 'commercial', 'changelog':
>> None, 'md5sum': '1ef9ded33d260e9e5ea5e01e5c6b0e46', 'org_id': 1,
>> 'summary': 'VMware Tools\n', 'rpm_version': '3.0', 'release':
>>
> '158874',
>
>> 'requires': None}]
>> md5sum = <type 'str'>
>> 1ef9ded33d260e9e5ea5e01e5c6b0e46
>> org_id = <type 'int'> 1
>> channels = <type 'list'> []
>> header = <type 'instance'> <rpm.hdr object at
>> 0x2b169f27fd50>
>> path = <type 'str'>
>>
>>
> redhat/1/1ef/VMwareTools/7303-158874/i386/1ef9ded33d260e9e5ea5e01e5c6b0e
>
>> 46/VMwareTools-7303-158874.i386.rpm
>> size = <type 'int'> 41199103
>>
>> Frame createPackage in /usr/share/rhn/server/importlib/headerSource.py
>> at line 367
>> header_end = <type 'long'> 863488
>> header_start = <type 'long'> 168
>> header = <type 'instance'> <rpm.hdr object at
>> 0x2b169f27fd50>
>> md5sum = <type 'str'>
>> 1ef9ded33d260e9e5ea5e01e5c6b0e46
>> org_id = <type 'int'> 1
>> channels = <type 'list'> []
>> p = <type 'instance'>
>> [<server.importlib.headerSource.rpmBinaryPackage instance;
>> attributes={'siggpg': None, 'build_time': '2009-04-06 23:14:10',
>> 'channels': None, 'package_id': None, 'sigsize': None,
>>
> 'payload_format':
>
>> 'cpio', 'header_start': 168L, 'payload_size': '115099560',
>>
> 'build_host':
>
>> 'pa-lin-bld503.eng.vmware.com', 'package_size': 41199103, 'epoch':
>>
> None,
>
>> 'version': '7303', 'obsoletes': None, 'provides': None, 'sigpgp':
>>
> None,
>
>> 'files': [], 'vendor': 'VMware, Inc.', 'description': 'The VMware
>>
> Tools
>
>> package provides support required for shared folders and\nfor drag and
>> drop operations. Other tools in the package support\nsynchronization
>>
> of
>
>> time in the guest operating system with time on the host,\nautomatic
>> grabbing and releasing of the mouse cursor, copying and
>>
> pasting\nbetween
>
>> guest and host, and improved mouse performance. The SVGA
>> driver\nprovides significantly faster graphics performance.\n',
>> 'sigmd5': None, 'source_rpm': 'VMwareTools-7303-158874.src.rpm',
>> 'package_group': 'Applications/System\n', 'last_modified': '2009-05-31
>> 16:29:10', 'cookie': None, 'conflicts': None, 'path':
>>
>>
> 'redhat/1/1ef/VMwareTools/7303-158874/i386/1ef9ded33d260e9e5ea5e01e5c6b0
>
>> e46/VMwareTools-7303-158874.i386.rpm', 'arch': 'i386', 'header_end':
>> 863488L, 'name': 'VMwareTools', 'license': 'commercial', 'changelog':
>> None, 'md5sum': '1ef9ded33d260e9e5ea5e01e5c6b0e46', 'org_id': 1,
>> 'summary': 'VMware Tools\n', 'rpm_version': '3.0', 'release':
>>
> '158874',
>
>> 'requires': None}]
>> size = <type 'int'> 41199103
>> relpath = <type 'str'>
>>
>>
> redhat/1/1ef/VMwareTools/7303-158874/i386/1ef9ded33d260e9e5ea5e01e5c6b0e
>
>> 46/VMwareTools-7303-158874.i386.rpm
>>
>> Frame create_package in /usr/share/rhn/server/importlib/mpmSource.py
>>
> at
>
>> line 210
>> header_end = <type 'long'> 863488
>> header_start = <type 'long'> 168
>> md5sum = <type 'str'>
>> 1ef9ded33d260e9e5ea5e01e5c6b0e46
>> org_id = <type 'int'> 1
>> channels = <type 'list'> []
>> header = <type 'instance'> <rpm.hdr object at
>> 0x2b169f27fd50>
>> size = <type 'int'> 41199103
>> relpath = <type 'str'>
>>
>>
> redhat/1/1ef/VMwareTools/7303-158874/i386/1ef9ded33d260e9e5ea5e01e5c6b0e
>
>> 46/VMwareTools-7303-158874.i386.rpm
>>
>> Frame push_package in /usr/share/rhn/server/rhnPackageUpload.py at
>>
> line
>
>> 223
>> header_end = <type 'long'> 863488
>> force = <type 'int'> 0
>> header_start = <type 'long'> 168
>> payload_stream = <type 'file'> <open file '<fdopen>', mode
>> 'r' at 0x2b169f5c5a08>
>> payload_size = <type 'int'> 41199103
>> md5sum = <type 'str'>
>> 1ef9ded33d260e9e5ea5e01e5c6b0e46
>> org_id = <type 'int'> 1
>> relative_path = <type 'str'>
>>
>>
> redhat/1/1ef/VMwareTools/7303-158874/i386/1ef9ded33d260e9e5ea5e01e5c6b0e
>
>> 46/VMwareTools-7303-158874.i386.rpm
>> channels = <type 'list'> []
>> header = <type 'instance'> <rpm.hdr object at
>> 0x2b169f27fd50>
>>
>> Frame handler in
>> /usr/share/rhn/upload_server/handlers/package_push/package_push.py at
>> line 145
>> header_end = <type 'long'> 863488
>> req = <type 'mp_request'> <mp_request object at
>> 0x2b169a070460>
>> header_start = <type 'long'> 168
>> payload_stream = <type 'file'> <open file '<fdopen>', mode
>> 'r' at 0x2b169f5c5a08>
>> temp_stream = <type 'file'> <open file '<fdopen>', mode
>> 'w+b' at 0x2b169f283e40>
>> md5sum = <type 'str'>
>> 1ef9ded33d260e9e5ea5e01e5c6b0e46
>> ret = <type 'int'> 0
>> header = <type 'instance'> <rpm.hdr object at
>> 0x2b169f27fd50>
>> self = <type 'instance'>
>> <upload_server.handlers.package_push.package_push.PackagePush instance
>> at 0x2b169f22aa70>
>>
>> Frame _wrapper in /usr/share/rhn/server/apacheUploadServer.py at line
>> 125
>> function = <type 'instancemethod'> <bound method
>> PackagePush.handler of
>> <upload_server.handlers.package_push.package_push.PackagePush instance
>> at 0x2b169f22aa70>>
>> self = <type 'instance'>
>> <server.apacheUploadServer.UploadHandler instance at 0x2b1699f179e0>
>> req = <type 'mp_request'> <mp_request object at
>> 0x2b169a070460>
>> function_name = <type 'str'> handler
>>
>> Frame handler in /usr/share/rhn/server/apacheUploadServer.py at line
>>
> 79
>
>> self = <type 'instance'>
>> <server.apacheUploadServer.UploadHandler instance at 0x2b1699f179e0>
>> req = <type 'mp_request'> <mp_request object at
>> 0x2b169a070460>
>>
>> Frame __call__ in /usr/share/rhn/server/apacheServer.py at line 58
>> self = <type 'instance'>
>> <server.apacheUploadServer.UploadHandlerWrap instance at
>>
> 0x2b1699f10680>
>
>> req = <type 'mp_request'> <mp_request object at
>> 0x2b169a070460>
>> f = <type 'instancemethod'> <bound method
>> UploadHandler.handler of <server.apacheUploadServer.UploadHandler
>> instance at 0x2b1699f179e0>>
>>
>> Frame HandlerDispatch in
>> /usr/lib64/python2.4/site-packages/mod_python/apache.py at line 299
>> req = <type 'mp_request'> <mp_request object at
>> 0x2b169a070460>
>> config = <type 'mp_table'> {'PythonInterpreter':
>> 'rhn.server.upload', 'PythonPath': 'sys.path+['/usr/share/rhn']'}
>> self = <type 'instance'>
>> <mod_python.apache.CallBack instance at 0x2b169632fbd8>
>> object = <type 'instance'>
>> <server.apacheUploadServer.UploadHandlerWrap instance at
>>
> 0x2b1699f10680>
>
>> l = <type 'list'>
>> ['server.apacheUploadServer', 'Handler']
>> module = <type 'module'> <module
>> 'server.apacheUploadServer' from
>> '/usr/share/rhn/server/apacheUploadServer.pyc'>
>> hlist = <type 'mp_hlist'>
>>
>>
> {'handler:'server.apacheUploadServer::Handler','directory':'/PACKAGE-PUS
>
>> H/','silent':0}
>> object_str = <type 'str'> Handler
>> debug = <type 'int'> 0
>> module_name = <type 'str'> server.apacheUploadServer
>> pathstring = <type 'str'> sys.path+['/usr/share/rhn']
>> result = <type 'int'> 500
>>
>>
>> Environment for PID=5879 on exception:
>> CONSOLE = /dev/console
>> HOME = /
>> INIT_VERSION = sysvinit-2.86
>> LANG = C
>> NLS_LANG = english.AL32UTF8
>> ORACLE_HOME = /opt/oracle
>> PATH = /sbin:/usr/sbin:/bin:/usr/bin
>> PERL_BADFREE = 0
>> PREVLEVEL = N
>> PWD = /
>> RUNLEVEL = 3
>> SELINUX_INIT = YES
>> SHLVL = 3
>> TERM = linux
>> _ = /usr/sbin/httpd
>> previous = N
>> runlevel = 3
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>>
>
>
>
--
--
Pradeep Kilambi
RHN Satellite Engineering
pkilambi at redhat.com
Phone: +1 919 754 4285
RHCE # 805008680430554
More information about the Spacewalk-list
mailing list