GitHub user karuturi opened a pull request:

    https://github.com/apache/cloudstack/pull/657

    CLOUDSTACK-8696: Create Region fails with exception

    'id' in the region table should not be an autoincrement unlike other
    tables. This is because, region ids must be in sync across installs and
    hence is accepted as input to the addRegions api.
    
    It is not a good practise to override id for this purpose. another
    column 'regionId' has to be created and used(CLOUDSTACK-8706). until it
    is fixed, id should never be autoincrement in regions table.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/karuturi/cloudstack CLOUDSTACK-8696

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/657.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #657
    
----
commit b6a78044a0881e17d045f35850222c275a84642e
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2015-08-04T09:19:30Z

    CLOUDSTACK-8696: Create Region fails with exception
    
    'id' in the region table should not be an autoincrement unlike other
    tables. This is because, region ids must be in sync across installs and
    hence is accepted as input to the addRegions api.
    
    It is not a good practise to override id for this purpose. another
    column 'regionId' has to be created and used(CLOUDSTACK-8706). until it
    is fixed, id should never be autoincrement in regions table.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to