GitHub user bvbharatk opened a pull request:

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

    CLOUDSTACK-8933 SSVm and CPVM do not survive a reboot from API

    The issue is because we loop infinitely when we do not receive any cmdline 
data during reboots. The current fix is to attempt one time to read the 
commadline data, the data is not there we check if the cmdline is already 
populated. If is already there we continue with the existing command line.
    
    This fix will work in case of reboots, but in case of stop and start if the 
cmdline changes and we do not get it on first read we will end up using the old 
cmdline data instead of the new one. I am not sure if the cmd data will change 
on start stop.  One way to fix this will be to send some data in the cmdline on 
reboot to say that we can use the existing data in the cmdline. I am not sure 
if this a good way to fix it.
    
    Please let me know if there is a better way to do this.

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

    $ git pull https://github.com/bvbharatk/cloudstack CLOUDSTACK-8933

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

    https://github.com/apache/cloudstack/pull/930.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 #930
    
----
commit 2fd8ab0b4852e792607b8ae4431d4537e98e6fea
Author: Bharat Kumar <bharat.ku...@citrix.com>
Date:   2014-12-24T11:18:55Z

    CLOUDSTACK-8933 SSVm and CPVM do not survive a reboot from API

----


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