Re: [Openstack] OSAPI equivalent of euca-get-console-output ?
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@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. 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@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@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@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] OSAPI equivalent of euca-get-console-output ?
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@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] OSAPI equivalent of euca-get-console-output ?
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@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@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] OSAPI equivalent of euca-get-console-output ?
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 glen.campb...@rackspace.commailto:glen.campb...@rackspace.com • (210) 446-9990 On Oct 21, 2011, at 11: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@lists.launchpad.netmailto:openstack@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@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] OSAPI equivalent of euca-get-console-output ?
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@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@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
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@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@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@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] 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.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 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@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@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@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp