Errata install still tries to use katello-agent over remote execution

Problem:
Errata installation tries to use katello-agent instead of remote execution despite having set option in Settings to prefer remote execution:


Expected outcome:
Use Remote execution for installing Erratas

Foreman and Proxy versions:
1.24.2 latest updates
3.14.1

Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:

After a bit more testing, it appears that running it manually through the Web runs as remote action and works but using the API results in katello-agent job ( https://foreman/api/hosts/some-hose.example.com/errata/apply )

Am i using the wrong endpoint or is was the api forgotten when updating to use remote actions?
should i perhaps instead execute a remote errata installation job from my script instead of using that endpoint?

Hi there, I filled an issue regarding this here a few days ago :
https://projects.theforeman.org/issues/29277

Running the update on the “Bulk” page uses REX. But directly from a specific host page it uses the katello Agent

Ahh, hadn’t tested much more than api vs specific host page.
Good that there’s a ticket now though, just hope it gets resolved soon.

Hi. The Bug issue 29277 was marked as “rejected” with a notice stating that all pages were going to be examined for REX compatibility prior to release of Katello 4.0, but…

We are running Katello 4.0.1 and the bug is still there :wink: