Comment 0 for bug 1733107

Revision history for this message
Michel Nederlof (mnederlof) wrote : LBaaSv2 API output incomplete

1. When running 'neutron lbaas-loadbalancer-show', the listener property output is incorrect.

Currently it is like { ... , 'listener': ['<uuid>'], ...}
While it should be like { ... , 'listener': [{'id': '<uuid>'}], ... }

this causes automation tools like kubernetes to fail when cleaning up loadbancers of contrail

For example see this bug (which was fixed after changing the output like above):
https://github.com/kubernetes/kubernetes/issues/54864#issuecomment-344455078

2. The provider (as lbaas-loadbalancer attribute) is not returned through the neutron API. If not set i'd opt to return a default provider value ('opencontrail'), as also used when creating the loadbalancer resource.

3. In the output of 'neutron lbaas-listener-show' the field 'default_pool_id' is missing, causing the LBAASv2 dashboards to render incomplete (since the reference to the pool is missing from the listener page).
I'd say we use the first pool referenced in the listener (similar to referencing the loadbalancer).

I will provide patches for these issues.