Bug 868872

Summary: Unable to create org after katello-reset-dbs script using SAM WEBUI
Product: [Retired] Subscription Asset Manager Reporter: Tazim Kolhar <tkolhar>
Component: katelloAssignee: Miroslav Suchý <msuchy>
Status: CLOSED UPSTREAM QA Contact: Tazim Kolhar <tkolhar>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.3CC: bkearney, cwelton, msuchy, sthirugn, tomckay
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-12 12:22:01 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:    
Bug Blocks: 833466, 870526    
Attachments:
Description Flags
Unable_to_create_org_error none

Description Tazim Kolhar 2012-10-22 10:43:59 UTC
Created attachment 631395 [details]
Unable_to_create_org_error

Description of problem:
Unable to create org using WEB UI after executing katello-reset-dbs script

Version-Release number of selected component (if applicable):
# rpm -qa | grep katello
katello-selinux-1.1.2-1.el6.noarch
katello-cli-1.2.0-1.git.10.c749d42.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-configure-1.2.0-1.git.44.0bd8ebe.el6.noarch
katello-common-1.2.1-1.git.2.10b2e82.el6.noarch
katello-headpin-all-1.2.1-1.git.2.10b2e82.el6.noarch
katello-certs-tools-1.1.9-1.el6.noarch
katello-glue-candlepin-1.2.1-1.git.2.10b2e82.el6.noarch
katello-cli-common-1.2.0-1.git.10.c749d42.el6.noarch
katello-headpin-1.2.1-1.git.2.10b2e82.el6.noarch


How reproducible:

# yum install -y katello-headpin-all
# katello-configure --deployment=headpin



Steps to Reproduce:
1. /usr/share/katello/script/katello-reset-dbs to reset candlepin db
2. all the data including (orgs, envrionment, activation keys) is erased with
   availability to fresh login
3. Login to SAM WEBUI
4. Navigate, Administer -> Manage Org 
5. Create + New Org
6. Enter new org name and label.
7. A valid org should be created 

  
Actual results:
Fails to create org . errors attached

Expected results:
A successful Org should be created.

Additional info

Comment 2 Miroslav Suchý 2012-12-04 13:14:05 UTC
Discussed here:
https://www.redhat.com/archives/katello-devel/2012-November/msg00003.html

Comment 3 Miroslav Suchý 2012-12-04 13:41:28 UTC
https://github.com/Katello/katello/pull/1176

Comment 4 Tom McKay 2012-12-04 15:55:51 UTC
  Branch: refs/heads/master
  Home:   https://github.com/Katello/katello
  Commit: 21d555c8a3d74c6255f3332324d95ed6b809962e
      https://github.com/Katello/katello/commit/21d555c8a3d74c6255f3332324d95ed6b809962e
  Author: Miroslav Suchý <msuchy>
  Date:   2012-12-04 (Tue, 04 Dec 2012)

Comment 5 Bryan Kearney 2013-06-07 18:20:00 UTC
Moving all POST bugs to ON_QA since we have delivered a puddle with the bugs.