Bug 1004954
Summary: | getting "KeyError: '1000010848'" when syncing from big satellite instance | ||
---|---|---|---|
Product: | [Retired] Subscription Asset Manager | Reporter: | Jan Hutař <jhutar> |
Component: | Splice | Assignee: | Splice Developers <splice-devel> |
Status: | CLOSED ERRATA | QA Contact: | mkovacik |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.3 | CC: | bkearney, cduryee, jhutar, tomckay, vkuznets |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-10-01 11:24:55 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: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 833466 |
Description
Jan Hutař
2013-09-05 20:31:25 UTC
According to a katello developer, we are likely pushing data with too many threads, and it's having trouble keeping up. Reducing the num_threads count in checkin.conf should resolve this. Let me know if num_threads=2 works better, and if it does I'll change the default in checkin.conf. Yes. This helped. I have decreased num_threads in /etc/splice/checkin.conf from 4 to 2 and re-run the command (note I have not purged SAM DB to be 100% sure all data gets inserted again) and it ended without traceback. eb0c566 spacewalk-splice-tool 0.42+ I changed the default num_threads from 4 to 2. This makes creates and updates somewhat slower, but avoids the issues mentioned above. After discussion with vkuznets, we changed this to 1 In Snapshot 6: # grep num_threads /etc/splice/checkin.conf num_threads = 1 Jan, can you please confirm you're not hitting the initial issue with Snapshot6? Is there a way how to list all the systems in the SAM instance on the command line? I want to compare it to list in satellite. Would prefer some CSV file. (In reply to Jan Hutař from comment #7) > Is there a way how to list all the systems in the SAM instance on the > command line? I want to compare it to list in satellite. Would prefer some > CSV file. Yes, it's possible. E.g. : #headpin -u admin -p admin system list --org satellite-1 -g --noheading -d ',' You can list all your org labels with 'headpin org list'. Thanks. Note it will take some time to me (day or so) waiting for a Beaker to prepare mine environment, will report back with results later. Verifying based on Comment 6 and Comment 10. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-1390.html |