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 08F7C34F494 for ; Tue, 2 Sep 2025 19:59:14 +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=1756843156; cv=none; b=fLGq3UcDpw+olf/GMeAwDmd22R6hoVrSH+/8L+cp7M4NJiNsqq5DYo7WinXUIq2AW/vmqqw0/lHFHV7SMKG1LjjnWgIWR/fVr6sWiET43HCH6D4DTHVSwyh9fYF8qvvo7YOxVsRwxJq8YKzk0BaosQvUK8hgTN6NW95HxMHiau8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756843156; c=relaxed/simple; bh=3xEtviKrbxN+zO7L2kchdoeX0eix9WQxzjfcyCNXC4o=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=GGKotGGFvqj0iRVxiLFoVW+kyUlR6HB+h14OHQi4MqNEYvaBHrRuujKDvWWdd0sVaaO329v4yK0QgWjcFt42dnhrf+FnvOMbH8CQQo1BfGELeFJf2l+Kp9f8uobSf/D0vLbXXbZw/RUOLGOxalt+UEpZbdsClbQnbrk+kH/IY48= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KA4pwONE; 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="KA4pwONE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40A31C4CEF4; Tue, 2 Sep 2025 19:59:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1756843154; bh=3xEtviKrbxN+zO7L2kchdoeX0eix9WQxzjfcyCNXC4o=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=KA4pwONEmg/OqXBgd9xGjtMpG18fBLH4nC/2xlugCIAM6G5dfP7pscrS1df4O26M+ EOyCsp8YiT79VAL4R1EMLyE/gMyjvtqzzgO79qwPaF15wF6j50AeCbYBiZ8PQO40ti G8tA+2ABMEgiuAU9Fr4aoK8SkwUSwUx7C6T8Lz7B4So9Zli/qT8bXNoWnve3HCNF8Y gGF0YOH4OxLrMkXZ8Km4fWw3AGziVXQDsI86fcNTyeAQANaPEcf4z4GzWvs1Xq4nFy oXzEeADRj3pjMpa8fVvtk8LbwR/wdgJIvpuzBPI1FFt4V3g6gxhJGS1tCcAc84Swcs rWy+dfx3hDZ8g== Message-ID: <78f788d1-6cdd-454d-9123-9c96e010b6d6@kernel.org> Date: Tue, 2 Sep 2025 15:59:13 -0400 Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 23/37] guestfs: Don't run the 'destroy' tags on the controller To: Daniel Gomez , 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> Content-Language: en-US From: Chuck Lever Organization: kernel.org In-Reply-To: <3b003e02-f7c0-4394-a943-18bc511ba677@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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. >> playbooks/guestfs.yml \ >> --extra-vars=@./extra_vars.yaml \ >> --tags destroy -- Chuck Lever