Postgres duplicate key violation when attempting OpenSCAP Scans

Solution Unverified - Updated -

Issue

  • Postgres duplicate key violation when attempting OpenSCAP Scans with Satellite 5.7
Frame call_function in /usr/lib/python2.6/site-packages/spacewalk/server/apacheRequest.py at line 173  
e = <class 'psycopg2.IntegrityError'> duplicate key value violates unique constraint "rhn_xccdf_rim_ri_uq" DETAIL:  Key (rresult_id, ident_id)=(765405, 2) already exists.
  • On client system while running rhn_check -vvv getting following error
XMLRPC ProtocolError: <ProtocolError for <satellite_fqdn>/XMLRPC: 500 Internal Server Error>

Environment

  • Red Hat Satellite 5.7

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