departing non-swift-storage units cause access to be revoked
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Swift Storage Charm |
Expired
|
Undecided
|
Unassigned |
Bug Description
We recently did some maintenance work that involved relocating prometheus-
---
2020-01-09 15:50:12 DEBUG juju.worker.
2020-01-09 15:50:12 DEBUG juju.worker.uniter resolver.go:147 no operations in progress; waiting for changes
2020-01-09 15:50:12 DEBUG juju.worker.
2020-01-09 15:50:12 DEBUG juju.machinelock machinelock.go:156 acquire machine lock for uniter (run relation-departed (188; prometheus-
2020-01-09 15:50:24 DEBUG juju.machinelock machinelock.go:166 machine lock acquired for uniter (run relation-departed (188; prometheus-
2020-01-09 15:50:24 DEBUG juju.worker.
2020-01-09 15:50:24 DEBUG juju.worker.
2020-01-09 15:50:24 DEBUG juju.worker.uniter agent.go:20 [AGENT-STATUS] executing: running swift-storage-
2020-01-09 15:50:25 DEBUG worker.uniter.jujuc server.go:182 running hook tool "config-get"
2020-01-09 15:50:26 DEBUG worker.uniter.jujuc server.go:182 running hook tool "juju-log"
2020-01-09 15:50:26 INFO juju-log swift-storage:188: Registered config file: /etc/swift/
2020-01-09 15:50:26 DEBUG worker.uniter.jujuc server.go:182 running hook tool "juju-log"
2020-01-09 15:50:26 INFO juju-log swift-storage:188: Registered config file: /etc/rsync-
2020-01-09 15:50:26 DEBUG worker.uniter.jujuc server.go:182 running hook tool "juju-log"
2020-01-09 15:50:26 INFO juju-log swift-storage:188: Registered config file: /etc/swift/
2020-01-09 15:50:26 DEBUG worker.uniter.jujuc server.go:182 running hook tool "juju-log"
2020-01-09 15:50:26 INFO juju-log swift-storage:188: Registered config file: /etc/swift/
2020-01-09 15:50:26 DEBUG worker.uniter.jujuc server.go:182 running hook tool "juju-log"
2020-01-09 15:50:26 INFO juju-log swift-storage:188: Registered config file: /etc/swift/
2020-01-09 15:50:27 DEBUG worker.uniter.jujuc server.go:182 running hook tool "relation-get"
2020-01-09 15:50:27 DEBUG worker.uniter.jujuc server.go:182 running hook tool "relation-ids"
2020-01-09 15:50:27 DEBUG worker.uniter.jujuc server.go:182 running hook tool "relation-get"
2020-01-09 15:50:27 DEBUG worker.uniter.jujuc server.go:182 running hook tool "relation-list"
2020-01-09 15:50:27 DEBUG worker.uniter.jujuc server.go:182 running hook tool "relation-get"
2020-01-09 15:50:27 DEBUG worker.uniter.jujuc server.go:182 running hook tool "relation-ids"
2020-01-09 15:50:27 DEBUG worker.uniter.jujuc server.go:182 running hook tool "relation-get"
2020-01-09 15:50:27 DEBUG worker.uniter.jujuc server.go:182 running hook tool "relation-list"
2020-01-09 15:50:28 DEBUG worker.uniter.jujuc server.go:182 running hook tool "relation-get"
2020-01-09 15:50:28 DEBUG worker.uniter.jujuc server.go:182 running hook tool "relation-get"
2020-01-09 15:50:28 DEBUG worker.uniter.jujuc server.go:182 running hook tool "relation-list"
2020-01-09 15:50:28 DEBUG worker.uniter.jujuc server.go:182 running hook tool "relation-get"
2020-01-09 15:50:28 DEBUG worker.uniter.jujuc server.go:182 running hook tool "relation-ids"
2020-01-09 15:50:28 DEBUG worker.uniter.jujuc server.go:182 running hook tool "relation-get"
2020-01-09 15:50:28 DEBUG worker.uniter.jujuc server.go:182 running hook tool "juju-log"
2020-01-09 15:50:28 DEBUG juju-log swift-storage:188: revoking access: 10.48.2.160
2020-01-09 15:50:29 DEBUG worker.uniter.jujuc server.go:182 running hook tool "juju-log"
2020-01-09 15:50:29 DEBUG juju-log swift-storage:188: ufw delete: ufw delete allow from 10.48.2.160 to any port 6000 proto tcp
2020-01-09 15:50:29 DEBUG worker.uniter.jujuc server.go:182 running hook tool "juju-log"
2020-01-09 15:50:29 INFO juju-log swift-storage:188: b'Rule deleted\n'
2020-01-09 15:50:29 DEBUG worker.uniter.jujuc server.go:182 running hook tool "juju-log"
2020-01-09 15:50:29 DEBUG juju-log swift-storage:188: revoking access: 10.48.2.160
2020-01-09 15:50:29 DEBUG worker.uniter.jujuc server.go:182 running hook tool "juju-log"
2020-01-09 15:50:29 DEBUG juju-log swift-storage:188: ufw delete: ufw delete allow from 10.48.2.160 to any port 6001 proto tcp
2020-01-09 15:50:30 DEBUG worker.uniter.jujuc server.go:182 running hook tool "juju-log"
2020-01-09 15:50:30 INFO juju-log swift-storage:188: b'Rule deleted\n'
2020-01-09 15:50:30 DEBUG worker.uniter.jujuc server.go:182 running hook tool "juju-log"
2020-01-09 15:50:30 DEBUG juju-log swift-storage:188: revoking access: 10.48.2.160
2020-01-09 15:50:30 DEBUG worker.uniter.jujuc server.go:182 running hook tool "juju-log"
2020-01-09 15:50:30 DEBUG juju-log swift-storage:188: ufw delete: ufw delete allow from 10.48.2.160 to any port 6002 proto tcp
2020-01-09 15:50:31 DEBUG worker.uniter.jujuc server.go:182 running hook tool "juju-log"
2020-01-09 15:50:31 INFO juju-log swift-storage:188: b'Rule deleted\n'
2020-01-09 15:50:31 DEBUG worker.uniter.jujuc server.go:182 running hook tool "relation-get"
2020-01-09 15:50:31 DEBUG worker.uniter.jujuc server.go:182 running hook tool "relation-get"
2020-01-09 15:50:31 DEBUG worker.uniter.jujuc server.go:182 running hook tool "unit-get"
2020-01-09 15:50:31 DEBUG worker.uniter.jujuc server.go:182 running hook tool "juju-log"
2020-01-09 15:50:31 INFO juju-log swift-storage:188: Unit is ready
2020-01-09 15:50:31 DEBUG worker.uniter.jujuc server.go:182 running hook tool "status-set"
2020-01-09 15:50:33 DEBUG worker.uniter.jujuc server.go:182 running hook tool "application-
2020-01-09 15:50:33 INFO juju.worker.
2020-01-09 15:50:33 DEBUG juju.worker.
2020-01-09 15:50:33 DEBUG juju.machinelock machinelock.go:180 machine lock released for uniter (run relation-departed (188; prometheus-
2020-01-09 15:50:33 DEBUG juju.worker.
2020-01-09 15:50:33 DEBUG juju.worker.uniter resolver.go:147 no operations in progress; waiting for changes
2020-01-09 15:50:33 DEBUG juju.worker.uniter agent.go:20 [AGENT-STATUS] idle:
It seems like a workaround is to not collocate these charms, but how reasonable is that a solution given a typical deployment? I.e. is this definitely a technical requirement or could it be a documentation change?