Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1847889 - VerifyDhcpConfigSyntax check should not run if external DHCP
Summary: VerifyDhcpConfigSyntax check should not run if external DHCP
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Satellite Maintain
Version: 6.7.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: 6.9.0
Assignee: Suraj Patil
QA Contact: Gaurav Talreja
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-17 09:49 UTC by Suraj Patil
Modified: 2021-04-21 14:48 UTC (History)
4 users (show)

Fixed In Version: rubygem-foreman_maintain-0.6.9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-21 14:48:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 30140 0 Normal Closed VerifyDhcpConfigSyntax check should not run if external DHCP 2021-02-02 15:43:03 UTC
Red Hat Product Errata RHBA-2021:1312 0 None None None 2021-04-21 14:48:34 UTC

Description Suraj Patil 2020-06-17 09:49:41 UTC
Description of problem:
Check for verifying syntax for ISP DHCP configurations should not be run if the satellite is configured with external DHCP such as Infoblox. 

Version-Release number of selected component (if applicable):
satellite 6.7

How reproducible:
 1) Configure satellite with external DHCP
 2) Run foreman-maintain health check

Comment 1 Suraj Patil 2020-06-17 09:51:08 UTC
Created redmine issue https://projects.theforeman.org/issues/30140 from this bug

Comment 2 Bryan Kearney 2020-07-29 12:04:59 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30140 has been resolved.

Comment 3 Gaurav Talreja 2020-12-30 10:25:22 UTC
Verified.

Tested on Satellite 6.9.0 Snap 7.0 
Version: rubygem-foreman_maintain-0.7.0-1.el7sat.noarch

Setup:
1. Satellite instance configured with external DHCP like Infoblox, which has `:use_provider: dhcp_infoblox` set in /etc/foreman-proxy/settings.d/dhcp.yml
2. Satellite instance which is DHCP enabled and has `:use_provider: dhcp_isc` set in /etc/foreman-proxy/settings.d/dhcp.yml

Steps:
On Satellite integrated with Infoblox,
1. # foreman-maintain health list | grep foreman-proxy-verify-dhcp-config-syntax   // No output as no check exists
2. # foreman-maintain health check --label foreman-proxy-verify-dhcp-config-syntax
No scenario matching label [foreman-proxy-verify-dhcp-config-syntax]
3. # echo $?
1

On Satellite with dhcp_isc,
1. # foreman-maintain health list | grep foreman-proxy-verify-dhcp-config-syntax
[foreman-proxy-verify-dhcp-config-syntax] Check for verifying syntax for ISP DHCP configurations [default]
2. # foreman-maintain health check --label foreman-proxy-verify-dhcp-config-syntax
Running ForemanMaintain::Scenario::FilteredScenario
================================================================================
Check for verifying syntax for ISP DHCP configurations:               [OK]
--------------------------------------------------------------------------------
3. # echo $?
0

Observation: 
Check is not available on the satellite instances where `:use_provider:` is set other than `dhcp_isc`, and also not on DHCP disabled Satellite

Comment 6 errata-xmlrpc 2021-04-21 14:48:22 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Satellite 6.9 Satellite Maintenance Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:1312


Note You need to log in before you can comment on or make changes to this bug.