Bug 507403 - unable to rhnpush packages in latest build 6/19
unable to rhnpush packages in latest build 6/19
Status: CLOSED NOTABUG
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server (Show other bugs)
530
All Linux
low Severity medium
: ---
: ---
Assigned To: Pradeep Kilambi
wes hayutin
na
:
Depends On:
Blocks: 456985 486216
  Show dependency treegraph
 
Reported: 2009-06-22 12:28 EDT by wes hayutin
Modified: 2009-08-20 11:00 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-06-22 14:36:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
ss (14.69 MB, application/octet-stream)
2009-06-22 12:31 EDT, wes hayutin
no flags Details

  None (edit)
Description wes hayutin 2009-06-22 12:28:45 EDT
Description of problem:

rhel5 server 6/19 build w/ selinux enforcing or permissive 

[root@grandprix wes]# rhnpush -d /tmp/wes -c wesley --server=http://grandprix.rhndev.redhat.com/XMLRPC
Red Hat Network username: admin
Red Hat Network password: 
While running 'packages.getPackageMD5sum': caught
server.apacheRequest.UnknownXML : Invalid request received (class xmlrpc.packages is not defined (function = getPackageMD5sum)).

[root@grandprix wes]# ls
testAutoFile-1-1.0.i386.rpm  testAutoFile-2-1.0.i386.rpm
[root@grandprix wes]# 

These packages normally rhnpush just fine.

Tested on two different servers w/ other rpms too.


Exception reported from grandprix.rhndev.redhat.com
Time: Mon Jun 22 12:13:54 2009
Exception type server.apacheRequest.UnknownXML
Exception while handling function packages.getSourcePackageMD5sum
Request object information:
URI: /XMLRPC
Remote Host: 10.10.76.46
Server Name: grandprix.rhndev.redhat.com:0
Headers passed in:
        Accept-Encoding: identity
        Content-Length: 432
        Host: grandprix.rhndev.redhat.com
        content-encoding: x-gzip
        content-transfer-encoding: binary
        content-type: application/binary
        user-agent: rhn.rpclib.py/$Revision: 136589 $
        x-client-version: 1
        x-info: RPC Processor (C) Red Hat, Inc (version 135431)
        x-rhn-transport-capability: follow-redirects=2
        x-transport-info: Extended Capabilities Transport (C) Red Hat, Inc (version 136589)
Extra information about this error:
Response sent back to the caller:
While running 'packages.getSourcePackageMD5sum': caught
server.apacheRequest.UnknownXML : Invalid request received (class xmlrpc.packages is not defined (function = getSourcePackageMD5sum)).



