Re: [Openstack] OSAPI equivalent of euca-get-console-output ?

2011-11-05 Thread Ewan Mellor
@lists.launchpad.net [mailto:openstack-bounces+ewan.mellor=citrix@lists.launchpad.net] On Behalf Of Chris Behrens Sent: 21 October 2011 12:42 To: Jake Dahn Cc: openstack@lists.launchpad.net; Chris Behrens Subject: Re: [Openstack] OSAPI equivalent of euca-get-console-output ? Ah, I see

[Openstack] OSAPI equivalent of euca-get-console-output ?

2011-10-21 Thread Day, Phil
Hi Folks, The title says it all really - is there an OSAPI / nova-client equivalent to the EC2 command to get the console output of a VM ?(I can't see anything in the code or extensions which calls the relevant compute.api method) If there's nothing at the moment are there any plans for

Re: [Openstack] OSAPI equivalent of euca-get-console-output ?

2011-10-21 Thread Chris Behrens
For OSAPI: There's POST /version/project/servers/server_id/consoles to create a console Use GET to get consoles for that server_id Then you can use: GET /version/project/servers/server_id/consoles/console_id to get the detailed info. I don't think there's support for this in nova-client.

Re: [Openstack] OSAPI equivalent of euca-get-console-output ?

2011-10-21 Thread Glen Campbell
At Rackspace, we have developed an extension that returns the URL of a console via /servers/{id}/console. The issue for putting this in OSAPI core is that the implementation is highly specific to the console server software that you're running. Glen Campbell • Cloud 2.0 Architect

Re: [Openstack] OSAPI equivalent of euca-get-console-output ?

2011-10-21 Thread Jake Dahn
Chris, What is the output of the detailed info call? I'm actually working on an extension to get tailable console output, and I didn't see the request you mentioned anywhere in the api code. Correct me if I'm wrong, but - consoles.py talks to Consoles.API when i think to get the actual

Re: [Openstack] OSAPI equivalent of euca-get-console-output ?

2011-10-21 Thread Chris Behrens
Ah, I see. consoles.py is for getting info about VNC (or similar) console...ie: create console, get info on how to connect to the vnc console, etc. It doesn't appear compute_api.get_console_output() is exposed in OS API right now, which is what you want. Those compute_api console methods

Re: [Openstack] OSAPI equivalent of euca-get-console-output ?

2011-10-21 Thread Day, Phil
if fine ;-) -Original Message- From: Chris Behrens [mailto:chris.behr...@rackspace.com] Sent: 21 October 2011 20:42 To: Jake Dahn Cc: Chris Behrens; Day, Phil; openstack@lists.launchpad.net Subject: Re: [Openstack] OSAPI equivalent of euca-get-console-output ? Ah, I see. consoles.py