uses barbican to support SSL for neutron-lbaas

asked 2017-06-26 06:09:47 -0600

simon wang gravatar image

I've installed barbican and integrated keystone, can manage the certificate through the python-barbicanclient, but when i create LBaaS on netron-lbaas-dashboard and selected "TERMINATED_HTTPS" protocol, selected the certificate has been created, i got a message below:

2017-06-26 17:08:07.014 4683 ERROR barbican.api.controllers [req-b292d9ff-46a8-45c2-8904-d9d04f69ea8d 54c517c13c2441eea174074302f5d422 - - default default] Webob error seen: HTTPForbidden: Not Allowed. Sorry, only the creator of a consumer can delete it. 2017-06-26 17:08:07.014 4683 ERROR barbican.api.controllers Traceback (most recent call last): 2017-06-26 17:08:07.014 4683 ERROR barbican.api.controllers File "/opt/barbican/barbican/api/controllers/__init__.py", line 103, in handler 2017-06-26 17:08:07.014 4683 ERROR barbican.api.controllers return fn(inst, args, *kwargs) 2017-06-26 17:08:07.014 4683 ERROR barbican.api.controllers File "/opt/barbican/barbican/api/controllers/__init__.py", line 89, in enforcer 2017-06-26 17:08:07.014 4683 ERROR barbican.api.controllers return fn(inst, args, *kwargs) 2017-06-26 17:08:07.014 4683 ERROR barbican.api.controllers File "/opt/barbican/barbican/api/controllers/__init__.py", line 155, in content_types_enforcer 2017-06-26 17:08:07.014 4683 ERROR barbican.api.controllers return fn(inst, args, *kwargs) 2017-06-26 17:08:07.014 4683 ERROR barbican.api.controllers File "/opt/barbican/barbican/api/controllers/consumers.py", line 180, in on_delete 2017-06-26 17:08:07.014 4683 ERROR barbican.api.controllers _consumer_ownership_mismatch() 2017-06-26 17:08:07.014 4683 ERROR barbican.api.controllers File "/opt/barbican/barbican/api/controllers/consumers.py", line 38, in _consumer_ownership_mismatch 2017-06-26 17:08:07.014 4683 ERROR barbican.api.controllers pecan.abort(403, u._('Not Allowed. Sorry, only the creator of a consumer ' 2017-06-26 17:08:07.014 4683 ERROR barbican.api.controllers File "/usr/lib/python2.7/site-packages/pecan/core.py", line 138, in abort 2017-06-26 17:08:07.014 4683 ERROR barbican.api.controllers exec('raise webob_exception, None, traceback') 2017-06-26 17:08:07.014 4683 ERROR barbican.api.controllers File "<string>", line 1, in <module> 2017-06-26 17:08:07.014 4683 ERROR barbican.api.controllers HTTPForbidden: Not Allowed. Sorry, only the creator of a consumer can delete it. 2017-06-26 17:08:07.014 4683 ERROR barbican.api.controllers 2017-06-26 17:08:07.017 4683 INFO barbican.api.middleware.context [req-b292d9ff-46a8-45c2-8904-d9d04f69ea8d 54c517c13c2441eea174074302f5d422 - - default default] Processed request: 403 Forbidden - DELETE http://172.16.51.131:9311/v1/containers/f4c84ded-12d7-4a59-b945-325d3dce4aab/consumers (http://172.16.51.131:9311/v1/containe...) {address space usage: 361541632 bytes/344MB} {rss usage: 91009024 bytes/86MB} [pid: 4683|app: 0|req: 200/200] 172.16.51.129 () {34 vars in 613 bytes} [Mon Jun 26 17:08:06 2017] DELETE /v1/containers/f4c84ded-12d7-4a59-b945-325d3dce4aab/consumers => generated 119 bytes in 50 msecs (HTTP/1.1 403) 4 headers in 164 bytes (1 switches on core 0)</module></string>

i can understand the meaning of this ERROR INFO,but how to create the consumer and who should have done this?

from "https://developer.openstack.org/api-guide/key-manager/consumers.html", a simple guide for me,bug i have a question,such as following ... (more)

edit retag flag offensive close merge delete