Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0652C18566 for ; Thu, 4 Feb 2016 17:42:11 +0000 (UTC) Received: (qmail 3504 invoked by uid 500); 4 Feb 2016 17:34:50 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 3449 invoked by uid 500); 4 Feb 2016 17:34:50 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 3436 invoked by uid 99); 4 Feb 2016 17:34:50 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2016 17:34:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 11D1D18061C for ; Thu, 4 Feb 2016 17:34:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.821 X-Spam-Level: X-Spam-Status: No, score=-0.821 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id qb2SMv6kxoVN for ; Thu, 4 Feb 2016 17:34:48 +0000 (UTC) Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 7CF8142BC5 for ; Thu, 4 Feb 2016 17:34:47 +0000 (UTC) Received: by mail-wm0-f46.google.com with SMTP id 128so37855757wmz.1 for ; Thu, 04 Feb 2016 09:34:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=eOfRbHAMzG/2YqOpEPAvtm/jyt/D1vfEsvZvaU3V+WM=; b=aSSITQbCG8OmZepkUze4Awr8mz/T6aSZe+z7Wx4Tx3EimYYJhzujE6Sj2cNSze8eIN mTujU+FzDLXAxXh6WQOukiJ8qxF20JqGiDRupSHDJZaEe4+/a465MCPGU45PWtIZoKY6 VkOPR9D2zbBogh9wBBhpq86QF7cTcOFYOyylufhfFA2giNxKrHGPexVhDJ27/e6fH726 F2lMTR/YDHxAoqoptLPss/26XTkmquppXokLCs19hOngebkx5VzzuYDd8TL1m6pr3TYs vflXyipLcxWMCFraG3dk3/Ozusce6cggcCEIUfH6aRbKy+WQUXYfCjH6IUDcRDUF13uN Os2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=eOfRbHAMzG/2YqOpEPAvtm/jyt/D1vfEsvZvaU3V+WM=; b=GxobfFCsbfTiXWrcM+URGNl0hJT6joTxGEMzApSUdKLvULDQa9xch3qqA+u/FNCfFg iFPcpV7pwzzWjFSlADzaqPoedaGsh/pv6C2kFludGsS7CgeY5c34gucIGCBX6fD4Optr 1B0g+W//YW/SUQCPm/Phq5Am9Iep3YM1KlsMlreFqmzIsNcg56UghCy4a91rT9hqd6Cx EzHwNBFAAcz4PKsTAP0WuI1LUv/fxDexgsKY+uXYs4iuORimPJj0reebA9H6Z4bP53mc uP6tgwsnM+dZ3mFLeduxCfbLtmAXGnedk+lFftcE2uuTkYD3s+HS3mKVlu9+yu8zpUrh Bj3Q== X-Gm-Message-State: AG10YORoc2tpOZnni7HVq54qhZQjzC/3BRs8GUxJWdS3q06M/eumuoTxErOntkbCv3KpUQ== X-Received: by 10.28.3.134 with SMTP id 128mr10974155wmd.92.1454607286621; Thu, 04 Feb 2016 09:34:46 -0800 (PST) Received: from [192.168.1.3] (x5f753e67.dyn.telefonica.de. [95.117.62.103]) by smtp.gmail.com with ESMTPSA id 67sm27423682wmp.20.2016.02.04.09.34.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Feb 2016 09:34:46 -0800 (PST) Subject: Re: Self-fencing when storage not available To: users@cloudstack.apache.org References: <56B217E2.1010807@gmail.com> <56B229C2.90708@gmail.com> <361543746.38884.1454524330496.JavaMail.zimbra@li.nux.ro> From: Vladislav Nazarenko Message-ID: <56B38BB4.1070908@gmail.com> Date: Thu, 4 Feb 2016 18:34:44 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit So ... found some information about this ... looks like this is an annoying problem (bug), which isn't going to be fixed ... But at least there is a possibility to change the behavior modifying the script - https://admintweets.wordpress.com/tag/cloudstack-2/ - https://www.rootusers.com/edit-the-xenserver-storage-heartbeat/ - https://issues.apache.org/jira/browse/CLOUDSTACK-3367 Thanks a lot, guys .. On 03.02.2016 20:05, Glenn Wagner wrote: > Hi > > As Lucian said , you can edit the script and remove the reboot , but yes this is the normal behaviour of the script > > Glenn > > > -----Original Message----- > From: Nux! [mailto:nux@li.nux.ro] > Sent: Wednesday, 03 February 2016 8:32 PM > To: users@cloudstack.apache.org > Subject: Re: Self-fencing when storage not available > > You can modify the script to not reboot, but until we find a better way to deal with it this is correct behaviour. It sucks it reboots VMs on healthy storage though. > > -- > Sent from the Delta quadrant using Borg technology! > > Nux! > www.nux.ro > > ----- Original Message ----- >> From: "Vladislav Nazarenko" >> To: users@cloudstack.apache.org >> Sent: Wednesday, 3 February, 2016 16:24:34 >> Subject: Re: Self-fencing when storage not available >> Hi Glenn, >> >> we use KVM ... I also found the script: >> /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/kvmheartbeat.sh >> >> Just wondering if we can avoid rebooting ... >> >> Thanks >> Vlad >> >> On 03.02.2016 16:57, Glenn Wagner wrote: >>> Hi Vlad, >>> >>> Can I ask what hypervisor are you using? >>> The default action is to reboot the hosts >>> >>> This is done in the heatbeat file on xenserver >>> /opt/xensource/bin/xenheartbeat.sh >>> >>> Thanks >>> Glenn >>> >>> >>> >>> ShapeBlue >>> Glenn Wagner >>> Senior Consultant , ShapeBlue >>> >>> d: * | s: +27 21 527 0091* >>> | m: *+27 73 917 4111* >>> >>> e: *glenn.wagner@shapeblue.com | t: * >>> | w: >>> *www.shapeblue.com* >>> >>> a: >>> 2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West Cape Town 7130 >>> South Africa >>> >>> >>> Shape Blue Ltd is a company incorporated in England & Wales. >>> ShapeBlue Services India LLP is a company incorporated in India and >>> is operated under license from Shape Blue Ltd. Shape Blue Brasil >>> Consultoria Ltda is a company incorporated in Brasil and is operated >>> under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company >>> registered by The Republic of South Africa and is traded under >>> license from Shape Blue Ltd. ShapeBlue is a registered trademark. >>> This email and any attachments to it may be confidential and are >>> intended solely for the use of the individual to whom it is addressed. >>> Any views or opinions expressed are solely those of the author and do >>> not necessarily represent those of Shape Blue Ltd or related >>> companies. If you are not the intended recipient of this email, you >>> must neither take any action based upon its contents, nor copy or >>> show it to anyone. Please contact the sender if you believe you have >>> received this email in error. >>> >>> >>> -----Original Message----- >>> From: Vladislav Nazarenko [mailto:vladislav.nazarenko@gmail.com] >>> Sent: Wednesday, 03 February 2016 5:08 PM >>> To: users@cloudstack.apache.org >>> Subject: Self-fencing when storage not available >>> >>> Hi All, >>> >>> I'm testing Cloudstack 4.6 now >>> >>> When doing some tests with storage (nfs), I was wondering, that the >>> hosts self-fence itself by reboot, when a storage not writable ... >>> >>> Even more, my cluster had a working storage and I added one more, >>> which was not writable due to missing user permissions... So >>> effectively all the VMs hard drive were located on the working >>> storage, but the problem with permissions on the new one causes the >>> entire cluster to reboot :( >>> >>> Is this a bug or a correct behavior? >>> >>> Is it able to avoid rebooting at least? >>> >>> Thank you in advance >>> Vlad >>> >>> >>> Find out more about ShapeBlue and our range of CloudStack related >>> services: >>> IaaS Cloud Design & Build >>> | CSForge – >>> rapid IaaS deployment framework >>> CloudStack Consulting >>> | CloudStack Software Engineering >>> >>> CloudStack Infrastructure Support >>> | >>> CloudStack >>> Bootcamp Training Courses >>> > Find out more about ShapeBlue and our range of CloudStack related services: > IaaS Cloud Design & Build | CSForge – rapid IaaS deployment framework > CloudStack Consulting | CloudStack Software Engineering > CloudStack Infrastructure Support | CloudStack Bootcamp Training Courses