cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From syed <...@git.apache.org>
Subject [GitHub] cloudstack pull request #1772: Fix template sync for region store.
Date Thu, 24 Nov 2016 03:31:02 GMT
GitHub user syed opened a pull request:

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

    Fix template sync for region store.

    When using a region store like Swift or S3 as secondary storage,
    the `zoneId` can be null. This causes an exception when we try
    to convert it to a `long`. This fix guards against that.
    
    Before this fix, if you restart the management server, all the templates
    would change to "NOT READY" because the code which syncs the NFS cache
    and the object store crashes due to the above mentioned issue.
    This PR fixes that.

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

    $ git pull https://github.com/syed/cloudstack template-sync-fix

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

    https://github.com/apache/cloudstack/pull/1772.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 #1772
    
----
commit 5386ffc7117b0d29bc8ab40014c90b81bf9aae16
Author: Syed <syed1.mushtaq@gmail.com>
Date:   2016-11-23T16:31:59Z

    Fix template sync for region store.
    
    When using a region store like Swift or S3 as secondary storage,
    the `zoneId` can be null. This causes an exception when we try
    to convert it to a `long`. This fix guards against that.
    
    Before this fix, if you restart the management server, all the templates
    would change to "NOT READY" because the code which syncs the NFS cache
    and the object store crashes due to the above mentioned issue.
    This PR fixes that.

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message