[openstack-dev] How to access Guest via serial console?

Chengyuan Li chengyuanli at gmail.com
Wed May 15 10:07:33 UTC 2013


Hi,

The guest Linux launched by openstack doesn't have serial console device.
The "virsh console" returns error and "virsh ttyconsole" shows no device.

I tried to update the libvirt XML by "virsh edit", i.e. adding "<console
type='pty>'", but the changes can't be saved.

Does anybody know how to change openstack/nova configuration, then the
console device of Guest can be used?


sudo virsh ttyconsole instance-00000005

sudo virsh -c qemu:///system console instance-00000005
Connected to domain instance-00000005
Escape character is ^]
error: internal error character device (null) is not using a PTY



Regards,
CY.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130515/16ff863c/attachment.html>


More information about the OpenStack-dev mailing list