relation to k8s-master via credentials from integrator fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Openstack Integrator Charm |
Fix Released
|
Undecided
|
Cory Johns |
Bug Description
When configuring openstack integrator to pass keystone credentials from the underlying cloud to kubernetes-master fails.
Configed with
```
juju add-relations kubernetes-
```
The charm error with:
```
2021-02-19 15:33:23 DEBUG jujuc server.go:211 running hook tool "juju-log" for openstack-
2021-02-19 15:33:23 INFO juju-log credentials:34: Invoking reactive handler: hooks/relations
2021-02-19 15:33:23 DEBUG jujuc server.go:211 running hook tool "juju-log" for openstack-
2021-02-19 15:33:23 ERROR juju-log credentials:34: Hook error:
Traceback (most recent call last):
File "/var/lib/
bus.
File "/var/lib/
_invoke(
File "/var/lib/
handler.
File "/var/lib/
self.
File "/var/lib/
self.
AttributeError: 'KeystoneProvides' object has no attribute 'set_flag'
2021-02-19 15:33:23 WARNING credentials-
2021-02-19 15:33:23 WARNING credentials-
2021-02-19 15:33:23 WARNING credentials-
2021-02-19 15:33:23 WARNING credentials-
2021-02-19 15:33:23 WARNING credentials-
2021-02-19 15:33:23 WARNING credentials-
2021-02-19 15:33:23 WARNING credentials-
2021-02-19 15:33:23 WARNING credentials-
2021-02-19 15:33:23 WARNING credentials-
2021-02-19 15:33:23 WARNING credentials-
2021-02-19 15:33:23 WARNING credentials-
2021-02-19 15:33:23 WARNING credentials-
2021-02-19 15:33:23 WARNING credentials-
2021-02-19 15:33:23 WARNING credentials-
2021-02-19 15:33:23 ERROR juju.worker.
2021-02-19 15:33:23 DEBUG juju.machinelock machinelock.go:186 machine lock released for openstack-
2021-02-19 15:33:23 DEBUG juju.worker.
2021-02-19 15:33:23 INFO juju.worker.uniter resolver.go:143 awaiting error resolution for "relation-joined" hook
2021-02-19 15:33:23 DEBUG juju.worker.uniter agent.go:20 [AGENT-STATUS] error: hook failed: "credentials-
2021-02-19 15:34:11 DEBUG juju.worker.
2021-02-19 15:34:11 INFO juju.worker.uniter resolver.go:143 awaiting error resolution for "relation-joined" hook
2021-02-19 15:34:12 DEBUG juju.worker.
2021-02-19 15:35:39 DEBUG juju.worker.
2021-02-19 15:35:39 INFO juju.worker.uniter resolver.go:143 awaiting error resolution for "relation-joined" hook
2021-02-19 15:39:34 DEBUG juju.worker.
2021-02-19 15:39:34 INFO juju.worker.uniter resolver.go:143 awaiting error resolution for "relation-joined" hook
2021-02-19 15:39:42 DEBUG juju.worker.
2021-02-19 15:39:42 INFO juju.worker.uniter resolver.go:143 awaiting error resolution for "relation-joined" hook
2021-02-19 15:44:32 DEBUG juju.worker.
2021-02-19 15:44:32 INFO juju.worker.uniter resolver.go:143 awaiting error resolution for "relation-joined" hook
2021-02-19 15:50:03 DEBUG juju.worker.
2021-02-19 15:50:03 INFO juju.worker.uniter resolver.go:143 awaiting error resolution for "relation-joined" hook
2021-02-19 15:54:16 DEBUG juju.worker.
2021-02-19 15:54:16 INFO juju.worker.uniter resolver.go:143 awaiting error resolution for "relation-joined" hook
```
It appears that set_flag is not currently implemented anywhere
Changed in charm-openstack-integrator: | |
status: | Fix Committed → Fix Released |
Dmitrii is fixing this in charms.reactive and once that is reviewed and released, the charm will be rebuilt for 1.20+ck1 to include that fix.