Comment 6 for bug 990237

Revision history for this message
Chuck Short (zulcss) wrote : Re: libvirt get_console_output: 'instance_name' is not defined

** Impact **

When calling libvirt get_console_output with a pty I'm getting the following failure:

  File "/home/dprince/projects/nova/nova/virt/libvirt/connection.py", line 991, in get_console_output
    console_log = self._get_console_log_path(instance_name)
NameError: global name 'instance_name' is not defined

** Development Fix **

This has been fixed in the development trunk at https://review.openstack.org/6897 and in quantal.

** Stable fix **

This has been fixed in the stable/essex tree at https://review.openstack.org/7790.

** Test Case **

Run the following test cases:

     test_get_console_output_pty
     test_get_console_output_file

** Regression Potential **

None this fixes a traceback when running euca-get-console.