You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/07/15 13:19:32 UTC

[GitHub] [cloudstack] weizhouapache opened a new issue #4211: VM HA does not work when server is stopped gracefully

weizhouapache opened a new issue #4211:
URL: https://github.com/apache/cloudstack/issues/4211


   When we stop a server (hypervisor) gracefully, vms on it will NOT be started on other servers even HA is enabled.
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   ~~~
   VM HA
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master branch.
   -->
   
   ~~~
   4.14/4.15
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   ~~~
   advanced zone
   ~~~
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   ~~~
   KVM
   ~~~
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   1. create a service offering with HA enabled
   2. deploy a vm
   3. go to the server where vm is running on, and stop it by "poweroff" command
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   vm will be started on other servers.
   
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   vm is NOT started on other servers.
   
   only when the server is Up again, cloudstack detects the vm is stopped out-of-band and starts it.
   ~~~
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] weizhouapache commented on issue #4211: VM HA does not work when server is stopped gracefully

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #4211:
URL: https://github.com/apache/cloudstack/issues/4211#issuecomment-772310116


   @shwstppr yeah. I will create a pr in coming days.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] weizhouapache closed issue #4211: VM HA does not work when server is stopped gracefully

Posted by GitBox <gi...@apache.org>.
weizhouapache closed issue #4211:
URL: https://github.com/apache/cloudstack/issues/4211


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] weizhouapache commented on issue #4211: VM HA does not work when server is stopped gracefully

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #4211:
URL: https://github.com/apache/cloudstack/issues/4211#issuecomment-673033572


   > @weizhouapache adding to @DaanHoogland's questions:
   > 
   > * what is the primary storage used on the tests?
   
   @GabrielBrascher we use nfs as zone-wide storage pool.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] shwstppr commented on issue #4211: VM HA does not work when server is stopped gracefully

Posted by GitBox <gi...@apache.org>.
shwstppr commented on issue #4211:
URL: https://github.com/apache/cloudstack/issues/4211#issuecomment-772286766


   @weizhouapache are planning/working on a fix for this?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland commented on issue #4211: VM HA does not work when server is stopped gracefully

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #4211:
URL: https://github.com/apache/cloudstack/issues/4211#issuecomment-665518391


   This doesn't sound familiar @weizhouapache . To recap,
   - a hosts is HA enabled? (genuine question , here)
   - a vm with a ha enabled offering is created on it.
   - the server is powered off. Is by means of an remote (ipmi) action or by logging on to the console and issueing a halt command?
   
   I would not expect this behaviour as a user but it might be a side effect of the host-ha, hence my questions.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] weizhouapache commented on issue #4211: VM HA does not work when server is stopped gracefully

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #4211:
URL: https://github.com/apache/cloudstack/issues/4211#issuecomment-658762968


   @rhtyd @DaanHoogland @PaulAngus @svenvogel have you faced this issue ? is this an expected behavior ?
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] RodrigoDLopez commented on issue #4211: VM HA does not work when server is stopped gracefully

Posted by GitBox <gi...@apache.org>.
RodrigoDLopez commented on issue #4211:
URL: https://github.com/apache/cloudstack/issues/4211#issuecomment-679286906


   hi @weizhouapache,  
   My environment is similar to yours, apart from the storage pool that I use cluster-wide, on this environment I could see HA working on cloudstack version `4.13.1.1` with an NFS cluster-wide storage pool.
   
   On 4.13.1.1 version I could see my VMs migrate to a suitable HOST after I force shut down the HOST where those VMs were, but with gracefully shut down I couldn't see the HA working, those VMs never migrate to another suitable HOST, only when this HOST came back the cloudstack detected this VMs as stopped. But at `4.14` and `4.15` version, I couldn't see HA working even when I force shut down, those VMs are never detected as stopped by cloudstack


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] weizhouapache commented on issue #4211: VM HA does not work when server is stopped gracefully

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #4211:
URL: https://github.com/apache/cloudstack/issues/4211#issuecomment-673035021


   > This doesn't sound familiar @weizhouapache . To recap,
   > 
   > * a hosts is HA enabled? (genuine question , here)
   > * a vm with a ha enabled offering is created on it.
   > * the server is powered off. Is by means of an remote (ipmi) action or by logging on to the console and issueing a halt command?
   > 
   > I would not expect this behaviour as a user but it might be a side effect of the host-ha, hence my questions.
   
   @DaanHoogland 
   1. do you mean OOBM based ha ? no, we do not use it.
   2. all vms are ha-enabled.
   
   if kvm cloudstack-agent is stopped, there is no thread in cloudstack to determine its actual host state.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] GabrielBrascher commented on issue #4211: VM HA does not work when server is stopped gracefully

Posted by GitBox <gi...@apache.org>.
GabrielBrascher commented on issue #4211:
URL: https://github.com/apache/cloudstack/issues/4211#issuecomment-669915540


   @weizhouapache adding to @DaanHoogland's questions:
   - what is the primary storage used on the tests?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org