Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1417053

Summary: hammer host create returns "ip can't be blank" with interface attached to subnet with IPAM set to internal DB
Product: Red Hat Satellite Reporter: Anand Agrawal <aagrawal>
Component: HostsAssignee: Tomas Strachota <tstrachota>
Status: CLOSED ERRATA QA Contact: Sanket Jagtap <sjagtap>
Severity: high Docs Contact:
Priority: high    
Version: 6.2.6CC: adprice, bbuckingham, bkearney, cmarinea, dhlavacd, jcallaha, mhulan, mmccune, msomasun, sjagtap, tstrachota, zhunting
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: foreman-1.11.0.89-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-21 20:16:43 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:

Comment 3 Marek Hulan 2017-01-30 11:38:24 UTC
Looking at the subnet setting it's likely caused by the fact the interface is attached to a subnet which IPAM is set to Internal DB. We need few tests but IIRC the UI does the autosuggestion so it works there. A temporary workaround is to set the IP manually as another argument for that NIC.

Comment 5 Tomas Strachota 2017-03-07 08:27:20 UTC
Created redmine issue http://projects.theforeman.org/issues/18817 from this bug

Comment 20 Sanket Jagtap 2018-04-25 08:41:33 UTC
Build : Satellite 6.2.15 snap1

hammer -d host create --hostgroup-id 2 --location "Default Location" --organization "Default Organization" --name robtest-sjagtap --compute-resource libvirt --compute-profile 2-Medium --lifecycle-environment DEV --content-view "RHEL 7 CV" --interface identifier=eth0,primary=false,provision=true,managed=true,subnet_id=2,compute_type=bridge,compute_network="testingsat6_el7",compute_model=virtio --interface identifier=eth1,primary=true,provision=false,managed=true,subnet_id=3,compute_type=bridge,compute_network="testingsat6_el7",compute_model=virtio

I was able to create a host and IP address was assigned to both the interfaces

Comment 24 errata-xmlrpc 2018-05-21 20:16:43 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, 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-2018:1672