Project

General

Profile

Actions

Bug #4958

closed

Can't edit organizations in Katello mode

Added by Mike McCune about 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

When running Katello and you try to use the UI to update an Organization you get the following error:

"Organization Not Found"

the log files contain:

Processing by OrganizationsController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"h/B4veTECK/p8tc7Zxzfc12aYgSVCss+PZvHTr99iEI=", "organization"=>{"parent_id"=>"", "name"=>"ACME_Corporation", "description"=>"ACME_Corporation Organization", "service_level"=>"", "ignore_types"=>["0", "0", "0", "0", "0", "0", "0", "0", "0"], "user_ids"=>[""], "smart_proxy_ids"=>["", "1"], "subnet_ids"=>["", "1"], "compute_resource_ids"=>["", "1"], "medium_ids"=>["", "6"], "config_template_ids"=>["", "5", "4", "6", "7", "8", "10", "9", "22", "23", "24", "30", "31", "12", "11", "13", "14", "15", "3", "2", "1", "16", "18", "17", "19", "20", "21", "25", "26", "27", "28", "29", "32"], "domain_ids"=>["", "1"], "environment_ids"=>["", "1", "2"], "hostgroup_ids"=>["", "1"], "location_ids"=>[""]}, "commit"=>"Submit", "id"=>"1-acme_corporation"}
Rendered common/404.html.erb within layouts/application (1.5ms)
Rendered layouts/base.html.erb (1.8ms)
Completed 404 Not Found in 329ms (Views: 6.4ms | ActiveRecord: 31.1ms)

other times you will get an actual 500 error:

Processing by OrganizationsController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"HiSybkuvpWfPBD6c8uh20CyxzpvWw0qbcPW/kmXOBJ0=", "organization"=>{"parent_id"=>"", "name"=>"ACME_Corporation", "description"=>"ACME_Corporation Organization222", "service_level"=>"", "ignore_types"=>["0", "0", "0", "0", "0", "0", "0", "0", "0"], "user_ids"=>[""], "smart_proxy_ids"=>["", "1"], "subnet_ids"=>["", "1"], "compute_resource_ids"=>["", "1"], "medium_ids"=>["", "6"], "config_template_ids"=>[""], "domain_ids"=>["", "1"], "environment_ids"=>["", "1", "2"], "hostgroup_ids"=>["", "1"], "location_ids"=>[""]}, "commit"=>"Submit", "id"=>"1-acme_corporation"}
Operation FAILED: Failed to replace environments because one or more of the new records could not be saved.
Rendered common/500.html.erb within layouts/application (121.4ms)
Rendered layouts/base.html.erb (1.1ms)
Completed 500 Internal Server Error in 363ms (Views: 125.6ms | ActiveRecord: 10.9ms)

ths does not happen with Foreman standalone

Actions

Also available in: Atom PDF