Red Hat Bugzilla – Bug 1350834
ExclusiveLock held by Candlepin, resulting in INSERTs waiting for a lock and thus a hanging Satellite
Last modified: 2017-02-23 14:18:02 EST
Fixed upstream in candlepin-0.9.49.17-1
Verified in Satellite 6.1.11. I created a script to generate esx data to a json file. This way I could create the required number of entries (1,500 Hypervisors; 45,000 Guests). https://gist.github.com/JacobCallahan/1c948ca2466aaeb5de395743f1555e19 # python2.7 genvirt.py -h usage: genvirt.py [-h] hypervisors guests path positional arguments: hypervisors The number of hypervisors to create. guests The number of guests per hypervisor to create. path The file path to save the output to. optional arguments: -h, --help show this help message and exit # python2.7 genvirt.py 500 30 test1.json # python2.7 genvirt.py 500 30 test2.json # python2.7 genvirt.py 500 30 test3.json # ll -rw-r--r--. 1 root root 1.7M Nov 17 03:31 test1.json -rw-r--r--. 1 root root 1.7M Nov 17 03:31 test2.json -rw-r--r--. 1 root root 1.7M Nov 17 03:31 test3.json # for virt in test1.json test2.json test3.json; do curl -k -X POST --cert /etc/pki/consumer/cert.pem --key /etc/pki/consumer/key.pem https://ibm-x3550m3-07.lab.eng.brq.redhat.com/rhsm/hypervisors -H "Content-Type: application/json" -d @"$virt"; done; The processes completed successfully, with no interrupts to content host page loading. Average content host page load times after process is 4.8s.
Created attachment 1221453 [details] verification screenshot
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. https://access.redhat.com/errata/RHBA-2016:2804