diff options
author | Andrew Schoen <aschoen@redhat.com> | 2018-06-19 21:34:57 +0200 |
---|---|---|
committer | Andrew Schoen <aschoen@redhat.com> | 2018-06-19 21:34:57 +0200 |
commit | d622dadef09a53d24c6a7b9119051594f8da1cae (patch) | |
tree | a8b7901784c3271d4f0cfbb3a7d5896bdb2c8370 /src/ceph-volume/ceph_volume/devices/lvm/prepare.py | |
parent | Merge pull request #22509 from taodd/osdc-optimize (diff) | |
download | ceph-d622dadef09a53d24c6a7b9119051594f8da1cae.tar.xz ceph-d622dadef09a53d24c6a7b9119051594f8da1cae.zip |
lvm: when osd creation fails log the exception
Fixes: http://tracker.ceph.com/issues/24456
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Diffstat (limited to 'src/ceph-volume/ceph_volume/devices/lvm/prepare.py')
-rw-r--r-- | src/ceph-volume/ceph_volume/devices/lvm/prepare.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ceph-volume/ceph_volume/devices/lvm/prepare.py b/src/ceph-volume/ceph_volume/devices/lvm/prepare.py index c8438ff8c96..824a7c95936 100644 --- a/src/ceph-volume/ceph_volume/devices/lvm/prepare.py +++ b/src/ceph-volume/ceph_volume/devices/lvm/prepare.py @@ -215,7 +215,7 @@ class Prepare(object): try: self.prepare(args) except Exception: - logger.error('lvm prepare was unable to complete') + logger.exception('lvm prepare was unable to complete') logger.info('will rollback OSD ID creation') rollback_osd(args, self.osd_id) raise |