From a99177834120e7a2c4592054f6a8b8736e0ffb92 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 11 Apr 2018 12:05:33 +0200 Subject: [PATCH] specs: require of e2fsprogs in ceph/ceph-container we've realized that `e2fsprogs` isn't installed in centos container image because ceph hasn't a dependency for it. It has for consequence to fail when deploying a containerized cluster with dmcrypt when using centos image. Typical error encountered: typical error: ``` ...... get_dm_uuid: get_dm_uuid /dev/sda uuid path is /sys/dev/block/8:0/dm/uuid get_dm_uuid: get_dm_uuid /dev/sda uuid path is /sys/dev/block/8:0/dm/uuid get_dm_uuid: get_dm_uuid /dev/sda5 uuid path is /sys/dev/block/8:5/dm/uuid populate: Creating lockbox fs on %s: mkfs -t ext4 /dev/sda5 command_check_call: Running command: /usr/sbin/mkfs -t ext4 /dev/sda5 mkfs.ext4: No such file or directory Traceback (most recent call last): File "/usr/sbin/ceph-disk", line 9, in load_entry_point('ceph-disk==1.0.0', 'console_scripts', 'ceph-disk')() ...... ``` Signed-off-by: Guillaume Abrioux --- ceph.spec.in | 1 + debian/control | 1 + 2 files changed, 2 insertions(+) diff --git a/ceph.spec.in b/ceph.spec.in index d4f4268ec4bdf..b733270932362 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -287,6 +287,7 @@ Requires: librgw2 = %{_epoch_prefix}%{version}-%{release} Requires: ceph-selinux = %{_epoch_prefix}%{version}-%{release} %endif Requires: cryptsetup +Requires: e2fsprogs Requires: findutils Requires: grep Requires: logrotate diff --git a/debian/control b/debian/control index 14e493bfed281..c12bf243b7703 100644 --- a/debian/control +++ b/debian/control @@ -92,6 +92,7 @@ Depends: binutils, ceph-common (= ${binary:Version}), cryptsetup-bin | cryptsetup, debianutils, + e2fsprogs, findutils, gdisk, grep, -- 2.39.5