The Package Versions:
Also, I don't see any logs under satellites /var/log/rhsm/rhsm.log during posting.
I can easily post upto 30 virt guests, but the issue comes when it is more than or equal to 40.
it's not virt-what package, it should be virt-who, please check again.
and /var/log/rhsm/rhsm.log should be in the host which virt-who was installed.
After discussing with Jitendra, virt-who package never be installed and used for this issue, so I'm afraid it's not a virt-who bug.
According to the error log message, I will move it to the candlepin component to check again.
This does appear to be natively in Candlepin, after posting directly to the virt-who API endpoint the error occurs easily.
We can tune around this via configs in server.xml, I had to get up into the 100MB range before 100 hosts would work:
that is quite a bit more than the default of 4MB which indicates to me that something isn't really working correctly in formulating the response back to the API call.
Customers with 1000 virtual machines in a virt-who transaction would overwhelm the server and require 1G+ ram in the response which .. is a bit much for a HTTP response.
We need to examine how we are formulating the response headers in this API call.
I used https://hub.docker.com/r/jacobcallahan/genvirt/ to generate the API call.
Created redmine issue https://projects.theforeman.org/issues/25026 from this bug
The upstream katello PR has now merged as well. Moving the BZ to POST.
1. Post 1000/300/200 hypervisors json to rhsm/hypervisors using https://hub.docker.com/r/jacobcallahan/genvirt
500 ISE Error : https://pastebin.com/YrpBeArD
The post of 100 hypervisors json works.
Already discussed and shared details with jsherrill, crog.
PR merged upstream; therefore, moving BZ to POST.
Tested the patch downstrean on RC1(snap 24), It works nicely.
Tried posting 200 and max 1000 at a time, nothing breaks works perfect.
tested this with 5k hosts without error:
# docker run -e "SATHOST=sat-r220-01.lab.eng.rdu2.redhat.com" -e "COUNT=5000" jacobcallahan/genvirt
Generating data with 5000 hosts.
Submitting data to sat-r220-01.lab.eng.rdu2.redhat.com. This may take a while...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 771k 0 4 100 771k 0 494 0:26:39 0:26:38 0:00:01 0
nullUnregistering from Satellite
Unregistering from: sat-r220-01.lab.eng.rdu2.redhat.com:443/rhsm
System has been unregistered.
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.