Re: [openstack-dev] [nova] API for getting connection info from console token

2015-08-17 Thread Radoslav Gerganov

FYI, I have filed a bug to track this:

https://bugs.launchpad.net/nova/+bug/1485529

It'd be really nice to fix this in the L release.

Thanks,
Rado

On  4.08.2015 14:18, Radoslav Gerganov wrote:

There is an API (os-console-auth-tokens) which returns the connection
info which correspond to a given console token.  However this API works
only for RDP consoles:

https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_nova_blob_master_nova_api_openstack_compute_plugins_v3_console-5Fauth-5Ftokens.py-23L49d=BQICAgc=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEsr=h6VMsoP9gXKqcB9YSgf6Ulb3sLQs54a0wyrIaBfgTycm=FATeZ0i_z3wTCwBbjWhupJ0uwMfYUxD1pebEQ39ASCEs=gqOn9k4HiCz1jD3LZxlMZrAQFcL57Euqh3cZkaZ5XHke=

Why do we have this restriction?  We need the same API for MKS consoles
as well.  I have posted the following patch:

https://review.openstack.org/#/c/208998/

but I'd prefer to remove the type check altogether and make it work for
all types of consoles.  I don't see any reason to restrict the API only
for certain types of VM consoles.  What do you think?

Thanks,
Rado

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [nova] API for getting connection info from console token

2015-08-04 Thread Radoslav Gerganov
There is an API (os-console-auth-tokens) which returns the connection 
info which correspond to a given console token.  However this API works 
only for RDP consoles:


https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/plugins/v3/console_auth_tokens.py#L49

Why do we have this restriction?  We need the same API for MKS consoles 
as well.  I have posted the following patch:


https://review.openstack.org/#/c/208998/

but I'd prefer to remove the type check altogether and make it work for 
all types of consoles.  I don't see any reason to restrict the API only 
for certain types of VM consoles.  What do you think?


Thanks,
Rado

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev