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

Ewan Mellor Ewan.Mellor at eu.citrix.com
Sat Nov 5 06:18:59 UTC 2011


I've got xenapi text console support cooking at the moment -- give me a few days.  We added text console support in XS 6.0 for this very reason, so I just need to do the OpenStack side of it now.

Cheers,

Ewan.

> -----Original Message-----
> From: openstack-bounces+ewan.mellor=citrix.com at lists.launchpad.net
> [mailto:openstack-bounces+ewan.mellor=citrix.com at lists.launchpad.net]
> On Behalf Of Chris Behrens
> Sent: 21 October 2011 12:42
> To: Jake Dahn
> Cc: openstack at lists.launchpad.net; Chris Behrens
> Subject: Re: [Openstack] OSAPI equivalent of euca-get-console-output ?
> 
> 
> 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 are also currently not implemented for 'xenapi'.
> 
> - Chris
> 
> 
> On Oct 21, 2011, at 12:35 PM, Jake Dahn wrote:
> 
> > 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 output of things we need to talk to
> Compute.API if we want to get the actual output of a console and not
> just info about it.
> >
> >
> > On Oct 21, 2011, at 11:25 AM, Chris Behrens wrote:
> >
> >> 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.
> >>
> >> (Look at nova/api/openstack/consoles.py)
> >>
> >> - Chris
> >>
> >>
> >> On Oct 21, 2011, at 9:30 AM, Day, Phil wrote:
> >>
> >>> 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 adding in
> (seems like is should be a core server action rather that an extension)
> ?
> >>>
> >>> Thanks,
> >>> Phil
> >>> _______________________________________________
> >>> Mailing list: https://launchpad.net/~openstack
> >>> Post to     : openstack at lists.launchpad.net
> >>> Unsubscribe : https://launchpad.net/~openstack
> >>> More help   : https://help.launchpad.net/ListHelp
> >>
> >> This email may include confidential information. If you received it
> in error, please delete it.
> >>
> >>
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~openstack
> >> Post to     : openstack at lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~openstack
> >> More help   : https://help.launchpad.net/ListHelp
> >
> 
> This email may include confidential information. If you received it in
> error, please delete it.
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp




More information about the Openstack mailing list