From 6569cdbe14576ea580268e445b07ac92f0cce68b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A9ri=20Le=20Bouder?= Date: Tue, 1 Mar 2016 12:50:20 -0500 Subject: [PATCH] add wipefs to ironic-lib.filters I39637e22c344703ad48fc271f6f866aa018bbdd1 introduces the use of wipefs to clean a disk, this through the ironic_lib.disk_utils module. wipefs has been added to ironic_lib's rootwrap filter filter as expected. We need to keep this one in sync because: - of the gate: devstack uses it instead of the one from ironic_lib - to preserve exsisting deployed installation where ironic_lib's filter is not properly deployed yet. This commit also comes with a NOTE message to explain the situation. Change-Id: Id69706d7a78ff37a360cc23d6a076bc13bbdf14c --- etc/ironic/rootwrap.d/ironic-lib.filters | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/ironic/rootwrap.d/ironic-lib.filters b/etc/ironic/rootwrap.d/ironic-lib.filters index acce7a7b62..1c543791b0 100644 --- a/etc/ironic/rootwrap.d/ironic-lib.filters +++ b/etc/ironic/rootwrap.d/ironic-lib.filters @@ -2,12 +2,18 @@ # The following commands should be used in filters for disk manipulation. # This file should be owned by (and only-writeable by) the root user. +# NOTE: this file is a copy of ironic-lib.filters from the ironic-lib +# repository that should ultimately be remove. At this point, we still +# need it to avoid gate breakage and preserve compatibily with existing +# installation. + [Filters] # ironic_lib/disk_utils.py blkid: CommandFilter, blkid, root blockdev: CommandFilter, blockdev, root hexdump: CommandFilter, hexdump, root qemu-img: CommandFilter, qemu-img, root +wipefs: CommandFilter, wipefs, root # ironic_lib/utils.py mkswap: CommandFilter, mkswap, root