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 <bh...@apache.org> on 2013/03/28 07:27:34 UTC

Re: [jira] [Commented] (CLOUDSTACK-1818) DatabaseCreator is not invoking UpgradeChecker to run upgrade logic written in Java, which is required for a success upgrade process

We need to fix reply-to email from issues@ ml. Will open a ticket on INFRA.

Re-posting comment from issue 1818 to dev list, just want to
understand the recent patch;

In 4.1, DatabaseCreator is only used by developers to deploy database,
users will still use cloud-setup-databases so why does it even matter
to have upgrading logic in server. Or make DababaseCreator ready to
invoke DatabaseUpgradeChecker?

Secondly, this code is not on master branch so we will needs to apply
on masters. Thirdly, DatabaseCreator does not need spring stuff, why
do we need server/resources/com/cloud/upgrade/databaseCreatorContext.xml?

On masters to make cloudstack-setup-databases use DatabaseCreator we
need to get all classpaths to cloud-server artifact and path to
setup/db/db while it is being packaged. If someone from packaging can
take a look on how it is done as per new packaging for other scripts
or share the same, we will use cloudstack-setup-databases just as a
wrapper which does some processing and executes DatabaseCreator.

Lastly, if we decided not to touch the code around it for 4.1 let's
not push commits around it as well?

Cheers.
> On Thu, Mar 28, 2013 at 11:45 AM, Rohit Yadav (JIRA) <ji...@apache.org> wrote:
>>
>>     [ https://issues.apache.org/jira/browse/CLOUDSTACK-1818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13616094#comment-13616094 ]
>>
>> Rohit Yadav commented on CLOUDSTACK-1818:
>> -----------------------------------------
>>
>> In 4.1, DatabaseCreator is only used by developers to deploy database, users will still use cloud-setup-databases so why does it even matter to have upgrading logic in server. Or make DababaseCreator ready to invoke DatabaseUpgradeChecker?
>>
>> Secondly, this code is not on master branch so we will needs to apply on masters. Thirdly, DatabaseCreator does not need spring stuff, why do we need server/resources/com/cloud/upgrade/databaseCreatorContext.xml?
>>
>> On masters to make cloudstack-setup-databases use DatabaseCreator we need to get all classpaths to cloud-server artifact and path to setup/db/db while it is being packaged. If someone from packaging can take a look on how it is done as per new packaging for other scripts or share the same, we will use cloudstack-setup-databases just as a wrapper which does some processing and executes DatabaseCreator.
>>
>> Lastly, what's the point of a code freeze and ml discussion if we decided not to touch it for 4.1 and we keep pushing commits around it?
>>
>>> DatabaseCreator is not invoking UpgradeChecker to run upgrade logic written in Java, which is required for a success upgrade process
>>> ------------------------------------------------------------------------------------------------------------------------------------
>>>
>>>                 Key: CLOUDSTACK-1818
>>>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1818
>>>             Project: CloudStack
>>>          Issue Type: Bug
>>>      Security Level: Public(Anyone can view this level - this is the default.)
>>>    Affects Versions: 4.1.0, 4.2.0
>>>            Reporter: Kelven Yang
>>>            Assignee: Kelven Yang
>>>            Priority: Blocker
>>>
>>
>>
>> --
>> This message is automatically generated by JIRA.
>> If you think it was sent incorrectly, please contact your JIRA administrators
>> For more information on JIRA, see: http://www.atlassian.com/software/jira