← Back to team overview

openstack team mailing list archive

Re: OSAPI equivalent of euca-get-console-output ?

 

Right - I was looking for the simple equivalent to euca-get-console-output, i.e. something which calls compute_api.get_console_output().  

It seems to me that would be basic enough to qualify for /server/{id}/console-text or some such.    Xenapi not a problem for me - the current KVM support if fine ;-)

-----Original Message-----
From: Chris Behrens [mailto:chris.behrens@xxxxxxxxxxxxx] 
Sent: 21 October 2011 20:42
To: Jake Dahn
Cc: Chris Behrens; Day, Phil; openstack@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
>>> 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@xxxxxxxxxxxxxxxxxxx
>> 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.



References