?So that is the right URL for the statuses call. As I understand the issue the statuses call is correctly changing the operating status to DISABLED correct?
The problem is when you do an operationg on a loadbalancer and admin_state_up = False. In that case the body returned for those operationgs (POST, PUT, GET) should show operating status as DISABLED, and it is not. This is a bug, and I believe it would be quite simple to fix. You won't need to call the statuses method as that is just the method that is called when the /statuses resource is called. The create_loadbalancer, get_loadbalancer, get_loadbalancers, and update_loadbalancer methods will just need to change the operating_status to DISABLED if admin_state_up is False. Should be a very simple change actually. Let me know if I am articulating the problem correctly. Thanks, Brandon ________________________________ From: Madhusudhan Kandadai <madhusudhan.openst...@gmail.com> Sent: Tuesday, April 28, 2015 3:23 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Neutron Lbaas v2 not showing operating_status as inactive Hi Anand, There is an api which calls 'statuses' method.. I could see the status 'DISABLED' in: GET /lbaas/loadbalancers/loadbalancer_id/statuses. Maybe we need to correct the doc to reflect the right URL to avoid confusion. If that is the right API call, I shall update the bug and mark it as fixed. Regards, Madhu On Tue, Apr 28, 2015 at 12:28 PM, Anand shanmugam <anand1...@outlook.com<mailto:anand1...@outlook.com>> wrote: Hi , I am working on the bug https://bugs.launchpad.net/neutron/+bug/1449286 In this bug the admin_state_up is made to false when creating a lbaas v2 loadbalancer.The operating_state should become DISABLED for the created loadbalancer but it is showing as online. I can see that there is a method "statuses" which takes care of disabling the opensrting_status ( https://github.com/openstack/neutron-lbaas/blob/master/neutron_lbaas/services/loadbalancer/plugin.py#L971) but I cannot find the method which will call this 'satuses' method. I feel this statuses method is not called at all when creating or updating a loadbalancer.Could someone please help me if there is any other api to call this method? Regards, Anand S __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe<http://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