ocata: senlin can not create lbaas listener

asked 2017-04-26 05:16:13 -0500

Tuan gravatar image

updated 2017-04-26 05:27:24 -0500

I try create lbaas policy like follow, https://docs.openstack.org/developer/...

My lbaas policy name is plbaas Then attach policy load balancer to cluster follow command:

'# senlin cluster-policy-attach -p plbaas -e True <cluster_name>

In senlin engine log, I got 400 bad request, there are have lbaas_id:

2017-04-26 16:44:27.909 3650 ERROR senlin.engine.event [req-2224b3d8-f677-4b07-8603-3ff0fc629427 - - - - -] ccluster [3c8d3267] CLUSTER_ATTACH_POLICY - error: Failed in creating lb listener: Bad Request. lb_id: 81f2dcf1-d0bb-4cd8-a57b-253a25e3046c, vip_proto: HTTP, port_proto: 80, conn_limit: 5000, admin_state: True

But I check neutron server log, there are have not lbaas id

2017-04-26 16:44:29.066 2487 DEBUG neutron.api.v2.base [req-4d553122-1cc6-424e-a44c-185d05d9d7ac - - - - -] Request body: {u'listener': {u'protocol': u'HTTP', u'admin_state_up': True, u'connection_limit': 5000, u'protocol_port': 80}} prepare_request_body /usr/lib/python2.7/site-packages/neutron/api/v2/base.py:690

2017-04-26 16:44:29.209 2487 INFO neutron.api.v2.resource [req-4d553122-1cc6-424e-a44c-185d05d9d7ac - - - - -] create failed (client error): The server could not comply with the request since it is either malformed or otherwise incorrect.

How can I fix this problem? Thank you so much

edit retag flag offensive close merge delete