Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1417053 - hammer host create returns "ip can't be blank" with interface attached to subnet with IPAM set to internal DB
hammer host create returns "ip can't be blank" with interface attached to sub...
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Hosts (Show other bugs)
6.2.6
All All
high Severity high (vote)
: 6.2.15
: Unused
Assigned To: Tomas Strachota
Sanket Jagtap
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-01-27 01:32 EST by Anand Agrawal
Modified: 2018-05-21 16:17 EDT (History)
12 users (show)

See Also:
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 16:16:43 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:1672 None None None 2018-05-21 16:17 EDT

  None (edit)
Comment 3 Marek Hulan 2017-01-30 06:38:24 EST
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 03:27:20 EST
Created redmine issue http://projects.theforeman.org/issues/18817 from this bug
Comment 20 Sanket Jagtap 2018-04-25 04:41:33 EDT
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 16:16:43 EDT
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

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