Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 768026

Summary: Generated manifest fails to load with undefined method `response' for #<ActiveRecord::RecordInvalid:0x7f32ef1ab9d0>
Product: Red Hat Satellite Reporter: Eric Sammons <esammons>
Component: APIAssignee: Bryan Kearney <bkearney>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.0.1CC: bkearney, mmccune
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-27 00:32:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 703617, 747354    

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