Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 879265

Summary: SAM1.2 Upgrade 1.0 > 1.2 fail at katello-upgrade
Product: [Retired] Subscription Asset Manager Reporter: Tazim Kolhar <tkolhar>
Component: katelloAssignee: Jordan OMara <jomara>
Status: CLOSED NOTABUG QA Contact: Tazim Kolhar <tkolhar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.2CC: athomas, cwelton, omaciel, 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: 2012-11-27 16:42:04 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: 816564    
Attachments:
Description Flags
katello-upgrade log none

Description Tazim Kolhar 2012-11-22 13:38:06 UTC
Description of problem:
Upgrade sam 1.0 > 1.2 failed

Version-Release number of selected component (if applicable):
# rpm -qa | grep katello
katello-headpin-all-1.2.6-2h.el6_3.noarch
katello-glue-candlepin-1.2.6-2h.el6_3.noarch
katello-configure-1.2.3-1h.el6_3.noarch
katello-cli-1.2.4-2h.el6_3.noarch
katello-selinux-1.2.1-1h.el6_3.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-headpin-1.2.6-2h.el6_3.noarch
katello-common-1.2.6-2h.el6_3.noarch
katello-certs-tools-1.2.1-1h.el6_3.noarch
katello-cli-common-1.2.4-2h.el6_3.noarch


How reproducible:
# yum install -y katello-headpin-all
# katello-configure --deployment=sam

Steps to Reproduce:
1.# stop all the services (tomcat6,katello,katello-jobs,thumbslug)
2.# yum update katello*
3.# katello-service start
    Shutting down Katello services...
    Stopping katello-jobs: [FAILED]
    Stopping katello: 
    Stopping elasticsearch: [  OK  ]
    Stopping httpd: [  OK  ]
    Stopping tomcat6: [  OK  ]
    Done.

4.# katello-upgrade
================================================================================
 Katello upgrade
================================================================================

1/2: Update Candlepin (0003_update_candlepin.sh)
 Updates Candlepin database schema to the latest version

Do you want to proceed? (y/n): y

Update Candlepin FAILED.

================================================================================
Finished 0 of 2 upgrade steps
[root@ibm-x3655-02 yum.repos.d]# katello-upgrade -y
================================================================================
 Katello upgrade
================================================================================

1/2: Update Candlepin (0003_update_candlepin.sh)
 Updates Candlepin database schema to the latest version


Update Candlepin FAILED.

================================================================================
Finished 0 of 2 upgrade steps

 
Actual results:

Upgrade Failed

Expected results:

Upgrade Successful

Additional info:

Comment 1 Tazim Kolhar 2012-11-22 13:41:54 UTC
Created attachment 649820 [details]
katello-upgrade log