virt-who fails to upload data to Satellite 6 if VM count is more than 17000

Solution Verified - Updated -

Issue

  • If the number of VMs to report to the Satellite is more than 17000, virt-who fails to upload the collected data to Satellite.
  • The Candlepin log shows output similar to:

Caused by: java.io.IOException: Tried to send an out-of-range integer as a 2-byte value: 32768
at org.postgresql.core.PGStream.sendInteger2(PGStream.java:224)
at org.postgresql.core.v3.QueryExecutorImpl.sendParse(QueryExecutorImpl.java:1440)
at org.postgresql.core.v3.QueryExecutorImpl.sendOneQuery(QueryExecutorImpl.java:1762)
at org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1326)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:298)

Environment

  • Red Hat Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In