Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
since we've switched to centos as default images it has revealed a bug during ceph-disk prepare operation when deploying with dmcrypt scenarios. 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')() ...... ``` mkfs.ext4 is not found because the package `e2fsprogs` isn't installed. It seems that ceph/ceph doesn't have a require for `e2fsprogs` so this commit is a workaround until we can get this fixed in ceph/ceph. (see: https://github.com/ceph/ceph/pull/21345/files) Since this impacts several distributions and the package name is the same for all, I've put this in `./src/daemon-base/__CEPH_BASE_PACKAGES__`. We could remove this when it will have been fixed in ceph/ceph. Signed-off-by: Guillaume Abrioux <[email protected]>
- Loading branch information