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
This commit is contained in:
Gonéri Le Bouder 2016-03-01 12:50:20 -05:00
parent 053584c982
commit 6569cdbe14

View File

@ -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