From issues-return-92339-archive-asf-public=cust-asf.ponee.io@cloudstack.apache.org Wed May 2 09:45:06 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 4CA2218065D for ; Wed, 2 May 2018 09:45:06 +0200 (CEST) Received: (qmail 60750 invoked by uid 500); 2 May 2018 07:45:05 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 60732 invoked by uid 500); 2 May 2018 07:45:05 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 60727 invoked by uid 99); 2 May 2018 07:45:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2018 07:45:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 65C3FC0541 for ; Wed, 2 May 2018 07:45:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id eKW45aQ5T_gw for ; Wed, 2 May 2018 07:45:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id CFE695FB95 for ; Wed, 2 May 2018 07:45:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6C30CE0CC1 for ; Wed, 2 May 2018 07:45:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7DA9A212A7 for ; Wed, 2 May 2018 07:45:00 +0000 (UTC) Date: Wed, 2 May 2018 07:45:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-10309) VMs with HA enabled, power back on if shutdown from guest OS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-10309?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D16460645#comment-16460645 ]=20 ASF GitHub Bot commented on CLOUDSTACK-10309: --------------------------------------------- rhtyd commented on issue #2473: CLOUDSTACK-10309 Add option on if to VM HA = power-on a OOB-shut-off-VM URL: https://github.com/apache/cloudstack/pull/2473#issuecomment-385892299 =20 =20 FYI - I've changed PR's base branch to validate change from Travis, and = trillian. Once this is tested and is okay we can move it back to 4.9 branch= . @blueorangutan package ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. =20 For queries about this service, please contact Infrastructure at: users@infra.apache.org > VMs with HA enabled, power back on if shutdown from guest OS > ------------------------------------------------------------ > > Key: CLOUDSTACK-10309 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-103= 09 > Project: CloudStack > Issue Type: Improvement > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Management Server > Affects Versions: 4.9.0, 4.10.0.0 > Environment: KVM > Reporter: Sean Lair > Priority: Minor > > When a user shuts down their VM from the guest OS (and VM HA is enabled),= the VM just powers itself back on.=C2=A0 Our environment is on KVM hosts. > CloudStack does not know the difference between a VM failing or being shu= tdown from within the guest OS. > This is a major pain point for all our users - especially since they don'= t pay for VMs when they are shutoff.=C2=A0 It is not intuitive for end-user= s to understand why they can't shutdown VMs from within the guest OS.=C2=A0= Especially when they all come from (non-cloudstack) VMware and Hyper-V env= ironments where this is not an issue. > However, if a host fails, we need VM HA to still work. > This Issue is being tied to a new PR that creates a configuration option = "ha.vm.restart.hostup".=C2=A0=C2=A0With this option set to false, if CloudS= tack sees a VM shutdown out-of-band, +*but the host it was on is still* *on= lin*e+, then it won't power it back on.=C2=A0 The logic is that since the h= ost is online, it was most likely shutdown from the guest OS. > For when a host actually fails, standard VM HA logic takes over and power= s on VMs (with VM HA enabled) if the host they were on fails. > If that "ha.vm.restart.hostup" option is true (the default to match curre= nt functionality), it works like always, and even in-guest shutdowns of VMs= causes CloudStack to power back on the VM. > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)