GitHub user resmo opened a pull request:

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

    [4.5] CLOUDSTACK-8848: ensure power state is up to date for missing 
PowerState handling

    1:1 cherry-picks, see #909

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

    $ git pull https://github.com/resmo/cloudstack fix/4.5-8848

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

    https://github.com/apache/cloudstack/pull/922.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 #922
    
----
commit 30c704915c882f8ac2ab551aa157d0b7a0bdb47f
Author: Rene Moser <re...@apache.org>
Date:   2015-09-24T19:10:26Z

    CLOUDSTACK-8848: ensure power state is up to date when handling missing VMs 
in powerReport
    
    There 2 things which has been changed.
    
    * We look on power_state_update_time instead of update_time. Didn't make 
sense to me at all to look at update_time.
    * Due DB update optimisation, powerState will only be updated if < 
MAX_CONSECUTIVE_SAME_STATE_UPDATE_COUNT. That is why we can not rely on these 
information unless we make sure these are up to date.

commit 968991e0965d2279ba5f5c9e6496dc1a39dbccac
Author: Daan Hoogland <d...@onecht.net>
Date:   2015-10-02T09:42:42Z

    CLOUDSTACK-8848: added null pointer guard to new public method

----


---
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