Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BCAD24A2D for ; Tue, 2 Sep 2025 20:40:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756845653; cv=none; b=erQWiL/iCfHG3ABjJ9qhmHuFq0N9ZeKF/lsDkZNZwpVd09DVbW64OOkuc/Mohwv6A6YPEdmxHF6OVYyHqB/dyLbq/w9AHjD0aZIRpPGUwqDU+L4aU+npZ2ltP5XBoDu5Q47Py2HViOrB5IqUL9XVNNU6xPCZ4/qiQ+6EshIHcwI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756845653; c=relaxed/simple; bh=HsaVTkrY1OqXuytgJBKBQtJgRgyVpFZN7blyA/hPJFA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=XUGkcxRcmp5fmXfJhwtEWqZobnkbFAFkjVXE27F0RFQAXMnuouOA1Ayo0E2IzuLbdxt+TtZ+5e0Rh96Wwa9EQhCBwIHPBHaaudScTVLiiIoVYc4F2woqARANV6Pbd6gerHMXMK9y0OW2TE9c9pGJmSA4hxiPr65LdB/6I6pdrC0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=u/IxK/z0; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="u/IxK/z0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B34CC4CEED; Tue, 2 Sep 2025 20:40:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1756845653; bh=HsaVTkrY1OqXuytgJBKBQtJgRgyVpFZN7blyA/hPJFA=; h=Date:Reply-To:Subject:To:Cc:References:From:In-Reply-To:From; b=u/IxK/z07hyb9f1qyhpK97bCRo20taQ2hYAfsoGCJAhPdQseyLeEWqOcrOI2XurNS BDiR3Scwu2WzuUK2sZMI7kNDeR12wi6qphpCjXkR1HdSXfKtfnGNrSGkps4g++S0sL GeRcUPLNA7Cf6sc2BKDq04yqzJ4fUqUlqY6eHWuFCS9sUeEt92B/WBc49X/ZAnUAS5 cYxYvogV1SY+JxNdwweS9dNpRCLnuTLrmnFUBWHDvROX9C/LCdYvC9XGOTrdRuRQXh H26EX6Zx4A+j1CO0J4DG7QDHNekrSoGti8gyWQNVqot5Mqi+/X5rp1/9BX5Lsgr6HB T2WabJQ2z6UBg== Message-ID: Date: Tue, 2 Sep 2025 22:40:50 +0200 Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: Daniel Gomez Subject: Re: [PATCH v2 23/37] guestfs: Don't run the 'destroy' tags on the controller To: Chuck Lever , kdevops@lists.linux.dev Cc: Chuck Lever , Luis Chamberlain References: <20250902135426.815079-1-cel@kernel.org> <20250902135426.815079-24-cel@kernel.org> <3b003e02-f7c0-4394-a943-18bc511ba677@kernel.org> <78f788d1-6cdd-454d-9123-9c96e010b6d6@kernel.org> Content-Language: en-US From: Daniel Gomez Organization: kernel.org In-Reply-To: <78f788d1-6cdd-454d-9123-9c96e010b6d6@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 02/09/2025 21.59, Chuck Lever wrote: > On 9/2/25 3:54 PM, Daniel Gomez wrote: >> On 02/09/2025 15.54, Chuck Lever wrote: >>> From: Chuck Lever >>> >>> "make destroy" was skipping some important file removals, and >>> removing other files that do not exist. >>> >>> Reviewed-by: Luis Chamberlain >>> Signed-off-by: Chuck Lever >>> --- >>> scripts/guestfs.Makefile | 1 + >>> 1 file changed, 1 insertion(+) >>> >>> diff --git a/scripts/guestfs.Makefile b/scripts/guestfs.Makefile >>> index f6c350a43f27..953c61493a88 100644 >>> --- a/scripts/guestfs.Makefile >>> +++ b/scripts/guestfs.Makefile >>> @@ -96,6 +96,7 @@ PHONY += status_guestfs >>> >>> destroy_guestfs: >>> $(Q)ansible-playbook $(ANSIBLE_VERBOSE) \ >>> + --limit 'baseline:dev:service' \ >> >> Do we need to be explicit here? >> >> The guestfs.yml playbook already defines hosts: all. Not sure if I understand >> the reason why things were skipped. Can you elaborate? > > Before, the "destroy" inventory would have generated these tasks: > > host1 -> localhost > host2 -> localhost > host3 -> localhost > > But [all] now includes localhost. So we get: > > host1 -> localhost > host2 -> localhost > host3 -> localhost > localhost -> localhost > > It's that last item that is unwanted. Got it. I think I was confused by the commit message but makes sense now. Reviewed-by: Daniel Gomez > > >>> playbooks/guestfs.yml \ >>> --extra-vars=@./extra_vars.yaml \ >>> --tags destroy > >