Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1191849 - Firebug raises: "NetworkError: 404 Not Found" on selecting the 'Domain' from "New_Host_group --> Network" tab
Summary: Firebug raises: "NetworkError: 404 Not Found" on selecting the 'Domain' from ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: Tomer Brisker
QA Contact: Sachin Ghai
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-12 06:48 UTC by Sachin Ghai
Modified: 2017-02-23 20:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 13:56:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Firebug raises: "NetworkError: 404 Not Found" on selecting the 'Domain' from "New_Host_group --> Network" tab (42.24 KB, image/png)
2015-02-12 06:48 UTC, Sachin Ghai
no flags Details
Firebug raises: "NetworkError: 404 Not Found" on selecting the 'Domain' from "New_Host_group --> Network" tab (78.88 KB, image/png)
2015-04-27 08:48 UTC, Sachin Ghai
no flags Details
no error in firebug, on selecting domain from hostgroup form (59.96 KB, image/png)
2015-05-04 10:19 UTC, Sachin Ghai
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 9444 0 None None None 2016-04-22 16:51:43 UTC

Description Sachin Ghai 2015-02-12 06:48:49 UTC
Created attachment 990747 [details]
Firebug raises: "NetworkError: 404 Not Found" on selecting the 'Domain' from "New_Host_group --> Network" tab

Description of problem:
Firebug raises: "NetworkError: 404 Not Found" on selecting the 'Domain' from "New_Host_group --> Network" tab

--
"NetworkError: 404 Not Found - https://dhcp201-167.englab.pnq.redhat.com/hostgroups/current_parameters"
"NetworkError: 404 Not Found - https://dhcp201-167.englab.pnq.redhat.com/hostgroups/domain_selected"
--

Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-6-20150210.0
Sat6.1.0 beta snap2

How reproducible:
always

Steps to Reproduce:
1. Go to "configure" --> Host Group --> New Host Group --> Network
2. select domain from dropdown
a) select the domain name from drop down (make sure domain is already created one)
b) Now select the blank line from drop down



Actual results:
production.log:

Processing by HostgroupsController#current_parameters as */*
  Parameters: {"hostgroup_id"=>"null", "hostgroup_parent_id"=>"undefined"}
  Rendered common/404.html.erb within layouts/application (1.2ms)
  Rendered layouts/base.html.erb (1.4ms)
Completed 404 Not Found in 22ms (Views: 6.1ms | ActiveRecord: 1.9ms)
Processing by HostgroupsController#domain_selected as */*
  Parameters: {"domain_id"=>""}
Completed 404 Not Found in 13ms (ActiveRecord: 1.6ms)


Expected results:
no error should be raised neither in production.log nor in firebug console

Additional info:

Comment 2 Sachin Ghai 2015-02-12 07:24:06 UTC
Getting 404 on selecting "Puppet Environment" too:

--
Processing by HostgroupsController#puppetclass_parameters as */*
  Parameters: {"hostgroup_id"=>"null"}
  Rendered common/404.html.erb within layouts/application (8.1ms)
  Rendered layouts/base.html.erb (3.0ms)
Completed 404 Not Found in 199ms (Views: 179.1ms | ActiveRecord: 2.4ms)
--

Comment 3 Sachin Ghai 2015-02-12 07:27:40 UTC
Another 404 on selecting "Host Group --> New Host Group --> operating system

Processing by HostgroupsController#os_selected as */*
  Parameters: {"operatingsystem_id"=>"2"}
  Rendered common/os_selection/_operatingsystem.html.erb (206.8ms)
Completed 200 OK in 234ms (Views: 205.8ms | ActiveRecord: 7.2ms)
Processing by HostgroupsController#current_parameters as */*
  Parameters: {"hostgroup_id"=>"null", "hostgroup_parent_id"=>"undefined"}
  Rendered common/404.html.erb within layouts/application (1.3ms)
  Rendered layouts/base.html.erb (1.5ms)
Completed 404 Not Found in 23ms (Views: 5.4ms | ActiveRecord: 2.0ms)

Comment 4 Sachin Ghai 2015-02-18 11:01:24 UTC
Getting same issue in sat6.1 beta snap3..

Comment 5 Bryan Kearney 2015-02-18 21:10:24 UTC
Created redmine issue http://projects.theforeman.org/issues/9444 from this bug

Comment 6 Bryan Kearney 2015-03-24 10:04:47 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/9444 has been closed
-------------
Anonymous
Applied in changeset commit:e1aec1dcdecbe4f9006c9404c820072e8e636cb6.

Comment 8 Sachin Ghai 2015-04-27 08:46:35 UTC
Verified with:

Satellite6.1 GA Snap1 compose2 (Satellite-6.1.0-RHEL-7-20150424.0)

This issue is still reproducible:

1. Create a new hostgroup
2. goto network tab and select and unselect domain
3. make sure firebug is open

--
2015-04-27 04:41:52 [I] Processing by HostgroupsController#current_parameters as */*
2015-04-27 04:41:52 [I]   Parameters: {"hostgroup_id"=>"null", "hostgroup_parent_id"=>"undefined"}
2015-04-27 04:41:52 [I]   Rendered common/404.html.erb within layouts/application (0.9ms)
2015-04-27 04:41:52 [I]   Rendered layouts/base.html.erb (0.9ms)
2015-04-27 04:41:52 [I] Completed 404 Not Found in 15ms (Views: 3.4ms | ActiveRecord: 2.1ms)
---

Comment 9 Sachin Ghai 2015-04-27 08:48:02 UTC
Created attachment 1019278 [details]
Firebug raises: "NetworkError: 404 Not Found" on selecting the 'Domain' from "New_Host_group --> Network" tab

Comment 12 Sachin Ghai 2015-05-04 10:11:19 UTC
Thanks.. verified with sat6.1 GA Snap2 (Satellite-6.1.0-RHEL-7-20150429.2)

On selecting the domain from hostgroup form, no error raised in firebug. However there are still issues with subnet selection. I'll file another issues.

Comment 13 Sachin Ghai 2015-05-04 10:19:21 UTC
Created attachment 1021628 [details]
no error in firebug, on selecting domain from hostgroup form

Comment 14 Sachin Ghai 2015-05-04 11:06:54 UTC
For subnet selection, already another bz is open: https://bugzilla.redhat.com/show_bug.cgi?id=1191855

Comment 15 Bryan Kearney 2015-08-11 13:30:07 UTC
This bug is slated to be released with Satellite 6.1.

Comment 16 Bryan Kearney 2015-08-12 13:56:14 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.


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