specs: require of e2fsprogs
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 11 Apr 2018 10:05:33 +0000 (12:05 +0200)
committerAlfredo Deza <adeza@redhat.com>
Thu, 18 Oct 2018 14:20:59 +0000 (11:20 -0300)
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 <module>
    load_entry_point('ceph-disk==1.0.0', 'console_scripts', 'ceph-disk')()
......
```

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit a99177834120e7a2c4592054f6a8b8736e0ffb92)

debian/control

index 85c79a2feac9b3b09bc60aa1090ea69aeca32c63..f6c953851492d048d77f044f0a85f98b83168c2a 100644 (file)
@@ -88,6 +88,7 @@ Depends: binutils,
          ceph-common (= ${binary:Version}),
          cryptsetup-bin | cryptsetup,
          debianutils,
+         e2fsprogs,
          findutils,
          gdisk,
          grep,