CDS addition in RHUI 3 fails with being unable to find repoquery command

Solution Verified - Updated -

Issue

CDS addition to RHUI 3 fails with the following:

[rhuicds@cds.example.com] sudo: puppet agent --onetime --detailed-exitcodes --no-daemonize --no-usecacheonfailure

Fatal error: sudo() received nonzero return code 1 while executing!

Requested: puppet agent --onetime --detailed-exitcodes --no-daemonize --no-usecacheonfailure
Executed: sudo -S -p 'sudo password:'  /bin/bash -l -c "puppet agent --onetime --detailed-exitcodes --no-daemonize --no-usecacheonfailure"

=================================== Standard output ===================================

sh: repoquery: command not found

================================================================

Aborting.

Something happened, check the log file for more information: ~/.rhui/rhui.log

Environment

  • Red Hat Update Infrastructure 3

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