And before triggering and edge refresh, I'm going to -edge and seeing what it has:
root@juju-c9bfb2-1:/var/log/juju# grep -rnI "downloading "
machine-1.log:118:2024-04-05 14:37:21 INFO juju.downloader download.go:109 downloading from ch:amd64/jammy/github-runner-141
unit-gh-edge-0.log:11:2024-04-05 14:37:21 INFO juju.worker.uniter.charm bundles.go:81 downloading ch:amd64/jammy/github-runner-141 from API server
No indication that anything should have changed
root@juju-c9bfb2-1:/var/lib/juju/agents/unit-gh-edge-0/charm# grep -r "Weak hash algorithm" venv/wheel
grep: venv/wheel/__pycache__/wheelfile.cpython-310.pyc: binary file matches
venv/wheel/wheelfile.py: f"Weak hash algorithm ({algorithm}) is not permitted by "
root@juju-c9bfb2-1:/var/lib/juju/agents/unit-gh-edge-0/charm# ls scripts/
build-image.sh repo_policy_compliance_service.py
Still at 141.
Doing a refresh:
$ juju refresh gh-edge
Added charm-hub charm "github-runner", revision 145 in channel latest/edge, to the model
no change to endpoints in space "alpha": cos-agent, debug-ssh
root@juju-c9bfb2-1:/var/log/juju# grep -rnI "downloading "
machine-1.log:118:2024-04-05 14:37:21 INFO juju.downloader download.go:109 downloading from ch:amd64/jammy/github-runner-141
machine-1.log:123:2024-04-05 15:08:21 INFO juju.downloader download.go:109 downloading from ch:amd64/jammy/github-runner-145
machine-1.log:126:2024-04-05 15:08:25 INFO juju.downloader download.go:109 downloading from ch:amd64/jammy/github-runner-145
machine-1.log:129:2024-04-05 15:08:28 INFO juju.downloader download.go:109 downloading from ch:amd64/jammy/github-runner-145
unit-gh-edge-0.log:11:2024-04-05 14:37:21 INFO juju.worker.uniter.charm bundles.go:81 downloading ch:amd64/jammy/github-runner-141 from API server
unit-gh-edge-0.log:159:2024-04-05 15:08:21 INFO juju.worker.uniter.charm bundles.go:81 downloading ch:amd64/jammy/github-runner-145 from API server
unit-gh-edge-0.log:165:2024-04-05 15:08:25 INFO juju.worker.uniter.charm bundles.go:81 downloading ch:amd64/jammy/github-runner-145 from API server
unit-gh-edge-0.log:171:2024-04-05 15:08:28 INFO juju.worker.uniter.charm bundles.go:81 downloading ch:amd64/jammy/github-runner-145 from API server
In this case, we are triggering a download of Unit agent <- controller 3 times because the controller hasn't finished its download from charmhub.
After that:
root@juju-c9bfb2-1:/var/lib/juju/agents/unit-gh-edge-0/charm# ls scripts/
build-lxd-image.sh build-openstack-image.sh repo_policy_compliance_service.py
We are certainly at least at 143. catting build-openstack-image.sh:
# Uninstall unattended-upgrades, to avoid lock errors when unattended-upgrades is active in the runner
DEBIAN_FRONTEND=noninteractive /usr/bin/systemctl stop apt-daily.timer
DEBIAN_FRONTEND=noninteractive /usr/bin/systemctl disable apt-daily.timer
DEBIAN_FRONTEND=noninteractive /usr/bin/systemctl mask apt-daily.service
DEBIAN_FRONTEND=noninteractive /usr/bin/systemctl stop apt-daily-upgrade.timer
DEBIAN_FRONTEND=noninteractive /usr/bin/systemctl disable apt-daily-upgrade.timer
DEBIAN_FRONTEND=noninteractive /usr/bin/systemctl mask apt-daily-upgrade.service
DEBIAN_FRONTEND=noninteractive /usr/bin/systemctl daemon-reload
DEBIAN_FRONTEND=noninteractive /usr/bin/apt-get purge unattended-upgrades -yq
And before triggering and edge refresh, I'm going to -edge and seeing what it has: c9bfb2- 1:/var/ log/juju# grep -rnI "downloading " 1.log:118: 2024-04- 05 14:37:21 INFO juju.downloader download.go:109 downloading from ch:amd64/ jammy/github- runner- 141 edge-0. log:11: 2024-04- 05 14:37:21 INFO juju.worker. uniter. charm bundles.go:81 downloading ch:amd64/ jammy/github- runner- 141 from API server
root@juju-
machine-
unit-gh-
No indication that anything should have changed c9bfb2- 1:/var/ lib/juju/ agents/ unit-gh- edge-0/ charm# grep -r "Weak hash algorithm" venv/wheel __pycache_ _/wheelfile. cpython- 310.pyc: binary file matches wheelfile. py: f"Weak hash algorithm ({algorithm}) is not permitted by " c9bfb2- 1:/var/ lib/juju/ agents/ unit-gh- edge-0/ charm# ls scripts/ compliance_ service. py
root@juju-
grep: venv/wheel/
venv/wheel/
root@juju-
build-image.sh repo_policy_
Still at 141.
Doing a refresh: c9bfb2- 1:/var/ log/juju# grep -rnI "downloading " 1.log:118: 2024-04- 05 14:37:21 INFO juju.downloader download.go:109 downloading from ch:amd64/ jammy/github- runner- 141 1.log:123: 2024-04- 05 15:08:21 INFO juju.downloader download.go:109 downloading from ch:amd64/ jammy/github- runner- 145 1.log:126: 2024-04- 05 15:08:25 INFO juju.downloader download.go:109 downloading from ch:amd64/ jammy/github- runner- 145 1.log:129: 2024-04- 05 15:08:28 INFO juju.downloader download.go:109 downloading from ch:amd64/ jammy/github- runner- 145 edge-0. log:11: 2024-04- 05 14:37:21 INFO juju.worker. uniter. charm bundles.go:81 downloading ch:amd64/ jammy/github- runner- 141 from API server edge-0. log:159: 2024-04- 05 15:08:21 INFO juju.worker. uniter. charm bundles.go:81 downloading ch:amd64/ jammy/github- runner- 145 from API server edge-0. log:165: 2024-04- 05 15:08:25 INFO juju.worker. uniter. charm bundles.go:81 downloading ch:amd64/ jammy/github- runner- 145 from API server edge-0. log:171: 2024-04- 05 15:08:28 INFO juju.worker. uniter. charm bundles.go:81 downloading ch:amd64/ jammy/github- runner- 145 from API server
$ juju refresh gh-edge
Added charm-hub charm "github-runner", revision 145 in channel latest/edge, to the model
no change to endpoints in space "alpha": cos-agent, debug-ssh
root@juju-
machine-
machine-
machine-
machine-
unit-gh-
unit-gh-
unit-gh-
unit-gh-
In this case, we are triggering a download of Unit agent <- controller 3 times because the controller hasn't finished its download from charmhub.
After that: c9bfb2- 1:/var/ lib/juju/ agents/ unit-gh- edge-0/ charm# ls scripts/ -image. sh repo_policy_ compliance_ service. py
root@juju-
build-lxd-image.sh build-openstack
We are certainly at least at 143. catting build-openstack -image. sh: upgrades, to avoid lock errors when unattended-upgrades is active in the runner FRONTEND= noninteractive /usr/bin/systemctl stop apt-daily.timer FRONTEND= noninteractive /usr/bin/systemctl disable apt-daily.timer FRONTEND= noninteractive /usr/bin/systemctl mask apt-daily.service FRONTEND= noninteractive /usr/bin/systemctl stop apt-daily- upgrade. timer FRONTEND= noninteractive /usr/bin/systemctl disable apt-daily- upgrade. timer FRONTEND= noninteractive /usr/bin/systemctl mask apt-daily- upgrade. service FRONTEND= noninteractive /usr/bin/systemctl daemon-reload FRONTEND= noninteractive /usr/bin/apt-get purge unattended-upgrades -yq
# Uninstall unattended-
DEBIAN_
DEBIAN_
DEBIAN_
DEBIAN_
DEBIAN_
DEBIAN_
DEBIAN_
DEBIAN_