diff options
author | zhoudongshu <zhoudshu@gmail.com> | 2013-01-10 20:23:49 +0800 |
---|---|---|
committer | zhoudongshu <zhoudshu@gmail.com> | 2013-01-11 18:38:44 +0800 |
commit | 9d3f524c6926edfbff5f62308c8d582edcc7067f (patch) | |
tree | 646dcbb9d9f61aa81919fc09a19c7540880ebf47 /nova/exception.py | |
parent | 8143021bdb5ec10ea60a6613e29bdc9347701a04 (diff) | |
download | nova-9d3f524c6926edfbff5f62308c8d582edcc7067f.tar.gz nova-9d3f524c6926edfbff5f62308c8d582edcc7067f.tar.xz nova-9d3f524c6926edfbff5f62308c8d582edcc7067f.zip |
Correct the calculating of disk size when using lvm disk backend.
Currently, disk space size calculating in nova doesn't consider the
situation when lvm is used as disk backend. Thus both used and total
disk size are not correct when we use lvm to create instance. This
patch fixes this problem by using 'vgs' to get disk size in such case.
Fixes LP #1098116.
Change-Id: I0e86649cfde83a154d0a4c034ca52abe73384e73
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions