You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Rohit Yadav <ro...@shapeblue.com> on 2015/12/04 06:03:45 UTC

[4.6.1/4.7.0] Database upgrade path issues/forks between 4.6.0/4.6.1 and 4.7.0/master

There seems to be a db view related change between 4.6.0 and 4.6.1 (DB) versions; and there exists separate DB upgrade paths from 4.6.0 to 4.7.0 and 4.6.1 to 4.7.0 on master branch which shares the same changes. The issue is that the upgrade path from 4.6.0 to 4.7.0 does not include the db view related changes that exists in the 4.6.0 to 4.6.1 upgrade path.

While unlikely, but please share if this was done on purpose (i.e. we don’t want that db view related change if some user is upgrading from 4.6.0 to 4.7.0), in which case it’s a non-issue.

I’ll try to send a PR that *ought* to be merged on master before we freeze master (for 4.7.0) or cut a RC, but if I’m unable to do so today — someone please help fix this, and also refactor code (since there is a lot of common code), and don’t proceed without fixing this issue.

Thanks.

Rohit Yadav
Software Architect

[cid:image003.png@01D122E8.F6EFE910]



S: +44 20 3603 0540<tel:+442036030540> | M: +91 88 262 30892<tel:+447770745036>
rohit.yadav@shapeblue.com<ma...@shapeblue.com> | www.shapeblue.com<http://www.shapeblue.com/> | Twitter:@ShapeBlue<https://twitter.com/#!/shapeblue>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS




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.

Re: [4.6.1/4.7.0] Database upgrade path issues/forks between 4.6.0/4.6.1 and 4.7.0/master

Posted by Daan Hoogland <da...@gmail.com>.
I gave it a quick shot. A test build is running and I'll create the pr in a
minute.

On Fri, Dec 4, 2015 at 9:51 AM, Rohit Yadav <ro...@shapeblue.com>
wrote:

> Hi Daan, I’m testing quota but can work on it in 1-2 hours. So, not
> started yet but if you got time go ahead, and later I can help review/merge
> your PR.
>
> Regards.
>
> On 04-Dec-2015, at 2:15 PM, Daan Hoogland <da...@gmail.com> wrote:
>
> Rohit, First of all good catch. I think we need to remove the 460to470 step
> and have the path always pass by 4.6.1. Are you busy with this change
> already?
>
> On Fri, Dec 4, 2015 at 6:03 AM, Rohit Yadav <ro...@shapeblue.com>
> wrote:
>
> There seems to be a db view related change between 4.6.0 and 4.6.1 (DB)
> versions; and there exists separate DB upgrade paths from 4.6.0 to 4.7.0
> and 4.6.1 to 4.7.0 on master branch which shares the same changes. The
> issue is that the upgrade path from 4.6.0 to 4.7.0 does not include the db
> view related changes that exists in the 4.6.0 to 4.6.1 upgrade path.
>
> While unlikely, but please share if this was done on purpose (i.e. we
> don’t want that db view related change if some user is upgrading from 4.6.0
> to 4.7.0), in which case it’s a non-issue.
>
> I’ll try to send a PR that *ought* to be merged on master before we freeze
> master (for 4.7.0) or cut a RC, but if I’m unable to do so today — someone
> please help fix this, and also refactor code (since there is a lot of
> common code), and don’t proceed without fixing this issue.
>
> Thanks.
>
> Rohit Yadav
> *Software Architect*
>
>
>
>
>
>
>
> * S: +44 20 3603 0540 <+442036030540> | M: +91 88 262 30892
> <+447770745036>  rohit.yadav@shapeblue.com
> <st...@shapeblue.com> | www.shapeblue.com
> <http://www.shapeblue.com/> | Twitter:@ShapeBlue
> <https://twitter.com/#!/shapeblue> ShapeBlue Ltd, 53 Chandos Place, Covent
> Garden, London, WC2N 4HS *
>
> 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.
>
>
>
>
> --
> Daan
>
>
> Rohit Yadav
> *Software Architect*
>
>
>
>
>
>
>
>
>
> * S: +44 20 3603 0540 <+442036030540> | M: +91 88 262 30892
> <+447770745036>  rohit.yadav@shapeblue.com
> <st...@shapeblue.com> | www.shapeblue.com
> <http://www.shapeblue.com/> | Twitter:@ShapeBlue
> <https://twitter.com/#!/shapeblue> ShapeBlue Ltd, 53 Chandos Place, Covent
> Garden, London, WC2N 4HS *
>
> 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.
>



