Keystone charm version 276.
Keystone is failing on a 'cluster-relation-changed" hook in a Pike cloud with the following:
2018-03-27 21:33:12 DEBUG juju-log cluster:22: Running ensure-pki-permissions
2018-03-27 21:33:12 DEBUG cluster-relation-changed Traceback (most recent call last):
2018-03-27 21:33:12 DEBUG cluster-relation-changed File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/cluster-relation-changed", line 880, in <module>
2018-03-27 21:33:12 DEBUG cluster-relation-changed main()
2018-03-27 21:33:12 DEBUG cluster-relation-changed File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/cluster-relation-changed", line 873, in main
2018-03-27 21:33:12 DEBUG cluster-relation-changed hooks.execute(sys.argv)
2018-03-27 21:33:12 DEBUG cluster-relation-changed File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/charmhelpers/core/hookenv.py", line 800, in execute
2018-03-27 21:33:12 DEBUG cluster-relation-changed self._hooks[hook_name]()
2018-03-27 21:33:12 DEBUG cluster-relation-changed File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/charmhelpers/contrib/openstack/utils.py", line 1449, in wrapped_f
2018-03-27 21:33:12 DEBUG cluster-relation-changed restart_functions)
2018-03-27 21:33:12 DEBUG cluster-relation-changed File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/charmhelpers/core/host.py", line 730, in restart_on_change_helper
2018-03-27 21:33:12 DEBUG cluster-relation-changed r = lambda_f()
2018-03-27 21:33:12 DEBUG cluster-relation-changed File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/charmhelpers/contrib/openstack/utils.py", line 1448, in <lambda>
2018-03-27 21:33:12 DEBUG cluster-relation-changed (lambda: f(*args, **kwargs)), restart_map, stopstart,
2018-03-27 21:33:12 DEBUG cluster-relation-changed File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/keystone_utils.py", line 1650, in _inner_update_certs_if_available
2018-03-27 21:33:12 DEBUG cluster-relation-changed return f(*args, **kwargs)
2018-03-27 21:33:12 DEBUG cluster-relation-changed File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/cluster-relation-changed", line 599, in cluster_changed
2018-03-27 21:33:12 DEBUG cluster-relation-changed check_peer_actions()
2018-03-27 21:33:12 DEBUG cluster-relation-changed File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/keystone_utils.py", line 1394, in check_peer_actions
2018-03-27 21:33:12 DEBUG cluster-relation-changed ensure_pki_dir_permissions()
2018-03-27 21:33:12 DEBUG cluster-relation-changed File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/keystone_utils.py", line 1624, in ensure_pki_dir_permissions
2018-03-27 21:33:12 DEBUG cluster-relation-changed perms=0o775, recurse=True)
2018-03-27 21:33:12 DEBUG cluster-relation-changed File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/keystone_utils.py", line 1337, in ensure_permissions
2018-03-27 21:33:12 DEBUG cluster-relation-changed os.chown(path, uid, gid)
2018-03-27 21:33:12 DEBUG cluster-relation-changed OSError: [Errno 2] No such file or directory: '/var/lib/keystone/juju_ssl/pki'
2018-03-27 21:33:12 ERROR juju.worker.uniter.operation runhook.go:113 hook "cluster-relation-changed" failed: exit status 1
Keystone config:
charm: cs:xenial/keystone
num_units: 3
bindings:
"": *oam-space
public: *public-space
admin: *admin-space
internal: *internal-space
shared-db: *internal-space
options:
worker-multiplier: *worker-multiplier
openstack-origin: cloud:xenial-pike
vip: *keystone-vip
region: *openstack-region
preferred-api-version: 3
#admin-password: openstack
ssl_ca: *ssl_ca
ssl_cert: *ssl_cert
ssl_key: *ssl_key
os-public-hostname: *hostname_keystone_public
Hey Michael, would you be able to supply me with a juju crashdump, https:/ /github. com/juju/ juju-crashdump?? I'll take a look at this shortly after. thanks!