diff options
| author | Chuck Short <chuck.short@canonical.com> | 2013-02-04 13:36:50 -0600 |
|---|---|---|
| committer | Chuck Short <chuck.short@canonical.com> | 2013-02-04 13:38:05 -0600 |
| commit | ccd252d383be74ce33eadb019ac1a7958ae2824d (patch) | |
| tree | f6903ccbdb6a9358436a8d78907a77c5cb57d609 /nova/openstack | |
| parent | 47bbf12a6c9705e5abca29a1d44b753c8506505d (diff) | |
| download | nova-ccd252d383be74ce33eadb019ac1a7958ae2824d.tar.gz nova-ccd252d383be74ce33eadb019ac1a7958ae2824d.tar.xz nova-ccd252d383be74ce33eadb019ac1a7958ae2824d.zip | |
lxc: virDomainGetVcpus is not supported by driver
virDomainGetVcpus is not supported by the libvirt lxc
driver, so it results in a nasty traceback. Trap the
error and return the number of vcpus.
Fixes LP: #1106960
Change-Id: I4e81dedad74ce3c58fcdf3ee064dfa0b9aa9a755
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
