Bug 2124851

Summary: Post upgrade to 6.11.z, DHCP error with wrong number of arguments for validate_supported_address
Product: Red Hat Satellite Reporter: Satyajit Das <sadas>
Component: ProvisioningAssignee: Lukas Zapletal <lzap>
Status: CLOSED ERRATA QA Contact: sganar
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.11.0CC: egolov, inecas, j.becker, lzap, saydas, sshtein
Target Milestone: 6.12.0Keywords: Triaged
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:
: 2131769 (view as bug list) Environment:
Last Closed: 2022-11-16 13:35:39 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 Satyajit Das 2022-09-07 09:34:01 UTC
Description of problem:

Post upgrade to 6.11, unable to deploy host when DHCP is managed by Infoblox.


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

6.11.z


How reproducible:

100%

Environment:-

Satellite 6.11 +  Infoblox (DHCP)


Steps to Reproduce:

1. Configure satellite to manage/create DHCP records in Infoblox.
2. Create a host in satellite. It fails with the below error:-

Actual results:

e41372e5 [W] Error details for wrong number of arguments (given 2, expected 1): <ArgumentError>: wrong number of arguments (given 2, expected 1)

Expected results:

The user should be able to provision the host successfully without any issues.


Additional info:

Tried the fix from the upstream and it resolved the issue.

https://github.com/theforeman/smart-proxy/pull/816

Comment 3 Bryan Kearney 2022-09-08 12:05:04 UTC
Upstream bug assigned to lzap

Comment 4 Bryan Kearney 2022-09-08 12:05:07 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34359 has been resolved.

Comment 6 sganar 2022-09-15 15:22:51 UTC
Verified.

Tested on Satellite 6.12.0 Snap 11.0

Steps followed: 
1. Configure satellite to manage/create DHCP records in Infoblox.
2. Create a host in satellite. It fails with the below error:-

Observation: 
Host provisioned successfully without any errors.

Comment 10 errata-xmlrpc 2022-11-16 13:35:39 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 (Important: Satellite 6.12 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/RHSA-2022:8506