Candlepin throws NullPointerException when processing virt-who HypervisorUpdateJob

Solution Verified - Updated -

Issue

Candlepin fails to process virt-who reports.
IE: This report comes from a RHEL7 KVM/Libvirt hypervisor.
virt-who -o -d displays the error below among otherwise successful log messages:

2019-05-21 12:07:47,889 [virtwho.destination_-6444978012026516758 WARNING] MainProcess(29170):Thread-3 @subscriptionmanager.py:check_report_state:365 - Job status report without resultData: {u'finishTime': None, u'targetType': u'owner', u'updated': u'2019-05-21T10:07:32+0000', u'group': u'async group', u'created': u'2019-05-21T10:07:31+0000', u'resultData': None, u'statusPath': u'/jobs/hypervisor_update_f70fb8b9-1305-4fbe-8e2b-b4c548674280', u'targetId': u'**REDACTED**', u'principalName': u'foreman_admin', u'state': u'FAILED', u'done': True, u'result': None, u'startTime': u'2019-05-21T10:07:31+0000', u'ownerId': u'**REDACTED**', u'id': u'hypervisor_update_f70fb8b9-1305-4fbe-8e2b-b4c548674280', u'correlationId': u'861e1f22'}

Environment

  • Red Hat Satellite 6.5
  • virt-who

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content