Bug 1099977

Summary: ISE when I attempt to add subscription to activation key via webUI: NoMethodError: undefined method `pool'
Product: Red Hat Satellite Reporter: Jan Hutař <jhutar>
Component: WebUIAssignee: Tom McKay <tomckay>
Status: CLOSED CURRENTRELEASE QA Contact: Kedar Bidarkar <kbidarka>
Severity: high Docs Contact:
Priority: unspecified    
Version: NightlyCC: bbuckingham, jmontleo, kbidarka
Target Milestone: UnspecifiedKeywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/5890
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-02 14:05:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Mostly /var/log/foreman/production.log
none
ak subscriptions Add lists appropriately none

Description Jan Hutař 2014-05-21 17:05:42 UTC
Created attachment 898078 [details]
Mostly /var/log/foreman/production.log

Description of problem:
ISE happens when I attempt to add subscription to activation key via webUI - error message is like "NoMethodError: undefined method `pool'..."


Version-Release number of selected component (if applicable):
Satellite-6.0.3-RHEL-6-20140521.0


How reproducible:
always


Steps to Reproduce:
1. # hammer activation-key create --content-view-id 2 --name MyActivationKey \
     --organization ACME_Corporation
   Activation key created
2. In webUI go to:
   Content -> Activation Keys -> MyActivationKey -> Subscriptions -> Add


Actual results:
Loading sign is shown indefinitely because ISE happens below


Expected results:
Should work

Comment 3 Brad Buckingham 2014-05-22 20:48:22 UTC
Created redmine issue http://projects.theforeman.org/issues/5890 from this bug

Comment 4 Tom McKay 2014-05-30 20:46:44 UTC
Works upstream:

hammer activation-key create --organization-id 3 --content-view-id 2 --name aa 

Was able to visit aa and add subscriptions

Comment 6 Kedar Bidarkar 2014-06-06 07:14:07 UTC
verified with satellite6-snap8

works fine.

[root@xxxx ~]# hammer activation-key create --content-view-id 7 --name puppet3_ak --organization-id 1
Activation key created

Attaching the screenshot from the UI shortly.

Comment 7 Kedar Bidarkar 2014-06-06 07:15:43 UTC
Created attachment 902786 [details]
ak subscriptions Add lists appropriately

Comment 8 Bryan Kearney 2014-07-02 14:05:53 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.