psf-salt icon indicating copy to clipboard operation
psf-salt copied to clipboard

Infra(OS): `cdn-logs` to Ubuntu 24.04

Open JacobCoffee opened this issue 1 year ago • 5 comments

### Tasks
- [ ] Changeset tested against host set to default (jammy)
- [ ] Changeset tested against host set to noble
- [ ] VM upgraded
- [ ] Data transferred

Depends on release of Salt 3007.1 for https://github.com/saltstack/salt/pull/66330 fix

JacobCoffee avatar Aug 01 '24 16:08 JacobCoffee

Image

seems this is good to go now with a new salt

JacobCoffee avatar Jul 31 '25 16:07 JacobCoffee

Kinda seems like it worked but

    cdn-logs: Summary for local
    cdn-logs: --------------
    cdn-logs: Succeeded: 146 (changed=1)
    cdn-logs: Failed:      0
    cdn-logs: --------------
    cdn-logs: Total states run:     146
    cdn-logs: Total run time:     6.074 s

not sure if they backported into 3006 because:

salt-minion 3006.14 (Sulfur)

...but also dont see the http error anymore... also having a time remembering what the http error was from

JacobCoffee avatar Jul 31 '25 16:07 JacobCoffee

https://docs.saltproject.io/salt/install-guide/en/latest/topics/upgrade.html#upgrade-salt should upgrade salt master first to 3007 before minions

JacobCoffee avatar Aug 01 '25 15:08 JacobCoffee

i am confusion

root@cdn-logs-2404:~# sudo service salt-minion restart
root@cdn-logs-2404:~# sudo salt-call state.highstate
local:
    Data failed to compile:
----------
    Pillar failed to render with the following messages:
----------
    Failed to load ext_pillar dms: string indices must be integer

JacobCoffee avatar Aug 01 '25 15:08 JacobCoffee

in the list migration guide got to this https://infra.psf.io/guides/migration-recipe.html#provision-new-host-for-migration, but removed from salt until we can hit 3007.. I'm still not sure how it works locally

coffee@salt:~$ sudo salt-key -d cdn-logs-2404.nyc1.psf.io
The following keys are going to be deleted:
Accepted Keys:
cdn-logs-2404.nyc1.psf.io
Proceed? [N/y] y
Key for minion cdn-logs-2404.nyc1.psf.io deleted.

, turned off droplet

JacobCoffee avatar Aug 01 '25 15:08 JacobCoffee