Bug 1699097

Summary: Error when creating hosts with Infoblox DHCP and non-Infoblox DNS
Product: Red Hat Satellite Reporter: Perry Gagne <pgagne>
Component: Infoblox integrationAssignee: Lukas Zapletal <lzap>
Status: CLOSED NOTABUG QA Contact: Radovan Drazny <rdrazny>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.5.0CC: lzap
Target Milestone: UnspecifiedKeywords: 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: Environment:
Last Closed: 2020-01-20 10:49:37 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 Perry Gagne 2019-04-11 18:50:12 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
1. Configure satellite or capsule with Infoblox DHCP 
2. Configure non-Infoblox DNS (like ISC)
3. Create a host 

Actual results: Error in proxy.log
2019-04-11T14:27:56 d379428e [E] Error: 400 { "Error": "AdmConDataError: None (IBDataConflictError: IB.Data.Conflict:The action is not allowed. A parent was not found.)",
  "code": "Client.Ibap.Data.Conflict",
  "text": "The action is not allowed. A parent was not found."
}

Expected results:
Host is created


Additional info:
Infoblox WAPI Host record object seems to have an option called "configure_for_dns" that appears to fix this. I edited build_host to add:
ost.configure_for_dns = false

and was able to create the host successfully. We should look into this more to see if we can use it in this scenario.

Comment 3 Lukas Zapletal 2019-06-26 12:53:15 UTC
Does setting the record type to fixedaddress fixes this? What is the point of creating a host record when configure_for_dns is set to false?

Comment 4 Perry Gagne 2019-09-03 14:59:04 UTC
clearing the needinfo on this. The issue here was due to the earlier confusion wrt what record type to use. Uses fixedaddress avoids this issue.

Comment 5 Perry Gagne 2020-01-17 20:34:53 UTC
Lzap, do you see any reason to leave this open. If not we can probably close it.

Comment 6 Lukas Zapletal 2020-01-20 10:49:37 UTC
Nah, thanks.