New unit fails to see the whole cluster
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Repository Cache Charm |
Fix Released
|
High
|
Haw Loeung |
Bug Description
Adding a new unit today, I've been hit by a bug where the new unit failed to join the cluster and see the rest of it.
2023-06-27 05:18:08 INFO unit.ubuntu-
2023-06-27 05:18:08 INFO unit.ubuntu-
2023-06-27 05:18:08 ERROR unit.ubuntu-
Traceback (most recent call last):
File "/var/lib/
bus.
File "/var/lib/
_invoke(
File "/var/lib/
handler.
File "/var/lib/
self.
File "/var/lib/
mirror.
File "/var/lib/
_nonleader_
File "/var/lib/
leader_rel = rel[config[
KeyError: 'ubuntu-
Unit is in status hook failed: "cluster-
This is on a unit that properly joined the cluster:
ubuntu@machine-6:~$ sudo juju-run ubuntu-
ubuntu-
ubuntu-
ubuntu-
ubuntu-
ubuntu-
This is on the unit failing to join the cluster:
ubuntu@machine-7:~$ sudo juju-run ubuntu-
ubuntu@machine-7:~$
Related branches
- Canonical IS Reviewers: Pending requested
- Ubuntu Repository Cache Charmers, Canonical: Pending requested
-
Diff: 37 lines (+5/-5)1 file modifiedlib/ubuntu_repository_cache/mirror.py (+5/-5)
Changed in ubuntu-repository-cache: | |
status: | New → In Progress |
assignee: | nobody → Haw Loeung (hloeung) |
importance: | Undecided → High |
Changed in ubuntu-repository-cache: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-repository-cache: | |
status: | Fix Committed → Fix Released |
Also had to run `juju resolved ubuntu- repository- cache/6` about 8 times or so to get it to resolve and start syncing data.