]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
specs: require of e2fsprogs 21345/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 11 Apr 2018 10:05:33 +0000 (12:05 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 11 Apr 2018 17:22:10 +0000 (19:22 +0200)
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>
ceph.spec.in
debian/control

index d4f4268ec4bdfa20ad16abd7748274fadc25d028..b733270932362f759a509892178662b5334933d2 100644 (file)
@@ -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
index 14e493bfed28101ace547f73ea9ad875fbc85447..c12bf243b7703e72659c9fa7cd73e500316c0726 100644 (file)
@@ -92,6 +92,7 @@ Depends: binutils,
          ceph-common (= ${binary:Version}),
          cryptsetup-bin | cryptsetup,
          debianutils,
+         e2fsprogs,
          findutils,
          gdisk,
          grep,