Bug 858782 - aeolus-upgrade fails when upgrading from 1.0.1
Summary: aeolus-upgrade fails when upgrading from 1.0.1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-conductor
Version: 1.1.0
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: beta2
Assignee: Scott Seago
QA Contact: Giulio Fidente
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-19 16:47 UTC by Giulio Fidente
Modified: 2012-12-04 15:20 UTC (History)
6 users (show)

Fixed In Version: aeolus-conductor-0.13.14-1.el6cf
Doc Type: Bug Fix
Doc Text:
On Red Hat Enterprise Linux 6.3 systems, upgrades from CloudForms 1.0.1 to 1.1 failed with the error: "Migrate aeolus-conductor rails database FAILED" Upgrade mechanism using user object hooks to create entities caused this error. This update fixes this behavior and the upgrade now works as expected.
Clone Of:
Environment:
Last Closed: 2012-12-04 15:20:40 UTC
Embargoed:


Attachments (Terms of Use)
console session log (28.95 KB, application/octet-stream)
2012-09-19 16:47 UTC, Giulio Fidente
no flags Details
aeolus_upgrade.log (8.18 KB, text/x-log)
2012-09-19 16:54 UTC, Giulio Fidente
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2012:1516 0 normal SHIPPED_LIVE CloudForms Cloud Engine 1.1 update 2012-12-04 19:51:45 UTC

Description Giulio Fidente 2012-09-19 16:47:37 UTC
Created attachment 614469 [details]
console session log

Description of problem:
aeolus-upgrade fails when upgrading from 1.0.1 on rhel6.3


Version-Release number of selected component (if applicable):
aeolus-conductor-0.13.8-1.el6cf


Steps to Reproduce:
1. install v1.0.1 which includes aeolus-conductor-0.8.34-1.el6cf
2. update via yum to aeolus-conductor-0.13.8-1.el6cf
3. launch aeolus-services stop
4. launch /usr/share/aeolus-conductor/script/aeolus-upgrade


Actual results:
[root@qeblade22 ~]# /usr/share/aeolus-conductor/script/aeolus-upgrade
================================================================================
 Aeolus-conductor upgrade
================================================================================
 
1/3: Migrate aeolus-conductor rails database (0001_migrate_conductor_db.sh)
 Executes rake db:migrate for the aeolus-conductor database
 
Do you want to proceed? (y/n): y
 
Migrate aeolus-conductor rails database FAILED.
 
================================================================================
Finished 0 of 3 upgrade steps


Additional info:
session log is attached

Comment 1 Giulio Fidente 2012-09-19 16:54:05 UTC
Created attachment 614472 [details]
aeolus_upgrade.log

Comment 2 Scott Seago 2012-09-19 17:40:00 UTC
Patch on list:
[PATCH conductor] bug 858782: don't rely on User object hooks to create entities

Comment 3 Scott Seago 2012-09-19 19:18:13 UTC
Pushed to master and 1.1:
master: 5f5761caaeef52818fda5603228817ea268ba9ac
1.1: 6b501f4b55d5c76cc47bde71088d21ca5cf3bdda

Comment 5 Giulio Fidente 2012-09-25 15:55:12 UTC
works with aeolus-conductor-0.13.14-1.el6cf

Comment 7 errata-xmlrpc 2012-12-04 15:20:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2012-1516.html


Note You need to log in before you can comment on or make changes to this bug.