Description of problem: Content tab of new host UI doesn't contain "Install/Apply via katello-agent", if katello-agent package is installed on host, and goferd isn't running Version-Release number of selected component (if applicable): Satellite 6.12.2 Snap 1.0 Satellite 6.13.0 Snap 7.0 How reproducible: Always Steps to Reproduce: 1. Enable katello-agent on Satellite using --foreman-proxy-content-enable-katello-agent true 2. Register host using global registration template and enable el8 repo 3. Verify katello-agent package isn't installed and goferd isn't running on host 4. Navigate to Content tab on host details page 5. On sub-tab Packages, "Install packages", select package to install, check dropdown of install 6. On sub-tab Errata, select errata to apply, check dropdown of apply button Actual results: No option of Install via katello-agent or Apply via katello-agent Expected results: Option available of Install via katello-agent or Apply via katello-agent, despite katello-agent is installed or not, and should fail with "Host did not respond within 20 seconds. The task has been cancelled. Is katello-agent installed and goferd running on the Host?" as similar to old content host UI Additional info:
Hello Gaurav In order for Katello agent to show in the new UI, two things must be the case: 1. Katello-agent must be enabled via the installer. (It seems you've covered that in https://bugzilla.redhat.com/show_bug.cgi?id=2162545; should one of these BZs be closed as a duplicate?) 2. The setting "Use remote execution by default" (Administer > Settings > Content) must be set to False. Can you confirm that both of these are the case?
Also, 3. katello-agent must be listed in the host's installed packages.
Hi Jeremy, This issue happens when a katello-agent package isn't installed and goferd isn't running on the host, and it's enabled via the installer, BZ summary looks a little misleading here and the description is right, sorry for the confusion! If it's installed there is an option available to use katello-agent, earlier it used to fail in the old UI with a mentioned message in the expected result section of this BZ And for BZ 2162545, in case of removal, there is no option present to select as similar to install, it's either REX or katello-agent, which doesn't look appropriate to me and it's not a duplicate of this I think. Also when both REX and katello-agent are available to use, we hit BZ 2162544 Thanks Gaurav
> If it's installed there is an option available to use katello-agent, earlier it used to fail in the old UI with a mentioned message in the expected result section of this BZ So the request is to be able to force the use of katello-agent regardless of whether it's installed, like you could in the old UI? I don't see a reason that the new UI should allow that, especially since katello-agent is going away. The new UI is smarter in that it allows and supports the use of katello-agent if it's enabled and installed on the host, and uses REX as appropriate otherwise. I agree that it's a bit inconsistent to have the install option say "Install via katello-agent" and the remove option just say "Remove." We could use the other BZ to update that wording to just "Install" or "Remove" to be more consistent. But for this BZ, the new UI is behaving as designed. Thoughts?
Adding needinfo based upon comment 5.
(In reply to Jeremy Lenz from comment #5) > > If it's installed there is an option available to use katello-agent, earlier it used to fail in the old UI with a mentioned message in the expected result section of this BZ > > So the request is to be able to force the use of katello-agent regardless of > whether it's installed, like you could in the old UI? I don't see a reason > that the new UI should allow that, especially since katello-agent is going > away. The new UI is smarter in that it allows and supports the use of > katello-agent if it's enabled and installed on the host, and uses REX as > appropriate otherwise. > Nope, anyway it doesn't work if katello-agent package isn't installed on the host, so I think its fine if user doesn't see that option, and continue to show only REX options instead, but we need to make sure its documented for this behaviour. > I agree that it's a bit inconsistent to have the install option say "Install > via katello-agent" and the remove option just say "Remove." We could use the > other BZ to update that wording to just "Install" or "Remove" to be more > consistent. But for this BZ, the new UI is behaving as designed. > > Thoughts? Yes, it makes sense, so if I understand this correctly, you mean when setting remote_execution_by_default is set to FALSE then this Install/Remove options will use katello-agent by default and it its set to TRUE then REX is default Install/Remove operations on client, right? or removing katello-agent completely? if yes, then I think we're good to close this BZ as NOTABUG and can continue in this BZ 2162545
Closing as NOTABUG; see https://bugzilla.redhat.com/show_bug.cgi?id=2162542#c7