glance charm fails to install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glance (Juju Charms Collection) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The current version of glance on the charm-store is broken.
It is possibly related to incompatible changes in charmhelpers.
Here is the trace when hooks/ceph-
glance/
Reading package lists... Done
Building dependency tree
Reading state information... Done
Traceback (most recent call last):
File "hooks/
hooks.
File "/var/lib/
self.
File "/var/lib/
f(*args)
File "hooks/
if 'ceph' not in CONFIGS.
File "/var/lib/
for i in self.templates.
File "/var/lib/
self.context()
File "/var/lib/
_ctxt = context()
File "/var/lib/
key="key"):
File "/var/lib/
res = func(*args, **kwargs)
TypeError: is_relation_made() got an unexpected keyword argument 'key'
Changed in glance (Juju Charms Collection): | |
status: | New → Fix Released |
I received a very similar error and it is the last revision change that has made the difference. We were not deploying with Ceph and the error I received was during the identity service configuration as follows:
2013-11-06 15:50:48 INFO juju juju-log.go:66 glance/0: Generating template context for amqp 0:config- changed: 744555700429057 9098"; dir "/var/lib/ juju/agents/ unit-glance- 0/charm" 0:config- changed: 744555700429057 9098"; dir "/var/lib/ juju/agents/ unit-glance- 0/charm" 0:config- changed: 744555700429057 9098"; dir "/var/lib/ juju/agents/ unit-glance- 0/charm" uniter. filter filter.go:314 got unit change juju/agents/ unit-glance- 0/charm/ hooks/config- changed" , line 332, in <module> sys.argv) juju/agents/ unit-glance- 0/charm/ hooks/charmhelp ers/core/ hookenv. py", line 375, in execute hook_name] () juju/agents/ unit-glance- 0/charm/ hooks/charmhelp ers/core/ host.py" , line 217, in wrapped_f juju/agents/ unit-glance- 0/charm/ hooks/config- changed" , line 217, in config_changed juju/agents/ unit-glance- 0/charm/ hooks/config- changed" , line 302, in configure_https juju/agents/ unit-glance- 0/charm/ hooks/charmhelp ers/contrib/ openstack/ templating. py", line 262, in write_all iterkeys( )] juju/agents/ unit-glance- 0/charm/ hooks/charmhelp ers/contrib/ openstack/ templating. ...
2013-11-06 15:50:48 INFO worker.uniter.jujuc server.go:108 running hook tool "config-get" ["--format=json"]
2013-11-06 15:50:48 DEBUG worker.uniter.jujuc server.go:109 hook context id "glance/
2013-11-06 15:50:48 INFO worker.uniter.jujuc server.go:108 running hook tool "relation-ids" ["--format=json" "amqp"]
2013-11-06 15:50:48 DEBUG worker.uniter.jujuc server.go:109 hook context id "glance/
2013-11-06 15:50:48 INFO worker.uniter.jujuc server.go:108 running hook tool "juju-log" ["Generating template context for identity-service"]
2013-11-06 15:50:48 DEBUG worker.uniter.jujuc server.go:109 hook context id "glance/
2013-11-06 15:50:48 INFO juju juju-log.go:66 glance/0: Generating template context for identity-service
2013-11-06 15:50:48 DEBUG juju.worker.
2013-11-06 15:50:48 INFO juju.worker.uniter context.go:255 HOOK Traceback (most recent call last):
2013-11-06 15:50:48 INFO juju.worker.uniter context.go:255 HOOK File "/var/lib/
2013-11-06 15:50:48 INFO juju.worker.uniter context.go:255 HOOK hooks.execute(
2013-11-06 15:50:48 INFO juju.worker.uniter context.go:255 HOOK File "/var/lib/
2013-11-06 15:50:48 INFO juju.worker.uniter context.go:255 HOOK self._hooks[
2013-11-06 15:50:48 INFO juju.worker.uniter context.go:255 HOOK File "/var/lib/
2013-11-06 15:50:48 INFO juju.worker.uniter context.go:255 HOOK f(*args)
2013-11-06 15:50:48 INFO juju.worker.uniter context.go:255 HOOK File "/var/lib/
2013-11-06 15:50:48 INFO juju.worker.uniter context.go:255 HOOK configure_https()
2013-11-06 15:50:48 INFO juju.worker.uniter context.go:255 HOOK File "/var/lib/
2013-11-06 15:50:48 INFO juju.worker.uniter context.go:255 HOOK CONFIGS.write_all()
2013-11-06 15:50:48 INFO juju.worker.uniter context.go:255 HOOK File "/var/lib/
2013-11-06 15:50:48 INFO juju.worker.uniter context.go:255 HOOK [self.write(k) for k in self.templates.
2013-11-06 15:50:48 INFO juju.worker.uniter context.go:255 HOOK File "/var/lib/