Project

General

Profile

Bug #9427

Using "Suggest new" IP button from New Host pages is a no-op on webui

Added by Shimon Shtein almost 7 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Network
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1124466
Description of problem:

When creating a new host and from the Network tab The "suggest new" IP button is depressed and nothing happens. The text field is not filled in and there are not visual indicators if an error occured of the status of the action.

When inspecting the production log it appears a possible 404 occured that is not converted into a meaningful message:

(0.1ms)  SELECT id FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT 1
(0.1ms) SELECT id FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1
Host::Managed Load (0.3ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."name" = 'process_hostgroup' LIMIT 1
Rendered common/404.html.erb within layouts/application (1.0ms)
Rendered home/_submenu.html.erb (3.5ms)
Rendered home/_user_dropdown.html.erb (1.3ms)
Read fragment views/tabs_and_title_records-1 (0.1ms)
Rendered home/_topbar.html.erb (6.1ms)
Rendered layouts/base.html.erb (7.5ms)
Filter chain halted as :find_by_name rendered or redirected
Completed 404 Not Found in 20ms (Views: 10.0ms | ActiveRecord: 1.2ms)

Related issues

Related to Foreman - Bug #10976: Unused IP button does not work anymoreClosed2015-07-02

Associated revisions

Revision b9521a8d (diff)
Added by Shimon Shtein almost 7 years ago

Fixes #9427 - Return meaningful errors from subnets/freeip and parse the error response to the UI

Revision 72bbd72c (diff)
Added by Shimon Shtein almost 7 years ago

Fixes #9427 - Return meaningful errors from subnets/freeip and parse the error response to the UI

(cherry picked from commit b9521a8dc7f4e61a011cabbfdfe78657bd3c24d2)

History

#1 Updated by Shimon Shtein almost 7 years ago

  • Assignee changed from Ohad Levy to Shimon Shtein

#2 Updated by Shimon Shtein almost 7 years ago

  • Assignee deleted (Shimon Shtein)

#3 Updated by Shimon Shtein almost 7 years ago

  • Assignee set to Shimon Shtein

#4 Updated by The Foreman Bot almost 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2176 added
  • Pull request deleted ()

#5 Updated by Shimon Shtein almost 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#6 Updated by Dominic Cleal almost 7 years ago

  • Category set to Network
  • Legacy Backlogs Release (now unused) set to 28

#7 Updated by Lukas Zapletal over 6 years ago

  • Related to Bug #10976: Unused IP button does not work anymore added

Also available in: Atom PDF