| Summary: | Satellite-sync fails with error code 3005 / No such erratum rhn-erratum-34009 | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Network | Reporter: | befreeman <befreeman> |
| Component: | RHN/Channels | Assignee: | Richard Bernleithner <rbernlei> |
| Status: | CLOSED EOL | QA Contact: | |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | RHN Stable | CC: | ahuchcha, aladke, ams-dev-list, awestbro, befreeman, bsaylor, cshereme, dgregor, ggainey, gpayelka, igreen, ileppala, jamiewbutler, jangerrit.kootstra, jentrena, ktordeur, mmello, mpicoto, ngalvin, pgervase, pmutha, risantam, tkasparek, tkopecek, tlestach, tmlcoch, wharris, xdmoon |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-07-05 15:24:52 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
10:31:06
SYNC ERROR:
Exception reported from apogee2.ts.vcu.edu
Time: Thu Mar 17 10:31:06 2016
Exception type <class 'spacewalk.satellite_tools.syncLib.RhnSyncException'>
Exception Handler Information
Traceback (most recent call last):
File "/usr/bin/satellite-sync", line 139, in main
return satsync.Runner().main()
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 229, in main
ret = method()
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 337, in _step_download_errata
return self.syncer.download_errata()
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 1533, in download_errata
stream_loader.process)
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 1576, in _proces_batch
prompt, nevermorethan, process_function_args)
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 1556, in _processWithProgressBar
process_function(chunk, *process_function_args)
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 1994, in process
stream = self.loader(*args)
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/xmlWireSource.py", line 258, in getErrataXmlStream
return self._openSocketStream("dump.errata", (self.systemid, erratumIds))
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/xmlWireSource.py", line 155, in _openSocketStream
stream = func(*params)
File "/usr/lib/python2.6/site-packages/rhn/rpclib.py", line 654, in __call__
return self._send(self._name, args)
File "/usr/lib/python2.6/site-packages/rhn/rpclib.py", line 386, in _request
self._handler, request, verbose=self._verbose)
File "/usr/lib/python2.6/site-packages/rhn/transports.py", line 188, in request
return self._process_response(fd, connection)
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/connection.py", line 50, in _process_response
ret = self.parse_response(fd)
File "/usr/lib/python2.6/site-packages/rhn/transports.py", line 240, in parse_response
return u.close()
File "/usr/lib64/python2.6/xmlrpclib.py", line 838, in close
raise Fault(**self._stack[0])
RhnSyncException:
Error Message:
No such erratum rhn-erratum-34009
Error Class Code: 3005
Error Class Info: Unable to retrieve erratum
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.
We also got the same error this morning. I tried to follow the instructions in: https://access.redhat.com/solutions/30686 But it had no effect. 1. Clearing the cache does not resolve the issue. 2. There errata 34009 cannot be found from: https://rhn.redhat.com/rhn/errata/details/Details.do?eid=34009 My suggestion would be to clear sat-sync cache and re-run satellite-sync again according to: https://access.redhat.com/solutions/30686 If this does not help (according to Comment 4), this looks like RHN hosted keeps serving wrong metadata. Switching to RHN/Channels similarly as Bug 1014396. Dear team, I have the same issue, filled under Red Hat case 01603130 for me https://access.redhat.com/solutions/30686 did not solve the issue either. I have checked, and my satellite server does not use localized settings in it RHN profile. So Tomas suggestion fails for me too, just like it does for Ileppala. I see this issue both on a RHEL 6.7 server running Satellite 5.7 on test, and RHEL 5.11 running Satellite 5.6 on production. Clearing the sync cache was the first thing I tried. We need do that every so often. If that had worked, I never would have filed the bug. I am also having this issue on a Satellite 5.6 server in production: I also have cleared the sync to no avail and I am getting this error as of 3/18/16 9:26 am CST. rm -rf /var/cache/rhn/satsync/* [root@]# satellite-sync 09:15:35 Red Hat Satellite - live synchronization 09:15:35 url: https://satellite.rhn.redhat.com 09:15:35 debug/output level: 1 09:15:39 db: /<password>@rhnschema 09:15:39 09:15:39 Retrieving / parsing channel-families data 09:15:43 channel-families data complete 09:15:43 09:15:43 Retrieving / parsing product names data 09:15:44 product names data complete 09:15:45 09:15:45 Retrieving / parsing arches data 09:15:46 arches data complete 09:15:46 09:15:46 Retrieving / parsing additional arches data 09:15:46 additional arches data complete 09:15:46 09:15:46 Retrieving / parsing channel data 09:16:29 p = previously imported/synced channel 09:16:29 . = channel not yet imported/synced 09:16:29 base-channels: 09:16:29 p rhel-x86_64-server-6 16694 09:16:29 p rhel-x86_64-server-7 10407 09:16:29 rhel-x86_64-server-6: 09:16:29 p rhel-x86_64-server-6-thirdparty-oracle-java 337 09:16:29 p rhn-tools-rhel-x86_64-server-6 190 09:16:29 09:16:29 Channel data complete 09:16:29 09:16:29 Retrieving short package metadata (used for indexing) 09:16:29 Retrieving / parsing short package metadata: rhel-x86_64-server-6 (16694) 09:16:53 Retrieving / parsing short package metadata: rhel-x86_64-server-6-thirdparty-oracle-java (337) 09:16:54 Retrieving / parsing short package metadata: rhel-x86_64-server-7 (10407) 09:17:09 Retrieving / parsing short package metadata: rhn-tools-rhel-x86_64-server-6 (190) 09:17:10 Diffing package metadata (what's missing locally?): rhel-x86_64-server-6 ________________________________________ Diffing: ######################################## - complete 09:17:28 Diffing package metadata (what's missing locally?): rhel-x86_64-server-6-thirdparty-oracle-java ________________________________________ Diffing: ######################################## - complete 09:17:28 Diffing package metadata (what's missing locally?): rhel-x86_64-server-7 ________________________________________ Diffing: ######################################## - complete 09:17:39 Diffing package metadata (what's missing locally?): rhn-tools-rhel-x86_64-server-6 ________________________________________ Diffing: ######################################## - complete 09:17:39 09:17:39 Downloading package metadata 09:17:39 Retrieving / parsing *relevant* package metadata: rhel-x86_64-server-6 (NONE RELEVANT) 09:17:39 Retrieving / parsing *relevant* package metadata: rhel-x86_64-server-6-thirdparty-oracle-java (NONE RELEVANT) 09:17:39 Retrieving / parsing *relevant* package metadata: rhel-x86_64-server-7 (NONE RELEVANT) 09:17:39 Retrieving / parsing *relevant* package metadata: rhn-tools-rhel-x86_64-server-6 (NONE RELEVANT) 09:17:39 09:17:39 Downloading rpm packages 09:17:39 Fetching any missing RPMs: rhel-x86_64-server-6 (NONE MISSING) 09:17:39 Fetching any missing RPMs: rhel-x86_64-server-6-thirdparty-oracle-java (NONE MISSING) 09:17:39 Fetching any missing RPMs: rhel-x86_64-server-7 (NONE MISSING) 09:17:39 Fetching any missing RPMs: rhn-tools-rhel-x86_64-server-6 (NONE MISSING) 09:17:39 Processing rpm packages complete 09:17:39 09:17:39 Importing package metadata 09:17:39 Importing *relevant* package metadata: rhel-x86_64-server-6 (NONE RELEVANT) 09:17:39 Importing *relevant* package metadata: rhel-x86_64-server-6-thirdparty-oracle-java (NONE RELEVANT) 09:17:39 Importing *relevant* package metadata: rhel-x86_64-server-7 (NONE RELEVANT) 09:17:39 Importing *relevant* package metadata: rhn-tools-rhel-x86_64-server-6 (NONE RELEVANT) 09:17:39 09:17:39 Linking packages to channels 09:18:20 09:18:20 Downloading errata data 09:18:20 Retrieving / parsing errata data: rhel-x86_64-server-6 (7) ________________________________________ Downloading:+++ sending log as an email +++ SYNC ERROR: (Check logs/email for potentially more detail) RhnSyncException('\nError Message:\n No such erratum rhn-erratum-34009\nError Class Code: 3005\nError Class Info: Unable to retrieve erratum\nExplanation: \n An error has occurred while processing your request. If this problem\n persists please enter a bug report at bugzilla.redhat.com.\n If you choose to submit the bug report, please be sure to include\n details of what you were trying to do when this error occurred and\n details on how to reproduce this problem.\n',) Error Message: No such erratum rhn-erratum-34009 Error Class Code: 3005 Error Class Info: Unable to retrieve erratum 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. (In reply to JB from comment #9) > I am also having this issue on a Satellite 5.6 server in production: > > > I also have cleared the sync to no avail and I am getting this error as of > 3/18/16 9:26 am CST. > > rm -rf /var/cache/rhn/satsync/* > [root@]# satellite-sync > 09:15:35 Red Hat Satellite - live synchronization > 09:15:35 url: https://satellite.rhn.redhat.com > 09:15:35 debug/output level: 1 > 09:15:39 db: /<password>@rhnschema > 09:15:39 > 09:15:39 Retrieving / parsing channel-families data > 09:15:43 channel-families data complete > 09:15:43 > 09:15:43 Retrieving / parsing product names data > 09:15:44 product names data complete > 09:15:45 > 09:15:45 Retrieving / parsing arches data > 09:15:46 arches data complete > 09:15:46 > 09:15:46 Retrieving / parsing additional arches data > 09:15:46 additional arches data complete > 09:15:46 > 09:15:46 Retrieving / parsing channel data > 09:16:29 p = previously imported/synced channel > 09:16:29 . = channel not yet imported/synced > 09:16:29 base-channels: > 09:16:29 p rhel-x86_64-server-6 16694 > 09:16:29 p rhel-x86_64-server-7 10407 > 09:16:29 rhel-x86_64-server-6: > 09:16:29 p rhel-x86_64-server-6-thirdparty-oracle-java 337 > 09:16:29 p rhn-tools-rhel-x86_64-server-6 190 > 09:16:29 > 09:16:29 Channel data complete > 09:16:29 > 09:16:29 Retrieving short package metadata (used for indexing) > 09:16:29 Retrieving / parsing short package metadata: > rhel-x86_64-server-6 (16694) > 09:16:53 Retrieving / parsing short package metadata: > rhel-x86_64-server-6-thirdparty-oracle-java (337) > 09:16:54 Retrieving / parsing short package metadata: > rhel-x86_64-server-7 (10407) > 09:17:09 Retrieving / parsing short package metadata: > rhn-tools-rhel-x86_64-server-6 (190) > 09:17:10 Diffing package metadata (what's missing locally?): > rhel-x86_64-server-6 > ________________________________________ > Diffing: ######################################## - complete > 09:17:28 Diffing package metadata (what's missing locally?): > rhel-x86_64-server-6-thirdparty-oracle-java > ________________________________________ > Diffing: ######################################## - complete > 09:17:28 Diffing package metadata (what's missing locally?): > rhel-x86_64-server-7 > ________________________________________ > Diffing: ######################################## - complete > 09:17:39 Diffing package metadata (what's missing locally?): > rhn-tools-rhel-x86_64-server-6 > ________________________________________ > Diffing: ######################################## - complete > 09:17:39 > 09:17:39 Downloading package metadata > 09:17:39 Retrieving / parsing *relevant* package metadata: > rhel-x86_64-server-6 (NONE RELEVANT) > 09:17:39 Retrieving / parsing *relevant* package metadata: > rhel-x86_64-server-6-thirdparty-oracle-java (NONE RELEVANT) > 09:17:39 Retrieving / parsing *relevant* package metadata: > rhel-x86_64-server-7 (NONE RELEVANT) > 09:17:39 Retrieving / parsing *relevant* package metadata: > rhn-tools-rhel-x86_64-server-6 (NONE RELEVANT) > 09:17:39 > 09:17:39 Downloading rpm packages > 09:17:39 Fetching any missing RPMs: rhel-x86_64-server-6 (NONE MISSING) > 09:17:39 Fetching any missing RPMs: > rhel-x86_64-server-6-thirdparty-oracle-java (NONE MISSING) > 09:17:39 Fetching any missing RPMs: rhel-x86_64-server-7 (NONE MISSING) > 09:17:39 Fetching any missing RPMs: rhn-tools-rhel-x86_64-server-6 (NONE > MISSING) > 09:17:39 Processing rpm packages complete > 09:17:39 > 09:17:39 Importing package metadata > 09:17:39 Importing *relevant* package metadata: rhel-x86_64-server-6 > (NONE RELEVANT) > 09:17:39 Importing *relevant* package metadata: > rhel-x86_64-server-6-thirdparty-oracle-java (NONE RELEVANT) > 09:17:39 Importing *relevant* package metadata: rhel-x86_64-server-7 > (NONE RELEVANT) > 09:17:39 Importing *relevant* package metadata: > rhn-tools-rhel-x86_64-server-6 (NONE RELEVANT) > 09:17:39 > 09:17:39 Linking packages to channels > 09:18:20 > 09:18:20 Downloading errata data > 09:18:20 Retrieving / parsing errata data: rhel-x86_64-server-6 (7) > ________________________________________ > Downloading:+++ sending log as an email +++ > > SYNC ERROR: > > (Check logs/email for potentially more detail) > > RhnSyncException('\nError Message:\n No such erratum > rhn-erratum-34009\nError Class Code: 3005\nError Class Info: Unable to > retrieve erratum\nExplanation: \n An error has occurred while processing > your request. If this problem\n persists please enter a bug report at > bugzilla.redhat.com.\n If you choose to submit the bug report, please be > sure to include\n details of what you were trying to do when this error > occurred and\n details on how to reproduce this problem.\n',) > > Error Message: > No such erratum rhn-erratum-34009 > Error Class Code: 3005 > Error Class Info: Unable to retrieve erratum > 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. Email error I get from this also: 09:18:21 SYNC ERROR: Exception reported from servername Time: Fri Mar 18 09:18:21 2016 Exception type <class 'spacewalk.satellite_tools.syncLib.RhnSyncException'> Exception Handler Information Traceback (most recent call last): File "/usr/bin/satellite-sync", line 139, in main return satsync.Runner().main() File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 229, in main ret = method() File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 337, in _step_download_errata return self.syncer.download_errata() File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 1533, in download_errata stream_loader.process) File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 1576, in _proces_batch prompt, nevermorethan, process_function_args) File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 1556, in _processWithProgressBar process_function(chunk, *process_function_args) File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 1994, in process stream = self.loader(*args) File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/xmlWireSource.py", line 258, in getErrataXmlStream return self._openSocketStream("dump.errata", (self.systemid, erratumIds)) File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/xmlWireSource.py", line 155, in _openSocketStream stream = func(*params) File "/usr/lib/python2.6/site-packages/rhn/rpclib.py", line 654, in __call__ return self._send(self._name, args) File "/usr/lib/python2.6/site-packages/rhn/rpclib.py", line 386, in _request self._handler, request, verbose=self._verbose) File "/usr/lib/python2.6/site-packages/rhn/transports.py", line 188, in request return self._process_response(fd, connection) File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/connection.py", line 50, in _process_response ret = self.parse_response(fd) File "/usr/lib/python2.6/site-packages/rhn/transports.py", line 240, in parse_response return u.close() File "/usr/lib64/python2.6/xmlrpclib.py", line 838, in close raise Fault(**self._stack[0]) RhnSyncException: Error Message: No such erratum rhn-erratum-34009 Error Class Code: 3005 Error Class Info: Unable to retrieve erratum 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. Just an update. I patched my satellite server doing a yum update and rebooted. I then ran satellite-sync and I no longer receive this error. Others may want to try this. Either way I am no longer having the problem as of today 3/21/16. I can also confirm that this issue is no longer bothering us. We did not run yum update. As you may already be aware, Red Hat is transitioning from the Red Hat Network (RHN) hosted interface to the Red Hat Subscription Management (RHSM) interface in July 2017. Red Hat has invested in and seen success from RHN for many years, and used that experience to build more robust technologies like RHSM. If you have not yet migrated your RHN systems to RHSM or you are a Red Hat Satellite customer, please review the information from. https://access.redhat.com/products/red-hat-subscription-management#migration. Since we are shutting down RHN, no further actions will be taken with this bug or enhancement request. You can find additional information at RHSM product page (https://access.redhat.com/products/red-hat-subscription-management). If you have further questions, please contact support (https://access.redhat.com/products/red-hat-subscription-management#support). |
Description of problem: satellite-sync fails with error code 3005; No such erratum rhn-erratum-34009 Version-Release number of selected component (if applicable): How reproducible: Very Steps to Reproduce: 1. Attempt to sync 2. Watch it fail 3. Bug it Actual results: sync fails Expected results: sync completes Additional info: Error Message: No such erratum rhn-erratum-34009 Error Class Code: 3005 Error Class Info: Unable to retrieve erratum 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.