group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #00878
[Bug 1526655] Re: /etc/barbican/policy.json is missing from barbican package
This bug was fixed in the package barbican - 1:1.0.0-0ubuntu1.1
---------------
barbican (1:1.0.0-0ubuntu1.1) wily; urgency=medium
* d/barbican-api.install: Install missing policy.json (LP: #1526655).
* d/control: Add Recommends on python-pymysql (LP: #1526659).
* d/control: Add missing runtime dependency on uwsgi-plugin-python
(LP: #1526654).
* d/barbican-api.upstart.in: Provide full upstart configuration as
generation using openstack-pkg-tools is not supported for uwsgi
applications (LP: #1526654).
-- James Page <james.page@xxxxxxxxxx> Wed, 16 Dec 2015 14:38:09 +0000
** Changed in: barbican (Ubuntu Wily)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1526655
Title:
/etc/barbican/policy.json is missing from barbican package
Status in barbican package in Ubuntu:
Fix Released
Status in barbican source package in Wily:
Fix Released
Status in barbican source package in Xenial:
Fix Released
Bug description:
[Impact]
Unable to store secrets in a barbican deployment due to missing policy file.
[Test Case]
Install and configure barbican-api
Attempt to store secret
[Regression Potential]
Minimal, just including a missing conf file in the package barbican-api.
[Original Bug Report]
Package version 1:1.0.0-0ubuntu1~cloud0
Attempting to store a secret results in:
{address space usage: 184709120 bytes/176MB} {rss usage: 60383232 bytes/57MB} [pid: 13191|app: 0|req: 2/2] 10.5.17.29 () {26 vars in 308 bytes} [Wed Dec 16 08:02:14 2015] GET / => generated 349 bytes in 1 msecs (HTTP/1.1 300) 3 headers in 120 bytes (1 switches on core 0)
2015-12-16 08:02:32.754 13191 ERROR barbican.api.controllers [req-e702b11d-53c0-4f4f-93f7-63790ef3a347 93ea090b69a1473ca42ecae7135fefad 7f29e1638b0741d48b5f165debf06ea5 - 2c69724608b642fab66de0d6df0b6fc7 2c69724608b642fab66de0d6df0b6fc7] Secret creation failure seen - please contact site administrator.
2015-12-16 08:02:32.754 13191 ERROR barbican.api.controllers Traceback (most recent call last):
2015-12-16 08:02:32.754 13191 ERROR barbican.api.controllers File "/usr/lib/python2.7/dist-packages/barbican/api/controllers/__init__.py", line 104, in handler
2015-12-16 08:02:32.754 13191 ERROR barbican.api.controllers return fn(inst, *args, **kwargs)
2015-12-16 08:02:32.754 13191 ERROR barbican.api.controllers File "/usr/lib/python2.7/dist-packages/barbican/api/controllers/__init__.py", line 85, in enforcer
2015-12-16 08:02:32.754 13191 ERROR barbican.api.controllers _do_enforce_rbac(inst, pecan.request, action_name, ctx, **kwargs)
2015-12-16 08:02:32.754 13191 ERROR barbican.api.controllers File "/usr/lib/python2.7/dist-packages/barbican/api/controllers/__init__.py", line 68, in _do_enforce_rbac
2015-12-16 08:02:32.754 13191 ERROR barbican.api.controllers credentials, do_raise=True)
2015-12-16 08:02:32.754 13191 ERROR barbican.api.controllers File "/usr/lib/python2.7/dist-packages/oslo_policy/policy.py", line 488, in enforce
2015-12-16 08:02:32.754 13191 ERROR barbican.api.controllers self.load_rules()
2015-12-16 08:02:32.754 13191 ERROR barbican.api.controllers File "/usr/lib/python2.7/dist-packages/oslo_policy/policy.py", line 393, in load_rules
2015-12-16 08:02:32.754 13191 ERROR barbican.api.controllers self.policy_path = self._get_policy_path(self.policy_file)
2015-12-16 08:02:32.754 13191 ERROR barbican.api.controllers File "/usr/lib/python2.7/dist-packages/oslo_policy/policy.py", line 461, in _get_policy_path
2015-12-16 08:02:32.754 13191 ERROR barbican.api.controllers raise cfg.ConfigFilesNotFoundError((path,))
2015-12-16 08:02:32.754 13191 ERROR barbican.api.controllers ConfigFilesNotFoundError: Failed to find some config files: /etc/barbican/policy.json
2015-12-16 08:02:32.754 13191 ERROR barbican.api.controllers
2015-12-16 08:02:32.757 13191 INFO barbican.api.middleware.context [req-e702b11d-53c0-4f4f-93f7-63790ef3a347 93ea090b69a1473ca42ecae7135fefad 7f29e1638b0741d48b5f165debf06ea5 - 2c69724608b642fab66de0d6df0b6fc7 2c69724608b642fab66de0d6df0b6fc7] Processed request: 500 Internal Server Error - POST http://10.5.60.138:9311/v1/secrets/
{address space usage: 184709120 bytes/176MB} {rss usage: 60395520 bytes/57MB} [pid: 13191|app: 0|req: 3/3] 10.5.17.29 () {34 vars in 474 bytes} [Wed Dec 16 08:02:32 2015] POST /v1/secrets/ => generated 131 bytes in 52 msecs (HTTP/1.1 500) 4 headers in 191 bytes (1 switches on core 0)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/barbican/+bug/1526655/+subscriptions