Actions
Bug #6919
closedOn host creation with no environment UI displays no error, but silently fails
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
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.
Updated by Brad Buckingham over 10 years ago
- Assignee set to Brad Buckingham
- Target version set to 54
- Triaged changed from No to Yes
Updated by The Foreman Bot over 10 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/4527 added
- Pull request deleted (
)
Updated by Brad Buckingham over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|64dc29431b9a4929ca8fc80cb39b3ca3ac52dca6.
Updated by Eric Helms over 10 years ago
- Translation missing: en.field_release set to 13
Actions