Description of problem: There is thrown an exception: "Action 11 does not belong to server <sid>" (detailed error log follows) when client requests rhn_check -vvv to the satellite where it's registered and on both sides the staging content is switched on. Version-Release number of selected component (if applicable): rhn-client-tools-1.2.1-1.el5 yum-rhn-plugin-1.2.2-1.el5 How reproducible: always Steps to Reproduce: 1. on client side insure you have the packages versions stated above. 2. switch on the values: stagingContent=1;stagingContentWindow=120 3. on Satellite side: Admin-><Your Org>->Configuaration->Enable Staging Contents 4. make the client registered to the Satellite with some packages need to be updated. 5. run rhn_check -vvv Actual results: there is an error like: --- D: handle_action {'action': "<?xml version='1.0'?>\n<methodCall>\n<methodName>packages.update</methodName>\n<params>\n<param>\n<value><array><data>\n<value><array><data>\n<value><string>rhncfg</string></value>\n<value><string>5.9.27</string></value>\n<value><string>1.el5</string></value>\n<value><string></string></value>\n<value><string>noarch</string></value>\n</data></array></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 11} D: handle_action actionid = 11, version = 2 D: do_call packages.update ([['rhncfg', '5.9.27', '1.el5', '', 'noarch']],) {'cache_only': 1} D: Sending back response (0, 'no-ops for caching', {}) Could not submit results to server <RetryServer for smqe-sat11.lab.eng.brq.redhat.com/XMLRPC> Error code: -22 Error Message: Action 11 does not belong to server 1000010001 Error Class Code: 22 Error Class Info: Unable to retrieve requested entry. Explanation: An error has occurred while processing your request. If this problem persists please enter a bug report at bugzilla.redhat.com. If you choose to submit the bug report, please be sure to include details of what you were trying to do when this error occurred and details on how to reproduce this problem. D: closed db index /var/lib/rpm/Providename D: closed db index /var/lib/rpm/Packages D: closed db environment /var/lib/rpm/Packages D: May free Score board((nil)) --- Expected results: No such tracebacks. The required package(s) for caching should be retrieved (but not installed) to the yum cache directory. Additional info:
# COMMENT the bug actually blocks all the testing process.
the same history with package installation action: --- D: handle_action {'action': "<?xml version='1.0'?>\n<methodCall>\n<methodName>packages.update</methodName>\n<params>\n<param>\n<value><array><data>\n<value><array><data>\n<value><string>rhncfg-client</string></value>\n<value><string>5.9.27</string></value>\n<value><string>1.el5</string></value>\n<value><string></string></value>\n<value><string>noarch</string></value>\n</data></array></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 46} D: handle_action actionid = 46, version = 2 D: do_call packages.update ([['rhncfg-client', '5.9.27', '1.el5', '', 'noarch']],) {'cache_only': 1} D: Sending back response (0, 'no-ops for caching', {}) Could not submit results to server <RetryServer for smqe-sat11.lab.eng.brq.redhat.com/XMLRPC> Error code: -22 Error Message: Action 46 does not belong to server 1000010001 Error Class Code: 22 Error Class Info: Unable to retrieve requested entry. Explanation: An error has occurred while processing your request. If this problem persists please enter a bug report at bugzilla.redhat.com. If you choose to submit the bug report, please be sure to include details of what you were trying to do when this error occurred and details on how to reproduce this problem. D: closed db index /var/lib/rpm/Providename D: closed db index /var/lib/rpm/Packages D: closed db environment /var/lib/rpm/Packages D: May free Score board((nil))
There were 2 independent errors: * "Action <id> does not belong to server <sid>" caused by client trying to update action status while pre-caching is not supposed to modify action status on the server side. Fixed in master by commit 8c5f18ad900818e637369985ac3704c9edcc0e4a 626822 - don't submit action result in cache only mode * Packages can't be downloaded caused by functionality been switched off for package updates in the client code. Fixed in master by commit 95702f6afae9e791badd3bef48f34a5fb937ce4d 626822 - packages for update should be cached
Moving ON_QA. Please use the Spacewalk 1.2 release candidate yum repo at http://koji.spacewalkproject.org/spacewalk/split/spacewalk-5E/server/spacewalk-5E-1.2/$basearch/os http://koji.spacewalkproject.org/spacewalk/split/spacewalk-f12/server/spacewalk-f12-1.2/$basearch/os http://koji.spacewalkproject.org/spacewalk/split/spacewalk-f13/server/spacewalk-f13-1.2/$basearch/os http://koji.spacewalkproject.org/spacewalk/split/spacewalk-f14/server/spacewalk-f14-1.2/$basearch/os (depending on your OS) to verify the bugzilla.
With Spacewalk 1.2 released, marking as CLOSED CURRENTRELEASE. https://www.redhat.com/archives/spacewalk-list/2010-November/msg00111.html