Bug 2210256
| Summary: | Installer fails when disabling Infoblox plugin but plugin is eventually disabled | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | sganar |
| Component: | Installer | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED NOTABUG | QA Contact: | Satellite QE Team <sat-qe-bz-list> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.14.0 | CC: | ahumbe, egolov, ehelms, ekohlvan, gtalreja, nalfassi, rlavi |
| Target Milestone: | Unspecified | Keywords: | Documentation, 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-08 11:00:20 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
sganar
2023-05-26 09:57:00 UTC
This is most probably a result of https://github.com/theforeman/puppet-foreman_proxy/commit/ae3f5760ca238e4352e422649155979d23950837 or, more generally speaking, https://github.com/theforeman/puppet-foreman_proxy/pull/779 couple more observations (sorry for the spam): 1. this does only happen for DNS, not DHCP! 2. the problem is that while you pass --no-enable-foreman-proxy-plugin-dns-infoblox to disable the plugin, the value of foreman-proxy-dns-provider is still "infoblox" and the infoblox module is still evaluated 3. it works fine if one does --no-enable-foreman-proxy-plugin-dns-infoblox --reset-foreman-proxy-dns-provider (as this resets the provider to nsupdate) I am torn between "you're disabling the plugin wrongly" (= doc bug) and "the installer should handle this smarter" cc @ekohlvan I'm leaning to "you're disabling the plugin wrongly", which we don't document today. Some more observations: * Just passing --no-enable-foreman-proxy-plugin-dns-infoblox stops managing it, but doesn't clean up anything. * Disabling the dns module entirely is probably better than resetting the provider to nsupdate, because that may install ISC BIND. * The same is true for DHCP, but there we don't expose it clearly So from the top of my head I think these commands should be the correct way to remove it: satellite-installer --foreman-proxy-dns false --reset-foreman-proxy-dns-provider --no-enable-foreman-proxy-plugin-dns-infoblox dnf remove rubygem-smart_proxy_dns_infoblox We could look at implementing ensure=absent to make this easier, but don't do this today. It may not be obvious, but to trace the version it was included: $ cd ~/dev/puppet-foreman_proxy $ git tag --contains ae3f5760ca238e4352e422649155979d23950837 --sort=version:refname | head -n 1 24.0.0 $ cd ~/dev/foreman-installer $ git checkout 3.5-stable $ ./bin/module-versions | grep 'puppet-foreman_proxy ' puppet-foreman_proxy 24.1.0 24.1-stable A bit further digging (inspecting git log of Puppetfile.lock) shows it was first included in foreman-installer 3.5.0-rc1, which means it's also present in Satellite 6.13. |