With SSL, install hook fails: KeyError: 'getpwnam(): name not found: juju_keystone'
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | keystone (Juju Charms Collection) |
High
|
David Della Vecchia | ||
Bug Description
SSL testing (all targets, but this is from Trusty-
KeyError: 'getpwnam(): name not found: juju_keystone'
2015-10-16 01:34:04 INFO juju-log Making dir /etc/apache2/
2015-10-16 01:34:04 INFO install Traceback (most recent call last):
2015-10-16 01:34:04 INFO install File "/var/lib/
2015-10-16 01:34:04 INFO install main()
2015-10-16 01:34:04 INFO install File "/var/lib/
2015-10-16 01:34:04 INFO install charm_func=
2015-10-16 01:34:04 INFO install File "/var/lib/
2015-10-16 01:34:04 INFO install incomplete_rel_data = incomplete_
2015-10-16 01:34:04 INFO install File "/var/lib/
2015-10-16 01:34:04 INFO install complete_ctxts = configs.
2015-10-16 01:34:04 INFO install File "/var/lib/
2015-10-16 01:34:04 INFO install for i in six.itervalues(
2015-10-16 01:34:04 INFO install File "/var/lib/
2015-10-16 01:34:04 INFO install self.context()
2015-10-16 01:34:04 INFO install File "/var/lib/
2015-10-16 01:34:04 INFO install _ctxt = context()
2015-10-16 01:34:04 INFO install File "/var/lib/
2015-10-16 01:34:04 INFO install ret = super(ApacheSSL
2015-10-16 01:34:04 INFO install File "/var/lib/
2015-10-16 01:34:04 INFO install self.configure_
2015-10-16 01:34:04 INFO install File "/var/lib/
2015-10-16 01:34:04 INFO install mkdir(path=ssl_dir, owner=SSH_USER, group='keystone', perms=perms)
2015-10-16 01:34:04 INFO install File "/var/lib/
2015-10-16 01:34:04 INFO install uid = pwd.getpwnam(
2015-10-16 01:34:04 INFO install KeyError: 'getpwnam(): name not found: juju_keystone'
More detail @:
http://
mojo_runner #1115 specs/full_
http://
Related branches
- David Ames: Approve on 2015-10-20
- Corey Bryant: Pending requested 2015-10-19
-
Diff: 52 lines (+9/-2)2 files modifiedhooks/keystone_hooks.py (+3/-0)
unit_tests/test_keystone_hooks.py (+6/-2)
| summary: |
- KeyError: 'getpwnam(): name not found: juju_keystone' + With SSL, install hook fails: KeyError: 'getpwnam(): name not found: + juju_keystone' |
| Changed in keystone (Juju Charms Collection): | |
| status: | New → Confirmed |
| importance: | Undecided → High |
| assignee: | nobody → David Della Vecchia (ddellav) |
| milestone: | none → 15.10 |
| status: | Confirmed → Fix Committed |
| Changed in keystone (Juju Charms Collection): | |
| status: | Fix Committed → Fix Released |
