Bug 1292750 - "Suggest new" link for IP address on interface model window doesn't work
Summary: "Suggest new" link for IP address on interface model window doesn't work
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
medium vote
Target Milestone: Unspecified
Assignee: Marek Hulan
QA Contact: Sachin Ghai
URL: http://projects.theforeman.org/issues...
Depends On:
TreeView+ depends on / blocked
Reported: 2015-12-18 09:38 UTC by Sachin Ghai
Modified: 2019-09-26 17:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2016-07-27 09:00:46 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Foreman Issue Tracker 12859 None None None 2016-04-22 16:42:30 UTC
Red Hat Product Errata RHBA-2016:1500 normal SHIPPED_LIVE Red Hat Satellite 6.2 Base Libraries 2016-07-27 12:24:38 UTC

Description Sachin Ghai 2015-12-18 09:38:10 UTC
I defined two interfaces 1) Primary and 2) Provisioning with different subnets. However, for none of them the "suggest New" IP link works. I didn't get any error in firebug nor in any logs. Nothing happens on clicking the link.

reproducible with version:

Comment 1 Sachin Ghai 2015-12-18 09:38:15 UTC
Created from redmine issue http://projects.theforeman.org/issues/12859

Comment 2 Sachin Ghai 2015-12-18 09:38:27 UTC
Upstream bug assigned to mhulan@redhat.com

Comment 4 Bryan Kearney 2016-01-12 11:01:08 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/12859 has been closed
Marek Hulán
Introduced by (accidental) removing of emptying the IP field, for more details see https://github.com/theforeman/foreman/pull/2650/files#diff-63d9ef3bbe6ac020529a197ac7aa171bL523ac020529a197ac7aa171bL523

Not a blocker but should be fixed in 1.10.1 I think
Marek Hulán
Applied in changeset commit:d03db507341885416e99f518c66f8931e5d42dab.

Comment 7 Sachin Ghai 2016-04-11 12:00:35 UTC
Verified with sat6beta snap6.2

The reported issue has been fixed. I can see newly generated IP on clicking 'suggest new' link from webUI:

here are the production.log:
2016-04-09 07:08:13 [app] [I] Started POST "/subnets/freeip" for at 2016-04-09 07:08:13 -0400
2016-04-09 07:08:13 [app] [I] Processing by SubnetsController#freeip as JSON
2016-04-09 07:08:13 [app] [I]   Parameters: {"subnet_id"=>"1", "host_mac"=>"", "organization_id"=>"1", "location_id"=>"2", "taken_ips"=>["", ""]}
2016-04-09 07:08:15 [app] [I] Completed 200 OK in 2085ms (Views: 0.2ms | ActiveRecord: 4.9ms)

And If I associate a static subnet where dhcp proxy is not set, webUI stick with old ip.

Comment 9 errata-xmlrpc 2016-07-27 09:00:46 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.


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