Project

General

Profile

Actions

Bug #6919

closed

On host creation with no environment UI displays no error, but silently fails

Added by Brad Buckingham over 9 years ago. Updated over 5 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1113588
Description of problem:
After submitting new host creation form, with empty environment, no error is shown, but host fails to get created.

After looking into logs I find:

Parameters: {"utf8"=>"✓", "authenticity_token"=>"qyy7jFS8ZLGfIxcYb39p/4z7sBMzogO4wkyLbxrDQaI=", "host"=>{"name"=>"test0", "organization_id"=>"1", "location_id"=>"2", "hostgroup_id"=>"", "compute_resource_id"=>"", "environment_id"=>"", "content_source_id"=>"", "puppet_ca_proxy_id"=>"", "puppet_proxy_id"=>"", "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "domain_id"=>"1", "realm_id"=>"", "mac"=>"AA:AA:AA:00:00:00", "ip"=>"333.333.333.333", "interfaces_attributes"=>{"new_interfaces"=>{"_destroy"=>"false", "type"=>"Nic::Managed", "mac"=>"", "name"=>"", "domain_id"=>"", "ip"=>"", "provider"=>"IPMI"}}, "architecture_id"=>"2", "operatingsystem_id"=>"1", "provision_method"=>"build", "build"=>"1", "medium_id"=>"1", "ptable_id"=>"7", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"1-Users", "enabled"=>"1", "model_id"=>"", "comment"=>"", "overwrite"=>"false"}, "kt_environment_id"=>""}
Failed to save: Environment can't be blank

This error should have been propagated to ui.

Actions #1

Updated by Brad Buckingham over 9 years ago

  • Assignee set to Brad Buckingham
  • Target version set to 54
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot over 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/4527 added
  • Pull request deleted ()
Actions #3

Updated by Brad Buckingham over 9 years ago

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

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF