Project

General

Profile

Actions

Bug #15551

open

suggest new does not suggest a different ip on host interface edit form

Added by Timo Goebel almost 8 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Host creation
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Create a new Host in Foreman and open the interface modal. Select a subnet with ipam enabled.

When an IP address has been auto suggested, i.e. the ip address field is filled, and a user clicks the "Suggest new" link the expected behaviour is that a different ip is suggested. However the IP does not change.
The reason is that the ip which is shown in the ip field is not correctly passed to Foreman via js:

Parameters: {"subnet_id"=>"1", "host_mac"=>"", "organization_id"=>"", "taken_ips"=>["", ""]}

taken_ips should be ["", "1.1.1.1"]

Actions #1

Updated by Timo Goebel almost 8 years ago

  • Subject changed from suggest new does not suggest a new ip on host interface edit form to suggest new does not suggest a different ip on host interface edit form
Actions

Also available in: Atom PDF