python/psf-salt

Infra(OS): `hg` to Ubuntu 24.04

JacobCoffee opened this issue · 7 comments

Tasks

Latest PRs have put prod hg 18.04 back into working order:

Summary for local
--------------
Succeeded: 206 (changed=1)
Failed:      0
--------------
Total states run:     206
Total run time:    22.706 s

Still fighting with weird git issue stated in #432 (comment), manually edited this file to what is in production and ran highstate to fix hg prod, but now we have a diff

coffee@salt:/srv/psf-salt$ sudo git status
On branch main
Your branch is up to date with 'origin/main'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   salt/hg/init.sls

no changes added to commit (use "git add" and/or "git commit -a")

even though main has this.

also - libapache2-mod-wsgi{% if grains["oscodename"] == ["noble"] %}-py3{% endif %} doesnt seem to work

booya!

Image

Data transferred, hostnames swapped, and salt state succeeded.

hg.python.org:
Image

LB:
Image

DO hostnames swapped, left old one undeleted until @ewdurbin arrives back to verify.
https://cloud.digitalocean.com/droplets/133202295/graphs?i=9f967e hg-old
https://cloud.digitalocean.com/droplets/436637666/graphs?i=9f967e&period=hour hg new host

Seems my CSS was cached, now looks not as pretty
console has many errors:
Image
but the service is still functional

Will check in AM

Seems there are other dirs (delivered by the mercurial package?) missing.

Right is old HG, left is new
Image

This fixed it, but we probably need to back up this in salt?

coffee@hg:~$ sudo -E rsync -av -e "ssh -i /home/psf-users/coffee/.ssh/id_ed25519" --rsync-path="sudo rsync" coffee@10.132.127.204:/usr/share/mercurial/templates/static/ /usr/share/mercurial/templates/static

created directory /usr/share/mercurial/templates/static
./
background.png
coal-file.png
coal-folder.png
feed-icon-14x14.png
followlines.js
hgicon.png
hglogo.png
mercurial.js
style-extra-coal.css
style-gitweb.css
style-monoblue.css
style-paper.css
style.css

sent 274 bytes  received 65,209 bytes  26,193.20 bytes/sec
total size is 64,344  speedup is 0.9

Image