Bug 1981883
Summary: | Enabling katello-agent installer flag fails with error `could not find user qdrouterd`, and flag still set as true | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Jitendra Yejare <jyejare> |
Component: | Installation | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED NOTABUG | QA Contact: | Devendra Singh <desingh> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.10.0 | CC: | ehelms, gtalreja |
Target Milestone: | 6.10.0 | Keywords: | AutomationBlocker, Regression, Reopened, Triaged, UpgradeBlocker |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-08-09 19:07:47 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1945534 |
Description
Jitendra Yejare
2021-07-13 16:08:19 UTC
Needs to document that katello-agent has to be enabled explicitly in 6.10! The problem is the yum errors in the output. Can you double check what repositories are enabled? @ehelms You are right here! My satellite setup had repositories enabled earlier during installation and later it has been removed as part of the teardown process in Ansible Tower! I enabled it and ran the installer again to enable the katello agent and it just works fine! Closing this bug as NOTABUG. Hi, I also hit the same error as mentioned in the description, when no repos enabled on a system, but even after installer failure `--foreman-proxy-content-enable-katello-agent` is set to true, which shouldn't be set I believe. And if it is set to true, so this causes katello-agent to fail while performing host operations like, # hammer host package install --packages zsh --host-id 5 This command uses katello agent and will be removed in favor of remote execution in a future release. The remote execution equivalent is `hammer job-invocation create --feature katello_package_install`. [................................................................................................................................] [100%] Error: Connection refused - connect(2) for "localhost" port 5671 so reopening this BZ for the installer, let me know here or in chat if any details are required. Thanks, Gaurav I don't follow the issue here. You cannot enable katello-agent with no repositories configured. That will fail and is expected to fail as it throws errors with missing packages. I still recommend this be closed notabug. Yes true, it is expected to fail when no repositories are configured and it throws the right errors for missing packages, but even after failure in enabling, a flag is being set to TRUE, which shouldn't be set I believe. The user has set it to 'true' indicating what they want to happen, the flag in this case does not indicate the state of the system but rather the desire of the user. Our installer does not unset a users input if something fails, there is no rollback on failure. The user would need to fix the problem, in this case repositories missing, and then re-run the installer so that they get a successful run. This should be the case for anything the user does with the installer. |