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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.