Bug 2162542
| Summary: | Content tab of new host UI doesn't contain "Install/Apply via katello-agent", if katello-agent package is not installed on host | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Gaurav Talreja <gtalreja> |
| Component: | Hosts - Content | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED NOTABUG | QA Contact: | Satellite QE Team <sat-qe-bz-list> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.12.0 | CC: | ahumbe, jlenz |
| Target Milestone: | Unspecified | Keywords: | Regression, Triaged |
| Target Release: | Unused | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-08-14 14:08:04 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Gaurav Talreja
2023-01-19 21:47:45 UTC
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?
(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 |