]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume util.system do not 'translate' using realpath
authorAlfredo Deza <adeza@redhat.com>
Tue, 30 Jan 2018 14:22:19 +0000 (09:22 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 7 Feb 2018 14:45:23 +0000 (08:45 -0600)
commit520200ceea0070a1a14976d06befc72217ed438f
tree990ec860c4b9ec94040e78a7dd2c6d9a98ea1f89
parentabf21f28612c03ce82465b1bb816d477b07da702
ceph-volume util.system do not 'translate' using realpath

Using realpath always means that device mapper paths, like for dmcrypt
or LVM will get mangled and will return something like `/dev/dm-1` which
is not useful for anything in ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 469d01dc1aee8d6528944ef0acec58df868a9da7)
src/ceph-volume/ceph_volume/util/system.py