Description of problem: Running katello-upgrade will result in a failure on sam-1.1. The console will show upgrade failed while the log file will show etc/sysconfig/katello: No such file or directory Version-Release number of selected component (if applicable): katello-headpin-all-0.2.6-1.el6_2.noarch How reproducible: Steps to Reproduce: 1. Stop all thumbslug, tomcat, katello and katell-jobs services 2. yum update 3. katell-upgrade Actual results: FAILED Expected results: SUCCESSFUL
Branch: refs/heads/master Home: https://github.com/Katello/katello Commit: 4f93450e21dec2a9241f9514f0410cf93c7c6569 https://github.com/Katello/katello/commit/4f93450e21dec2a9241f9514f0410cf93c7c6569 Author: Tom McKay <thomasmckay> Date: 2012-05-09 (Wed, 09 May 2012) One of the katello-upgrade scripts needed to include indicator whether it was running in katello or headpin install.
VERIFIED with the build : [root@dell-pe2900-02 katello]# rpm -qa | grep katello katello-cli-headpin-0.2.0-1.el6_2.noarch katello-glue-candlepin-0.3.1-1.el6_2.noarch katello-candlepin-cert-key-pair-1.0-1.noarch katello-cli-common-0.3.2-3.el6_2.noarch katello-selinux-0.2.4-1.el6_2.noarch katello-headpin-0.2.6-4.el6_2.noarch katello-certs-tools-1.1.5-1.el6_2.noarch katello-configure-0.3.3-2.el6_2.noarch katello-common-0.3.1-1.el6_2.noarch katello-headpin-all-0.2.6-4.el6_2.noarch 1.) Stopped all the services (tomcat6,thumslug,katello,katello-jobs) 2.) yum update 3.) [root@dell-pe2900-02 katello]# katello-upgrade ================================================================================ Katello upgrade ================================================================================ 1/2: Migrate Katello database (0001_migrate_katello_db.sh) Updates Katello database schema to the latest version Do you want to proceed? (y/n): y Migrate Katello database OK. ================================================================================ 2/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 OK. ================================================================================ Upgrade successful Finished 2 of 2 upgrade steps katello-upgrade executed successfully.