-- 
Daan

Re: [4.6.1/4.7.0] Database upgrade path issues/forks between 4.6.0/4.6.1 and 4.7.0/master

Posted by Rohit Yadav <ro...@shapeblue.com>.
Hi Daan, I’m testing quota but can work on it in 1-2 hours. So, not started yet but if you got time go ahead, and later I can help review/merge your PR.

Regards.

On 04-Dec-2015, at 2:15 PM, Daan Hoogland <da...@gmail.com>> wrote:

Rohit, First of all good catch. I think we need to remove the 460to470 step
and have the path always pass by 4.6.1. Are you busy with this change
already?

On Fri, Dec 4, 2015 at 6:03 AM, Rohit Yadav <ro...@shapeblue.com>>
wrote:

There seems to be a db view related change between 4.6.0 and 4.6.1 (DB)
versions; and there exists separate DB upgrade paths from 4.6.0 to 4.7.0
and 4.6.1 to 4.7.0 on master branch which shares the same changes. The
issue is that the upgrade path from 4.6.0 to 4.7.0 does not include the db
view related changes that exists in the 4.6.0 to 4.6.1 upgrade path.

While unlikely, but please share if this was done on purpose (i.e. we
don’t want that db view related change if some user is upgrading from 4.6.0
to 4.7.0), in which case it’s a non-issue.

I’ll try to send a PR that *ought* to be merged on master before we freeze
master (for 4.7.0) or cut a RC, but if I’m unable to do so today — someone
please help fix this, and also refactor code (since there is a lot of
common code), and don’t proceed without fixing this issue.

Thanks.

Rohit Yadav
*Software Architect*







* S: +44 20 3603 0540 <+442036030540> | M: +91 88 262 30892
<+447770745036>  rohit.yadav@shapeblue.com<ma...@shapeblue.com>
<st...@shapeblue.com>> | www.shapeblue.com<http://www.shapeblue.com/>
<http://www.shapeblue.com/> | Twitter:@ShapeBlue
<https://twitter.com/#!/shapeblue> ShapeBlue Ltd, 53 Chandos Place, Covent
Garden, London, WC2N 4HS *

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.




--
Daan

Rohit Yadav
Software Architect

[cid:image003.png@01D122E8.F6EFE910]



S: +44 20 3603 0540<tel:+442036030540> | M: +91 88 262 30892<tel:+447770745036>

rohit.yadav@shapeblue.com<ma...@shapeblue.com> | www.shapeblue.com<http://www.shapeblue.com/> | Twitter:@ShapeBlue<https://twitter.com/#!/shapeblue>

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS




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.

Re: [4.6.1/4.7.0] Database upgrade path issues/forks between 4.6.0/4.6.1 and 4.7.0/master

Posted by Daan Hoogland <da...@gmail.com>.
Rohit, First of all good catch. I think we need to remove the 460to470 step
and have the path always pass by 4.6.1. Are you busy with this change
already?

On Fri, Dec 4, 2015 at 6:03 AM, Rohit Yadav <ro...@shapeblue.com>
wrote:

> There seems to be a db view related change between 4.6.0 and 4.6.1 (DB)
> versions; and there exists separate DB upgrade paths from 4.6.0 to 4.7.0
> and 4.6.1 to 4.7.0 on master branch which shares the same changes. The
> issue is that the upgrade path from 4.6.0 to 4.7.0 does not include the db
> view related changes that exists in the 4.6.0 to 4.6.1 upgrade path.
>
> While unlikely, but please share if this was done on purpose (i.e. we
> don’t want that db view related change if some user is upgrading from 4.6.0
> to 4.7.0), in which case it’s a non-issue.
>
> I’ll try to send a PR that *ought* to be merged on master before we freeze
> master (for 4.7.0) or cut a RC, but if I’m unable to do so today — someone
> please help fix this, and also refactor code (since there is a lot of
> common code), and don’t proceed without fixing this issue.
>
> Thanks.
>
> Rohit Yadav
> *Software Architect*
>
>
>
>
>
>
>
> * S: +44 20 3603 0540 <+442036030540> | M: +91 88 262 30892
> <+447770745036>  rohit.yadav@shapeblue.com
> <st...@shapeblue.com> | www.shapeblue.com
> <http://www.shapeblue.com/> | Twitter:@ShapeBlue
> <https://twitter.com/#!/shapeblue> ShapeBlue Ltd, 53 Chandos Place, Covent
> Garden, London, WC2N 4HS *
>
> 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.
>



-- 
Daan