glance (next) identity-service-relation-changed hook fails when object-store not present
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| glance (Juju Charms Collection) |
High
|
James Page |
Bug Description
glance (next) identity-
I'm hitting this on 100% of o-c-t lxd/next.yaml test runs. It appears to be a race, because retrying later succeeds.
`juju resolved --retry glance/0` results in all-units ready and OK.
hook failed: "identity-
...
2016-01-19 02:45:13 INFO identity-
...
2016-01-19 02:45:13 ERROR juju.worker.
# juju stat
http://
# glance/0 status history
http://
# keystone/0 status history
http://
# glance unit
http://
2016-01-19 02:45:12 INFO worker.uniter.jujuc server.go:172 running hook tool "juju-log" ["-l" "DEBUG" "Generating template context for identity-service"]
2016-01-19 02:45:12 DEBUG worker.uniter.jujuc server.go:173 hook context id "glance/
2016-01-19 02:45:12 DEBUG juju-log identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO identity-
2016-01-19 02:45:13 INFO juju.worker.
2016-01-19 02:45:13 ERROR juju.worker.
2016-01-19 02:45:13 DEBUG juju.worker.uniter modes.go:31 [AGENT-STATUS] failed: run relation-changed (24; keystone/0) hook
2016-01-19 02:45:14 INFO juju.worker.uniter modes.go:569 ModeAbide exiting
2016-01-19 02:45:14 INFO juju.worker.uniter modes.go:567 ModeHookError starting
2016-01-19 02:45:14 DEBUG juju.worker.
2016-01-19 02:45:14 DEBUG juju.worker.
2016-01-19 02:45:14 DEBUG juju.worker.
2016-01-19 02:45:14 DEBUG juju.worker.uniter modes.go:31 [AGENT-STATUS] error: hook failed: "identity-
2016-01-19 02:45:14 DEBUG juju.worker.
2016-01-19 02:45:14 DEBUG juju.worker.
Related branches
- Ryan Beisner (community): Needs Fixing on 2016-01-21
- OpenStack Charmers: Pending requested 2016-01-21
-
Diff: 64 lines (+24/-16)1 file modifiedhooks/glance_utils.py (+24/-16)
- OpenStack Charmers: Pending requested 2016-01-21
-
Diff: 66 lines (+26/-16)1 file modifiedhooks/glance_utils.py (+26/-16)
description: | updated |
Ryan Beisner (1chb1n) wrote : | #1 |
Ryan Beisner (1chb1n) wrote : | #2 |
It looks like swift_temp_
http://
description: | updated |
description: | updated |
Changed in glance (Juju Charms Collection): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → James Page (james-page) |
milestone: | none → 16.01 |
Ryan Beisner (1chb1n) wrote : | #3 |
FYI - Exercising the next/lxd.yaml bundle, substituting James' proposed glance/next branch...
Ryan Beisner (1chb1n) wrote : | #4 |
Proposed glance/next errors out on:
AttributeError: 'module' object has no attribute 'exceptions'
...
2016-01-21 18:27:57 INFO identity-
2016-01-21 18:27:57 INFO identity-
2016-01-21 18:27:57 INFO identity-
2016-01-21 18:27:57 INFO identity-
2016-01-21 18:27:57 INFO identity-
2016-01-21 18:27:57 INFO identity-
2016-01-21 18:27:57 INFO identity-
2016-01-21 18:27:57 INFO identity-
2016-01-21 18:27:57 INFO identity-
2016-01-21 18:27:57 INFO identity-
2016-01-21 18:27:57 INFO identity-
2016-01-21 18:27:57 INFO identity-
2016-01-21 18:27:57 INFO identity-
2016-01-21 18:27:57 INFO identity-
2016-01-21 18:27:57 INFO identity-
2016-01-21 18:27:57 INFO identity-
2016-01-21 18:27:57 INFO identity-
2016-01-21 18:27:57 INFO identity-
2016-01-21 18:27:57 ERROR juju.worker.
ubuntu@
Lightweight checkout (format: 2a)
Location:
light checkout root: wily/glance
checkout of branch: bzr+ssh:
shared repository: bzr+ssh:
...
Ryan Beisner (1chb1n) wrote : | #5 |
FYI, see my piggy-back which includes these changes and resolves the import error.
https:/
...
glance/0 active idle 1.25.3 2 9292/tcp 172.18.99.102 Unit is ready
...
James Page (james-page) wrote : | #6 |
Ryan
Thanks for fixing my bad code - landed into next!
Changed in glance (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
tags: | added: openstack |
Changed in glance (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
I've substituted the stable glance charm in the o-c-t lxd/next.yaml, and it deploys consistently and successfully. Something in glance/next appears to be causing this.