Code review comment for lp:~zulcss/nova/lxc

Revision history for this message
Chuck Short (zulcss) wrote :

> ${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests
> ======================================================================
> FAIL: nova.tests.virt.lxc.test_driver.LXCDriverTestCase.test_get_host_stats
> tags: worker-0
> ----------------------------------------------------------------------
> Empty attachments:
> pythonlogging:''
> stderr
> stdout
>
> Traceback (most recent call last):
> File "/«PKGBUILDDIR»/nova/tests/virt/lxc/test_driver.py", line 123, in
> test_get_host_stats
> host_stats = self.lxc_connection.get_host_stats()
> File "/«PKGBUILDDIR»/nova/virt/lxc/driver.py", line 145, in get_host_stats
> return self.hostops.get_host_stats(refresh)
> File "/«PKGBUILDDIR»/nova/virt/lxc/hostops.py", line 43, in get_host_stats
> self._update_stats()
> File "/«PKGBUILDDIR»/nova/virt/lxc/hostops.py", line 69, in _update_stats
> disk = self._get_disk_info()
> File "/«PKGBUILDDIR»/nova/virt/lxc/hostops.py", line 110, in _get_disk_info
> hddinfo = os.statvfs(CONF.lxc_path)
> OSError: [Errno 2] No such file or directory: '/var/lib/lxc'

Fixed

« Back to merge proposal