openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #22465
Re: [Nova] How To Print Console OutPut Dynamically
I may be thinking totally wrong but I think that if you want to do a small
hack which calls the same method/api (every x seconds) which is called to
display the console log message on horizon dash. But I cant say this will
work or even if this does, whether it is a good hack or not.
Regards,
Pranav
On Sun, Apr 7, 2013 at 4:15 PM, Jiang Jim <jiangwt100@xxxxxxxxx> wrote:
> 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.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
>
References