[Openstack] [Nova] How To Print Console OutPut Dynamically

Jiang Jim jiangwt100 at gmail.com
Sun Apr 7 10:45:00 UTC 2013


I am a user of nova, I found that the console log nova output can just
refresh manually.
I think if i can see dynamic output, I will happy with that.
I found pty and file type in virt/libvirt/driver.py, file can just output
logs static, but I don't know how to use pty to output console dynamically.
I implement  a websocket server in the front just like the same novnc does.
And I code a module in nova.contrib to get host and path of console.log by
nova-api.

I have two choice now, one is to tail console.log in every compute node,
every instance will open a port.
Another is to do something with pty.

I am confused and in trouble,  I would be grateful if anyone could help me
about that.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130407/e51b70f4/attachment.html>


More information about the Openstack mailing list