From patchwork Thu Nov 21 17:49:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukas Straub X-Patchwork-Id: 11256653 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 865D714C0 for ; Thu, 21 Nov 2019 17:53:11 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4DC6120658 for ; Thu, 21 Nov 2019 17:53:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=web.de header.i=@web.de header.b="mxGEejMv" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4DC6120658 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=web.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:43282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXqdh-0001x5-Ut for patchwork-qemu-devel@patchwork.kernel.org; Thu, 21 Nov 2019 12:53:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42905) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXqad-0000Em-DP for qemu-devel@nongnu.org; Thu, 21 Nov 2019 12:50:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iXqac-00070n-Fh for qemu-devel@nongnu.org; Thu, 21 Nov 2019 12:49:59 -0500 Received: from mout.web.de ([212.227.17.11]:60345) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iXqac-0006yQ-2h for qemu-devel@nongnu.org; Thu, 21 Nov 2019 12:49:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1574358562; bh=jwfVK4sRWXBkN5gEvWZUe/U4B/BoeFvmRlrE/E3bWP8=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject; b=mxGEejMvP/shWS2lD5GA88ZBZQxqW4OKkEgbtBquzn4d9d3KEOst3ljOs0CbXCpvH LUOPk7JPaibFhcODK7j9BHAnEeylUyiu9dHq/DlgMAbePdk9n0NLLWJ20B4B8khEkW YBvY7QkbOGsq5nEsUoYoc1AJDSHiplX1MCvu2sk0= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from luklap ([89.247.255.160]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0LyljP-1hjuqs3Oyd-01693x; Thu, 21 Nov 2019 18:49:21 +0100 Date: Thu, 21 Nov 2019 18:49:18 +0100 From: Lukas Straub To: qemu-devel Subject: [PATCH 0/4] colo: Introduce resource agent and high-level test Message-ID: MIME-Version: 1.0 X-Provags-ID: V03:K1:VkPE7bInktOE4iZqub1ZzGZEZ5Pki6g2ozM0L0mS235M2Z+gJuQ UXDIcRGkN0A/nnDSJjda2pz6Urf+yWwuflbKfG/QVHVXKgiHAtw7EsOBFB8E9GEm2GWbD6C EvNT9xzhQtRohEWN3v1xbl5JCoNzswDdKiUSGfxG4hFQromaQdmoI6ytIGWixOgneU+Suuz NKbNBMOXHbb8Jwa/aLPWA== X-UI-Out-Filterresults: notjunk:1;V03:K0:SF+GvnFJNos=:zhLOkieu2GAwlQNDmR5ptx W4Nte082kUUX7BJr+CCreCR2jKH414r+4PmQCBgWDvn/6/AYZhQtGiCiYBfRL/A8Cpzvp1/LR 4Q6B19b8NObhQZT7PNsLrS+IrLBREbYdoMeSVY4X+JF2SfDvFimsFQOrGCM5R1rIHnH8WGe1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VHYH0GNazmq sDX7Gou12DTfgegtxArHJhT2YtTCqNZUMTsoGDkIiyZSlDzUjKMiqzOn9ZkI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.11 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Zhang, Chen" , Jason Wang , Alberto Garcia , "Dr. David Alan Gilbert" Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Hello Everyone, These patches introduce a resource agent for use with the Pacemaker CRM and a high-level test utilizing it for testing qemu COLO. The resource agent manages qemu COLO including continuous replication. Currently the second test case (where the peer qemu is frozen) fails on primary failover, because qemu hangs while removing the replication related block nodes. Note that this also happens in real world test when cutting power to the peer host, so this needs to be fixed. Based-on: ([PATCH v7 0/4] colo: Add support for continuous replication) Lukas Straub (4): block/quorum.c: stable children names colo: Introduce resource agent colo: Introduce high-level test MAINTAINERS: Add myself as maintainer for COLO resource agent MAINTAINERS | 6 + block/quorum.c | 6 + scripts/colo-resource-agent/colo | 1026 ++++++++++++++++++++++++ scripts/colo-resource-agent/crm_master | 44 + tests/acceptance/colo.py | 444 ++++++++++ 5 files changed, 1526 insertions(+) create mode 100755 scripts/colo-resource-agent/colo create mode 100755 scripts/colo-resource-agent/crm_master create mode 100644 tests/acceptance/colo.py --- 2.20.1