rhnpush does not work when uploading a RPM package to multiple channels

Solution Verified - Updated -

Issue

  • The rhnpush command does not work when uploading a RPM package to multiple channels
for i in $(ls -1 *rpm)
   do
       rhnpush  -vvvv -u admin -p redhat -c manual-channel-1  \
               -c manual-channel-2 -c manual-channel-3 -c manual-channel-4 \
               -c manual-channel-5 --force --no-session-caching \ 
               --server=satellite.example.com $i &
    done
  • The error message is:
Error Message:
    ERROR:  deadlock detected
Error Class Code: 23
Error Class Info: Could not update database entry.

[Fri Mar 14 10:04:55 2014] [error] [client 10.13.213.230] mod_wsgi (pid=23023): Exception occurred processing WSGI script '/usr/share/rhn/wsgi/sat_dump.py'.
[Fri Mar 14 10:04:55 2014] [error] [client 10.13.213.230] IOError: failed to write data
[Fri Mar 14 10:58:54 2014] [error] [client 10.13.213.230] mod_wsgi (pid=23718): Exception occurred processing WSGI script '/usr/share/rhn/wsgi/sat_dump.py'.
[Fri Mar 14 10:58:54 2014] [error] [client 10.13.213.230] IOError: failed to write data

Environment

  • Red Hat Satellite 5.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In