Hi Vilobh, Do we need to do something similar for a Swarm bay? Ton Ngo, From: Vilobh Meshram <vilobhmeshram.openstack at gmail.com> To: "OpenStack Development Mailing List (not for usage questions)" <openstack-dev at lists.openstack.org>, "OpenStack Mailing List (not for usage questions)" <openstack at lists.openstack.org> Date: 08/11/2015 08:50 PM Subject: [openstack-dev] [Magnum] Obtain the objects from the bay endpoint Hi All, As discussed in today's Magnum weekly meeting I had shown interest to work on [1]. Problem :- Currently objects (pod/rc/service) are read from the database. In order for native clients to work, they must be read from the ReST bay endpoint. To execute native clients, we must have one truth of the state of the system, not two as in its current state of art. sdake and I discussed about it on IRC and we plan to propose following solution :- Approach to solve the problem :- A] READ path needs to be changed : 1. For python clients :- python-magnum client->rest api->conductor->rest-endpoint-k8s-api handler In its present state of art this is python-magnum client->rest api->db 2. For native clients :- native client->rest-endpoint-k8s-api B] WRITE operations need to happen via the rest endpoint instead of the conductor. C] Another requirement that needs to be satisfied is that data returned by magnum should be the same whether its created by native client or python-magnum client. The fix will make sure all of the above conditions are met. Need your input on the proposed approach. -Vilobh [1] https://blueprints.launchpad.net/magnum/+spec/objects-from-bay __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150811/4bca060f/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: graycol.gif Type: image/gif Size: 105 bytes Desc: not available URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150811/4bca060f/attachment.gif>