Bug 827562 - Upgrade from CloudForms 1.0 to CloudForms 1.0.1 requires additional data definition not provided by rails migration
Summary: Upgrade from CloudForms 1.0 to CloudForms 1.0.1 requires additional data defi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-conductor
Version: 1.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
Assignee: Angus Thomas
QA Contact: Rehana
URL:
Whiteboard:
Depends On:
Blocks: 828309 828317
TreeView+ depends on / blocked
 
Reported: 2012-06-01 18:46 UTC by Steve Linabery
Modified: 2012-12-04 15:09 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Users of CloudForms 1.0 who upgraded to 1.0.1 were missing a new set of Permissions granted to the Global Image Administrator Role and the existing data was lost. Additional data definition was added and now the Global Image administrator is allowed to import images.
Clone Of:
: 828309 828317 (view as bug list)
Environment:
Last Closed: 2012-12-04 15:09:56 UTC
Embargoed:


Attachments (Terms of Use)


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 Steve Linabery 2012-06-01 18:46:25 UTC
Description of problem:
As an end user, I should be able to upgrade to new version of CloudForms and keep my existing data.

Scenario:
Users of CloudForms 1.0 who upgrade to 1.0.1 are missing a new set of Permissions granted to global image admin role. These were introduced in upstream commit 65c7767d226206d366eb423d3aeeefbfa9bca8e0 as part of the fix for https://bugzilla.redhat.com/show_bug.cgi?id=807745

While that patch provides a 'quick fix' to add the missing data definition in the form of a rake task ('rake dc:upgrade'), we need an easy route for the end user to apply the change.

A small script to stop aeolus-related services, run rake dc:upgrade, and restart services ought to be sufficient.

Comment 1 Steve Linabery 2012-06-01 21:52:45 UTC
4f2bf642a0a31bc686ac8fc83dff5f3a8a5d3f54 in aeolus-configure master branch

Comment 2 Steve Linabery 2012-06-01 22:33:02 UTC
5b34b65982e8ae2bac8f3fb050aef0b580e5df8f on conductor master branch

Comment 5 Rehana 2012-10-26 08:40:15 UTC
Retested this bug

installed and configure 1.0, create global image admin role
try to import image by global image admin (result: not able to import)
Added 1.0.1 repo
executed yum update;/usr/share/aeolus-conductor/script/upgrade
Login to conductor as global image admin
global image admin is allowed to import image 

moving this bug to verified

Comment 7 errata-xmlrpc 2012-12-04 15:09:56 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.