Exception Handler Information
Traceback (most recent call last):
  File "/usr/share/rhn/server/apacheRequest.py", line 118, in call_function
    func = self.method_ref(method)
  File "/usr/share/rhn/server/apacheRequest.py", line 430, in method_ref
    raise UnknownXML("class %s.%s is not defined (function = %s)" % (
UnknownXML: Invalid request received (class xmlrpc.packages is not defined (function = getSourcePackageMD5sum)).

Local variables by frame
Frame method_ref in /usr/share/rhn/server/apacheRequest.py at line 430
                           c = <type 'NoneType'> None
                        self = <type 'instance'> <server.apacheRequest.apachePOST instance at 0xb7df144c>
                    funcname = <type 'unicode'> getSourcePackageMD5sum
                   classname = <type 'unicode'> packages
                     classes = <type 'dict'> {'servers': <class server.handlers.xmlrpc.up2date.Servers at 0xb7b3008c>, 'queue': <class server.handlers.xmlrpc.queue.Queue at 0xb7b3065c>, 'proxy': <class server.handlers.xmlrpc.proxy.Proxy at 0xb7b30a1c>, 'registration': <class server.handlers.xmlrpc.registration.Registration at 0xb7b2629c>, 'up2date': <class server.handlers.xmlrpc.up2date.Up2date at 0xb7b3005c>, 'errata': <class server.handlers.xmlrpc.errata.Errata at 0xb7b307ac>}
                      method = <type 'unicode'> packages.getSourcePackageMD5sum

Frame call_function in /usr/share/rhn/server/apacheRequest.py at line 135
                       fault = <type 'int'> -1
                        self = <type 'instance'> <server.apacheRequest.apachePOST instance at 0xb7df144c>
              force_rollback = <type 'int'> 1
                      method = <type 'unicode'> packages.getSourcePackageMD5sum
                      params = <type 'tuple'> ('admin\tdog8code', 'dog8code', {'channels': ['wesley'], 'org_id': '', 'packages': {'testAutoFile-1-1.0.i386.rpm': {'name': 'testAutoFile', 'md5sum': '9bd756946e61401edeedafc7b14ffa80', 'epoch': 0, 'version': '1', 'release': '1.0', 'arch': 'i386'}, 'zsh-4.3.9-5mdv2009.1.src.rpm': {'name': 'zsh', 'md5sum': '72f450d46447b54b1a248743c860bdc7', 'epoch': 1, 'version': '4.3.9', 'release': '5mdv2009.1', 'arch': 'src'}}, 'force': 0})
                      e_type = <type 'classobj'> server.apacheRequest.UnknownXML
                     e_value = <type 'instance'> Invalid request received (class xmlrpc.packages is not defined (function = getSourcePackageMD5sum)).
                    response = <type 'instance'> <Fault -1: u"While running 'packages.getSourcePackageMD5sum': caught\nserver.apacheRequest.UnknownXML : Invalid request received (class xmlrpc.packages is not defined (function = getSourcePackageMD5sum)).\n">

Frame process in /usr/share/rhn/server/apacheRequest.py at line 473
                          fd = <type 'instance'> <cStringIO.StringO object at 0xb76bfd00>
                       _body = <type 'str'> <?xml version='1.0'?>
<methodCall>
<methodName>packages.getSourcePackageMD5sum</methodName>
<params>
<param>
<value><string>admin    dog8code</string></value>
</param>
<param>
<value><string>dog8code</string></value>
</param>
<param>
<value><struct>
<member>
<name>channels</name>
<value><array><data>
<value><string>wesley</string></value>
</data></array></value>
</member>
<member>
<name>force</name>
<value><int>0</int></value>
</member>
<member>
<name>packages</name>
<value><struct>
<member>
<name>testAutoFile-1-1.0.i386.rpm</name>
<value><struct>
<member>
<name>name</name>
<value><string>testAutoFile</string></value>
</member>
<member>
<name>md5sum</name>
<value><string>9bd756946e61401edeedafc7b14ffa80</string></value>
</member>
<member>
<name>epoch</name>
<value><int>0</int></value>
</member>
<member>
<name>version</name>
<value><string>1</string></value>
</member>
<member>
<name>release</name>
<value><string>1.0</string></value>
</member>
<member>
<name>arch</name>
<value><string>i386</string></value>
</member>
</struct></value>
</member>
<member>
<name>zsh-4.3.9-5mdv2009.1.src.rpm</name>
<value><struct>
<member>
<name>name</name>
<value><string>zsh</string></value>
</member>
<member>
<name>md5sum</name>
<value><string>72f450d46447b54b1a248743c860bdc7</string></value>
</member>
<member>
<name>epoch</name>
<value><int>1</int></value>
</member>
<member>
<name>version</name>
<value><string>4.3.9</string></value>
</member>
<member>
<name>release</name>
<value><string>5mdv2009.1</string></value>
</member>
<member>
<name>arch</name>
<value><string>src</string></value>
</member>
</struct></value>
</member>
</struct></value>
</member>
<member>
<name>org_id</name>
<value><string></string></value>
</member>
</struct></value>
</param>
</params>
</methodCall>

                      params = <type 'tuple'> ('admin\tdog8code', 'dog8code', {'channels': ['wesley'], 'org_id': '', 'packages': {'testAutoFile-1-1.0.i386.rpm': {'name': 'testAutoFile', 'md5sum': '9bd756946e61401edeedafc7b14ffa80', 'epoch': 0, 'version': '1', 'release': '1.0', 'arch': 'i386'}, 'zsh-4.3.9-5mdv2009.1.src.rpm': {'name': 'zsh', 'md5sum': '72f450d46447b54b1a248743c860bdc7', 'epoch': 1, 'version': '4.3.9', 'release': '5mdv2009.1', 'arch': 'src'}}, 'force': 0})
                      method = <type 'unicode'> packages.getSourcePackageMD5sum
                        self = <type 'instance'> <server.apacheRequest.apachePOST instance at 0xb7df144c>

Frame handler in /usr/share/rhn/server/apacheHandler.py at line 198
                           h = <type 'instance'> <__builtin__.OracleCursor on <cx_Oracle.Connection to rhnsat@rhnsat>>
                        self = <type 'instance'> <server.apacheHandler.apacheHandler instance at 0xb7c200ac>
                         req = <type 'mp_request'> <mp_request object at 0xb7986b24>
                         ret = <type 'int'> 0
             templateStrings = <type 'dict'> {'email_account_info': '\nAccount Information:\n  Your RHN login:         <login />\n  Your RHN email address: <email-address />', 'email_footer': '--the Red Hat Network Team', 'hostname': 'grandprix.rhndev.redhat.com'}
                         row = <type 'NoneType'> None

Frame __call__ in /usr/share/rhn/server/apacheServer.py at line 58
                        self = <type 'instance'> <server.apacheServer.HandlerWrap instance at 0xb7cbbacc>
                         req = <type 'mp_request'> <mp_request object at 0xb7986b24>
                           f = <type 'instancemethod'> <bound method apacheHandler.handler of <server.apacheHandler.apacheHandler instance at 0xb7c200ac>>

Frame HandlerDispatch in /usr/lib/python2.4/site-packages/mod_python/apache.py at line 299
                         req = <type 'mp_request'> <mp_request object at 0xb7986b24>
                      config = <type 'mp_table'> {'PythonInterpreter': 'rhn.server', 'PythonPath': 'sys.path+['/usr/share/rhn']'}
                        self = <type 'instance'> <mod_python.apache.CallBack instance at 0xb7f6076c>
                      object = <type 'instance'> <server.apacheServer.HandlerWrap instance at 0xb7cbbacc>
                           l = <type 'list'> ['server.apacheServer', 'Handler']
                      module = <type 'module'> <module 'server.apacheServer' from '/usr/share/rhn/server/apacheServer.pyc'>
                       hlist = <type 'mp_hlist'> {'handler:'server.apacheServer::Handler','directory':'/XMLRPC/','silent':0}
                  object_str = <type 'str'> Handler
                       debug = <type 'int'> 0
                 module_name = <type 'str'> server.apacheServer
                  pathstring = <type 'str'> sys.path+['/usr/share/rhn']
                      result = <type 'int'> 500


Environment for PID=26421 on exception:
LANG = C
NLS_LANG = english.AL32UTF8
ORACLE_HOME = /opt/oracle
PATH = /sbin:/usr/sbin:/bin:/usr/bin
PERL_BADFREE = 0
PWD = /
SHLVL = 2
TERM = xterm
_ = /usr/sbin/httpd
Comment 1 wes hayutin 2009-06-22 12:31:06 EDT
Created attachment 348940 [details]
ss
Comment 2 wes hayutin 2009-06-22 12:39:22 EDT
attached file is a spacewalk-debug
Comment 3 Clifford Perry 2009-06-22 14:36:51 EDT
NOTABUG - usage of /XMLRPC is incorrect. Please retry using /APP. 

Thanks. 
Cliff

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