Hammer host create in aws create with wrong ip

Hi Guys,

i am trying to create an EC2 instance via hammer.

i have dhcp on that vlan.

when i am running the following :
hammer -d --show-ids -u "$USERNAME" -p "$PASS" host create --name
"hammertest4" --environment "Production" --hostgroup "general_group"
–compute-resource "E2E_Amazon" --provision-method image --image
"bl-rhel-6.7-hvm.x86_64-ami22" --operatingsystem-id "2" --enabled true
–managed true --interface
–compute-profile-id 2 --subnet="PrivateManagementSubnetAZ1"

it fails :
[DEBUG 2016-10-06 11:58:33 API] Headers: {}
[DEBUG 2016-10-06 11:58:33 API] 500 Internal Server Error
"error" => {
"message" => "Invalid IP Address "
[ERROR 2016-10-06 11:58:33 Exception] Invalid IP Address
Could not create the host:
Invalid IP Address

when i get it an IP, it does not take the ip, but takes the IP from the

Any idea on this ?

At the moment, i have to go into foreman, get the right ip, freeze the
named, fix the tables and thaw it back, but this is not an automated
solution, and hammer should not work like this.

What am i missing ?