From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 DD8EA1388 for ; Tue, 22 Jul 2025 00:23:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753143807; cv=none; b=iy2lomapPXJ6VWaRS3hjZWgZB4Z8m6WjG5ohgZh7S69Ey2S8XMzwt6/mBgg4wGyoi5RV1mUNnpDvlGIIZfr/PjA/Ot/J4L5Ke9YuAkcWvgMPZT6GpB5zgsl0LEKAEOIAWrTtKXG2Ei4TyJDmXk9cGdVHh/h1ON9ZJ/koJsXMuVc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753143807; c=relaxed/simple; bh=JRi0JlKhWw+qa872GBmyGk/qQS2/uhqplo11FznlJzs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Z/ns9uj38S13NfYHT7gzvLf6QArZ+x4ASDZ/Ug57izNgEMLt0a83Vdq/RDM20ZdkbHMWwwZ79DC2ESYwZmPRnMviYdLJMRaAVuZBh+YNU0JQwbrznrdwJCdox0LgKQEXcHaOD3VYo37PeCbKfb61K7LcD77za+tvPMVFvFCDdPU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=ZLhWqa1r; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="ZLhWqa1r" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description; bh=8rL/AsCjC2FkXaUe/kciO1gWT7rOXyQ17TAfkCjXoyo=; b=ZLhWqa1rKVIqdzO8jxQopYOQvf crxSQEv5yl/qqKrlycBAeBfD547vTX2s4f+JhCk1lLnAPPWf19Y3aguy5Z1Iw9NCJ60O2qcWD4WVN fqNF4hOcdnSunTVH/Myg4xChhjTouiSz0Z42i6jvKb8KiBzGrRrMYCLQNK5oVDvieB5k0e4KS0pig hmqGV/gaBKSkXCw+dYf9zwTncjld5f4eEwZiFjeeAzkBR90Hg4420/sNeVZHE9Y+5sRa+3YJJV4cM J1sAEY1AJIhEhiXwV/YSCr/qiYh/leF3FAbVcVTyDooE8cAPxh4FEyITTpcPKHdq+xNfgCho0yZJg ZMm09ilg==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1ue0mz-00000000wnX-2PNL; Tue, 22 Jul 2025 00:23:25 +0000 From: Luis Chamberlain To: Chuck Lever , Daniel Gomez , kdevops@lists.linux.dev Cc: Luis Chamberlain Subject: [PATCH 1/2] volume_group: add scsi disk support Date: Mon, 21 Jul 2025 17:23:23 -0700 Message-ID: <20250722002324.225989-2-mcgrof@kernel.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250722002324.225989-1-mcgrof@kernel.org> References: <20250722002324.225989-1-mcgrof@kernel.org> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Luis Chamberlain Add support to use a scsi disk for the volume disk group. Generated-by: Claude AI Suggested-by: Chuck Lever Signed-off-by: Luis Chamberlain --- playbooks/roles/volume_group/tasks/guestfs.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/playbooks/roles/volume_group/tasks/guestfs.yml b/playbooks/roles/volume_group/tasks/guestfs.yml index a5536159..0a285f16 100644 --- a/playbooks/roles/volume_group/tasks/guestfs.yml +++ b/playbooks/roles/volume_group/tasks/guestfs.yml @@ -31,6 +31,13 @@ - libvirt_extra_storage_drive_ide is defined - libvirt_extra_storage_drive_ide|bool +- name: Set the SCSI device search pattern + ansible.builtin.set_fact: + by_id_pattern: "scsi-0QEMU_QEMU_HARDDISK_kdevops*" + when: + - libvirt_extra_storage_drive_scsi is defined + - libvirt_extra_storage_drive_scsi|bool + - name: Verify there are block devices to search ansible.builtin.fail: msg: No supported block devices are available for NFSD. -- 2.47.2