Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 264C6200B65 for ; Wed, 17 Aug 2016 17:40:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 24E2F160A8C; Wed, 17 Aug 2016 15:40:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6AB28160A6C for ; Wed, 17 Aug 2016 17:40:21 +0200 (CEST) Received: (qmail 40708 invoked by uid 500); 17 Aug 2016 15:40:20 -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 40699 invoked by uid 500); 17 Aug 2016 15:40:20 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 40696 invoked by uid 99); 17 Aug 2016 15:40:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2016 15:40:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 78A732C02A4 for ; Wed, 17 Aug 2016 15:40:20 +0000 (UTC) Date: Wed, 17 Aug 2016 15:40:20 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9458) Some VMs are being stopped when agent is reconnecting MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 17 Aug 2016 15:40:22 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9458?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D15424736#comment-15424736 ]=20 ASF GitHub Bot commented on CLOUDSTACK-9458: -------------------------------------------- Github user jburwell commented on the issue: https://github.com/apache/cloudstack/pull/1640 =20 Are there Marvin test cases to verify this behavior? > Some VMs are being stopped when agent is reconnecting > ----------------------------------------------------- > > Key: CLOUDSTACK-9458 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-945= 8 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Reporter: Marc-Aur=C3=A8le Brothier > Assignee: Marc-Aur=C3=A8le Brothier > > If you loose the communication between the management server and one of t= he agent for a few minutes, even though HA mode is not active the HighAvail= ibilityManager kicks in and start to schedule vm restart. Those tasks are b= eing inserted as async job in the DB and if the agent comes back online dur= ing the time the jobs are still in the async table, they are pushed to the = agent and shuts down the VMs. Then since HA is not active, the VM are not r= estarted. > The expected behavior in my opinion is that the VM should not be restarte= d at all if HA mode is not active on them, and let the agent update the VM = state with the power report. > The bug lies in {{HighAvailibilityManagerImpl.scheduleRestartForVmsOnHost= (final HostVO host, boolean investigate)}}, PR will follow. -- This message was sent by Atlassian JIRA (v6.3.4#6332)