Public bug reported:

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)

** Affects: barbican (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1526655

Title:
  /etc/barbican/policy.json is missing from barbican package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/barbican/+bug/1526655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to