diff options
| author | Chuck Short <zulcss@ubuntu.com> | 2011-03-17 07:13:31 -0400 |
|---|---|---|
| committer | Chuck Short <zulcss@ubuntu.com> | 2011-03-17 07:13:31 -0400 |
| commit | 7701edd34f1fc9fa26b3dfcc77ff87018622bedc (patch) | |
| tree | 4d69ddb99a14bc2fa38c9c766a5211828eafd3b6 | |
| parent | 7f837b1f22922cb968b0ffb42bdb4d56c0d9f3c3 (diff) | |
| download | nova-7701edd34f1fc9fa26b3dfcc77ff87018622bedc.tar.gz nova-7701edd34f1fc9fa26b3dfcc77ff87018622bedc.tar.xz nova-7701edd34f1fc9fa26b3dfcc77ff87018622bedc.zip | |
get_console_output is not supported by lxc and libvirt
| -rw-r--r-- | nova/virt/libvirt_conn.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nova/virt/libvirt_conn.py b/nova/virt/libvirt_conn.py index d08ca8b6a..9bfd3f841 100644 --- a/nova/virt/libvirt_conn.py +++ b/nova/virt/libvirt_conn.py @@ -490,6 +490,9 @@ class LibvirtConnection(object): instance['name']) data = self._flush_xen_console(virsh_output) fpath = self._append_to_file(data, console_log) + elif FLAGS.libvirt_type == 'lxc': + # LXC is also special + LOG.info(_("Unable to read LXC console")) else: fpath = console_log |
