keystone db accessed before ready
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
keystone (Juju Charms Collection) |
Fix Released
|
High
|
Edward Hope-Morley |
Bug Description
juju deploy keystone is failing at config-change
ubuntu@
environment: maas
machines:
"1":
agent-state: started
agent-version: 1.20.14
dns-name: instructive-
instance-id: /MAAS/api/
series: trusty
hardware: arch=armhf cpu-cores=4 mem=6656M
services:
keystone:
charm: cs:trusty/
exposed: false
relations:
cluster:
- keystone
units:
keystone/0:
machine: "1"
networks:
maas-eth1:
provider-id: maas-eth1
cidr: 10.10.2.0/24
ubuntu@
/var/log/
http://
juju resolved keystone/0 bring the agents into start mode and after that it works.
Related branches
- Billy Olsen: Approve
- OpenStack Charmers: Pending requested
-
Diff: 36 lines (+12/-0)2 files modifiedhooks/keystone_utils.py (+5/-0)
unit_tests/test_keystone_utils.py (+7/-0)
no longer affects: | openstack-charm-testing |
Changed in keystone (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in keystone (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
I'm seeing the same issue deploying to pre-installed 14.10.1 hosts using a "manual" juju environment.
After running "juju resolved keystone/0" the service shows started in juju status, however running juju add-relation keystone mysql fails and sets the agent-state of keystone to error, with an agent-state-info of 'hook failed: "shared- db-relation- changed" for mysql:shared-db'.