Use df instead of findmnt in cephstorage upgrade scripts
authorGiulio Fidente <gfidente@redhat.com>
Mon, 12 Dec 2016 21:37:48 +0000 (22:37 +0100)
committerGiulio Fidente <gfidente@redhat.com>
Mon, 12 Dec 2016 21:37:48 +0000 (22:37 +0100)
commit623c24978294d86513180cf0419536eb30547a2f
treebb50c4bda47a47b6cd027bc94d0a816c5a01bc1c
parent326fb47bfa3b26d191152cd659d76051faf771e3
Use df instead of findmnt in cephstorage upgrade scripts

There are scenarios in which findmnt will return a list of all
mounted filesystems, which causes the upgrade script to fail in
recognizing if the Ceph OSD is backed by ext4.

Change-Id: Iadebdc32b523c05216202b782ceb54bec4389413
Closes-Bug: #1649407
extraconfig/tasks/major_upgrade_ceph_storage.sh