Bug 1090671

Summary: Content Management fails if default organization is deleted
Product: Red Hat Satellite Reporter: thunt
Component: Content ManagementAssignee: David Davis <daviddavis>
Status: CLOSED CURRENTRELEASE QA Contact: Tazim Kolhar <tkolhar>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: bkearney, cwelton, daviddavis, jmontleo, mmccune, tkolhar
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/6179
Whiteboard:
Fixed In Version: Doc Type: Release Note
Doc Text:
Users of the Red Hat Satellite 6 Beta should not delete the org which is created during installation.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-11 12:23:54 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:
Bug Depends On: 1100311    
Bug Blocks:    

Description thunt 2014-04-23 22:25:17 UTC
Description of problem:
Subscription management stops working if default organization is deleted.


Version-Release number of selected component (if applicable):
Satellite 6 beta as of 23-Apr-2014

How reproducible:
Happened twice

Steps to Reproduce:
- Install Satellite 6 beta.
- Go to "Manage Organizations"
- Create new organization - Example "My Demo Corp".
- Delete "ACME Corporation"
- Go to Content->Red Hat Subscriptions

Actual results:
Spinning Wheel and Loading Content - stays forever

Expected results:
Subscription Manifest page should be displayed.

Additional info:
Sorry, I didn't keep log files but there was a line about "organization_id" followed by Ruby stack trace if /var/log/foreman/production.log

Comment 1 RHEL Program Management 2014-04-23 22:54:41 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 David Davis 2014-06-10 15:34:10 UTC
Org destroy has been pushed out to 6.0.4.

https://bugzilla.redhat.com/show_bug.cgi?id=1106563

Comment 4 thunt 2014-06-23 18:50:31 UTC
Could we also change the name of the default organization to something a little less cartoonish - Thanks

Comment 5 David Davis 2014-07-11 19:07:06 UTC
Confirmed as working as part of https://bugzilla.redhat.com/show_bug.cgi?id=1100311. QA, please verify.

Comment 6 David Davis 2014-07-14 14:37:25 UTC
thunt, I opened a separate bug for https://bugzilla.redhat.com/show_bug.cgi?id=1090671#c4.

https://bugzilla.redhat.com/show_bug.cgi?id=1114059

Comment 8 Tazim Kolhar 2014-08-11 08:24:22 UTC
VERIFIED

Comment 9 Bryan Kearney 2014-09-11 12:23:54 UTC
This was delivered with Satellite 6.0 which was released on 10 September 2014.