Hi Rene, The issue you had reported is reproducible when you have a 4.2.1 or 4.3.2 cloud database but a 4.5.1 or 4.5.0 cloud_usage database, and you try to upgrade to ACS 4.5.1 that fails for cloud_usage database (since it’s already 4.5.1). This could probably be the case in your environment as well that caused those failures for you. I tested db upgrades today from ACS and CCP 4.2 and 4.3 versions to ACS 4.5.1 on MySQL 5.5 and 5.6, and I think they work out of the box with no changes needed.
> On 05-May-2015, at 1:01 pm, Rene Moser <m...@renemoser.net> wrote: > > Tested an update from 4.2.1 to 4.5.1 which failed because of 2 identical > ALTER TABLE statements for cloud_usage in schema-421to430.sql and > schema-430to440.sql > > https://github.com/apache/cloudstack/blob/4.5-RC20150504T1217/setup/db/db/schema-421to430.sql#L787 > > https://github.com/apache/cloudstack/blob/4.5-RC20150504T1217/setup/db/db/schema-430to440.sql#L464 > > Commenting it out in schema-430to440.sql fixed it the update. Not really > sure if this would brake anything in other conditions. > > It is not really a problem of 4.5.1, so not vote against it. Regards, Rohit Yadav Software Architect, ShapeBlue M. +91 88 262 30892 | rohit.ya...@shapeblue.com Blog: bhaisaab.org | Twitter: @_bhaisaab Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/> CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/> This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.