Merge autopkgtest-cloud:leader-file-not-found into autopkgtest-cloud:master
Status: | Merged |
---|---|
Approved by: | Tim Andersson |
Approved revision: | 6d95301f2eff10d2c9b988b83106a7035ea8e4ec |
Merged at revision: | 6d95301f2eff10d2c9b988b83106a7035ea8e4ec |
Proposed branch: | autopkgtest-cloud:leader-file-not-found |
Merge into: | autopkgtest-cloud:master |
Diff against target: |
14 lines (+4/-1) 1 file modified
charms/focal/autopkgtest-web/reactive/autopkgtest_web.py (+4/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Andersson | Approve | ||
Review via email: mp+445677@code.launchpad.net |
Description of the change
One of the autopkgtest-web servers is in an error state due to the /run/autopkgtes
2023-06-29 15:26:50 INFO unit.autopkgtes
2023-06-29 15:26:50 ERROR unit.autopkgtes
Traceback (most recent call last):
File "/var/lib/
bus.
File "/var/lib/
_invoke(
File "/var/lib/
handler.
File "/var/lib/
self.
File "/var/lib/
os.
FileNotFoundError: [Errno 2] No such file or directory: '/run/autopkgte
FWIW I temporarily worked around this by touching the file and then running `juju resolved autopkgtest-web/2`. Both of the units are now active and one is identified as the leader so the logic here is sound.