Thanks for the info, looks like this is xen only stuff, not sure whether this is needed for now or we can remove it remote_consoles seems related to some general console but not specific to xvp,
so https://review.openstack.org/459266 just for some info to api reader and if we are sure xen don't use it any more, we can remove it totally. Best Regards! Kevin (Chen) Ji 纪 晨 Engineer, zVM Development, CSTL Notes: Chen CH Ji/China/IBM@IBMCN Internet: [email protected] Phone: +86-10-82451493 Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, Beijing 100193, PRC From: Markus Zoeller <[email protected]> To: [email protected] Date: 04/21/2017 08:35 PM Subject: Re: [openstack-dev] [nova] about usage of /consoles On 21.04.2017 12:12, Chen CH Ji wrote: > > Per https://bugs.launchpad.net/nova/+bug/1682303 , POST with return 200 > while GET returns [] is weird > what's the purpose of /consoles? looks like > https://github.com/openstack/nova/blob/master/nova/console/rpcapi.py#L72 > will send a rpc message and which service is the reciever of this message > and handle it? Thanks > > Best Regards! > > Kevin (Chen) Ji 纪 晨 Looks like this API works for the "Xen VNC proxy" service only. The console manager triggers the console creation here: https://github.com/openstack/nova/blob/66c661258873e2544e286099c4bc027c26c851c4/nova/console/manager.py#L79 The XVPConsoleProxy implements it here: https://github.com/openstack/nova/blob/46b3a3ca1ac3a5ffdc7c5420263223f2d3b9a660/nova/console/xvp.py#L56-L58 Looks like that service runs with default Devstack settings as service "nova-xvpvncproxy": https://github.com/openstack-dev/devstack/blob/f3b2f4c85307b14f115a020f5eaf6c92026b55b4/lib/nova#L892-L892 The API microversion 2.6 introduced a consolidation of the remote consoles: https://github.com/openstack/nova/blob/3e032fd45be28c6098235ce336e675d03ebc6619/nova/api/openstack/compute/schemas/remote_consoles.py#L101-L102 Could it be that the "GET /console" API shouldn't be available anymore since microversion 2.6? api-ref about the consoles: https://developer.openstack.org/api-ref/compute/?expanded=get-vnc-console-os-getvncconsole-action-deprecated-detail,create-remote-console-detail -- Regards, Markus Zoeller (markus_z) __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
