Bug 768026 - Generated manifest fails to load with undefined method `response' for #<ActiveRecord::RecordInvalid:0x7f32ef1ab9d0>
Summary: Generated manifest fails to load with undefined method `response' for #<Activ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API
Version: 6.0.1
Hardware: Unspecified
OS: Linux
urgent
urgent vote
Target Milestone: Unspecified
Assignee: Bryan Kearney
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: 703617 katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-12-15 14:50 UTC by Eric Sammons
Modified: 2019-09-26 13:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-27 00:32:17 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Eric Sammons 2011-12-15 14:50:49 UTC
Description of problem:
Sys Admin generates a manifest, downloads manifest, and attempts to load manifest into SAM.  At this point a undefined method is returned.

Version-Release number of selected component (if applicable):
katello-headpin-all-0.1.116-2.el6.noarch

[production.log]

Importing manifest for provider Red Hat
Failed to create product Red Hat Enterprise Linux High Availability for RHEL Server for provider Glue::Candlepin::Product: Validation failed: Products within an organization must have unique name., /usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/validations.rb:49:in `save!'

[/production.log]

Products in manifest.



Contract Number
Quantity Applied
Type
Expiration Date
Entitlement Certificate
Resilient Storage (8 sockets)
	2635097	2	System: Physical	 11/15/2012	View | Download
High-Availability (8 sockets)
	2635096	2	System: Physical	 11/15/2012	View | Download
Red Hat Enterprise Linux Server, Self-support (1-2 sockets) (Up to 1 guest)
	2635101	2	System: Physical	 11/17/2012	View | Download
Red Hat Enterprise Linux Server, Premium (1-2 sockets) (Unlimited guests)
	2635095	2	System: Physical	 11/15/2012	View | Download

Comment 1 Eric Sammons 2011-12-15 15:11:26 UTC
Second attempt with new manifest resulted in Bad data in export error.  Attaching production.log.

Comment 3 Eric Sammons 2011-12-16 20:52:05 UTC
With the latest test run, UI error follows:

undefined method `response' for #
undefined method `response' for #<ActiveRecord::RecordInvalid:0x7f1878019bd0>

Attaching manifest and production.log.

Comment 7 Bryan Kearney 2011-12-19 21:32:42 UTC
Working for me.

Comment 8 Eric Sammons 2011-12-20 15:03:14 UTC
latest build works. -VERIFIED.

Comment 10 Mike McCune 2013-08-16 18:15:21 UTC
getting rid of 6.0.0 version since that doesn't exist


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