diff --git a/playbooks/roles/afs-release/files/release-volumes.py b/playbooks/roles/afs-release/files/release-volumes.py index ba2e6f744a..d1fa9bb7e1 100644 --- a/playbooks/roles/afs-release/files/release-volumes.py +++ b/playbooks/roles/afs-release/files/release-volumes.py @@ -125,8 +125,8 @@ def get_lock(path): with open(path, 'w') as f: try: fcntl.flock(f, fcntl.LOCK_EX | fcntl.LOCK_NB) - except IOError: - print("Unable to get lockfile!") + except IOError as e: + print("Unable to get lockfile: %s" % e) sys.exit(1) f.write("%s\n" % os.getpid()) f.flush() diff --git a/zuul.d/system-config-run.yaml b/zuul.d/system-config-run.yaml index 9ed0bc9873..a720ef0fcf 100644 --- a/zuul.d/system-config-run.yaml +++ b/zuul.d/system-config-run.yaml @@ -486,6 +486,7 @@ - roles/ - playbooks/roles/mirror-update/ - playbooks/roles/reprepro/ + - playbooks/roles/afs-release/ - playbooks/service-mirror-update.yaml - playbooks/zuul/templates/host_vars/mirror-update99.opendev.org.yaml.j2 - testinfra/test_mirror-update.py