Project

General

Profile

Actions

Bug #4752

closed

Creating custom product results in candlepin stacktrace

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

Status:
Closed
Priority:
Urgent
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

1) login
2) Content -> Products -> Create Repository
3) Try to create a yum based repository, hit save
4) Note error:

Processing by Katello::Api::V2::RepositoriesController#create as JSON
Parameters: {"product_id"=>"91", "unprotected"=>true, "label"=>"repoz", "name"=>"repozzz", "content_type"=>"yum", "url"=>"http://mmccune.fedorapeople.org/repos/demo/repo-3/", "organization_id"=>"ACME_Corporation", "api_version"=>"v2", "repository"=>{"name"=>"repozzz", "label"=>"repoz", "unprotected"=>true, "content_type"=>"yum", "product_id"=>"91"}}
Katello::Resources::Candlepin::Environment: 500 Internal Server Error {"displayMessage":"Runtime Error Could not execute JDBC batch update at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError:2,598","requestUuid":"7626c798-cf0c-40b3-9265-695f6eac558a"} (POST /candlepin/environments/1/content) (RestClient::InternalServerError)
/opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.1/lib/restclient/abstract_response.rb:48:in `return!'
/opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.1/lib/restclient/request.rb:220:in `process_result'
/opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.1/lib/restclient/request.rb:169:in `block in transmit'
/opt/rh/ruby193/root/usr/share/ruby/net/http.rb:746:in `start'

Actions #1

Updated by Mike McCune about 10 years ago

Odd thing is, there is nothing in the tomcat6/catalina.out stating the error

Actions #2

Updated by Mike McCune about 10 years ago

  • Status changed from New to Assigned
  • Assignee changed from Justin Sherrill to Brad Buckingham
Actions #3

Updated by Justin Sherrill about 10 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Applied in changeset katello|commit:7c9bc7318d60e6774267d98c568a02621a9812c4.

Actions #4

Updated by Eric Helms almost 10 years ago

  • Triaged set to Yes
Actions #5

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF