Skip to content
Snippets Groups Projects
Commit 5eb421b0 authored by Daniel Juarez's avatar Daniel Juarez :speech_balloon:
Browse files

Update minor release instructions, although no longer required

parent b1bcb535
No related branches found
No related tags found
No related merge requests found
Pipeline #3176311 passed
......@@ -124,7 +124,7 @@ the new RPMs. We can already prepare things for a smooth rollout the following d
+--------------------------------------+--------------------------+--------+
| 708ba85e-dc9b-49c9-ad73-d645aa87dd67 | C8 - x86_64 [2020-06-01] | active |
+--------------------------------------+--------------------------+--------+
$ openstack server create --image "C8 - x86_64 [2020-06-01]" --flavor m2.small --property cern-waitdns=false --key-name my-key test-c82
$ openstack server create --image "C8 - x86_64 [2020-06-01]" --flavor m2.small --property cern-waitdns=false --key-name my-key test-c83
...
```
* Once that VM is spawned, connect to it, point it to the current testing repos and update it:
......@@ -132,10 +132,10 @@ the new RPMs. We can already prepare things for a smooth rollout the following d
[aiadm52] ~ > ssh root@137.138.54.59
Enter passphrase for key '/afs/cern.ch/user/a/airibarr/.ssh/id_rsa':
X11 forwarding request failed on channel 0
[root@test-c82 ~]# cat /etc/dnf/vars/cernbase
[root@test-c83 ~]# cat /etc/dnf/vars/cernbase
8
[root@test-c82 ~]# echo ".8-testing" > /etc/dnf/vars/cernbase
[root@test-c82 ~]# dnf clean all && dnf distro-sync -y
[root@test-c83 ~]# echo ".8-testing" > /etc/dnf/vars/cernbase
[root@test-c83 ~]# dnf clean all && dnf distro-sync -y
0 files removed
CentOS-8 - CERN 388 kB/s | 43 kB 00:00
CentOS-8 - AppStream 18 MB/s | 5.8 MB 00:00
......@@ -146,8 +146,8 @@ the new RPMs. We can already prepare things for a smooth rollout the following d
* There will also be a new `kernel`, so a new `kmod-openafs` will need to be built and tagged to `openafs8-testing`.
* Once that is done, you can go back to your VM and test that the upgrade works as expected. For this, we will use the very latest upstream repos:
```bash
[root@test-c82 ~]# echo ".8-upstream" > /etc/dnf/vars/cernbase
[root@test-c82 ~]# dnf clean all && dnf distro-sync -y
[root@test-c83 ~]# echo ".8-upstream" > /etc/dnf/vars/cernbase
[root@test-c83 ~]# dnf clean all && dnf distro-sync -y
CentOS-8 - CERN 135 kB/s | 32 kB 00:00
CentOS-8 - AppStream 13 MB/s | 5.8 MB 00:00
CentOS-8 - Base 6.7 MB/s | 2.2 MB 00:00
......@@ -158,13 +158,14 @@ the new RPMs. We can already prepare things for a smooth rollout the following d
`/BaseOS/x86_64/kickstart/images/pxeboot/` directory.
```bash
$ wget http://linuxsoft.cern.ch/cern/centos/8.2/BaseOS/x86_64/kickstart/images/pxeboot/{vmlinuz,initrd.img}
$ wget http://linuxsoft.cern.ch/cern/centos/8.4/BaseOS/x86_64/kickstart/images/pxeboot/{vmlinuz,initrd.img}
...
$ aims2 addimg --testserver --name C82_X86_64_TEST --arch x86_64 --vmlinuz vmlinuz --initrd initrd.img --description "CENTOS 8.2 X86_64 TEST" --uefi
$ aims2 addimg --name C82_X86_64_TEST --arch x86_64 --vmlinuz vmlinuz --initrd initrd.img --description "CENTOS 8.2 X86_64 TEST" --uefi
$ aims2 addimg --testserver --name C84_X86_64_TEST --arch x86_64 --vmlinuz vmlinuz --initrd initrd.img --description "CENTOS 8.4 X86_64 TEST" --uefi
$ aims2 addimg --name C84_X86_64_TEST --arch x86_64 --vmlinuz vmlinuz --initrd initrd.img --description "CENTOS 8.4 X86_64 TEST" --uefi
```
* [Test](/aims2/addinganewimage.md#testing-a-new-image) the new images
* You may want to do the same with aarch64, but you will not be able to test is as of today due to the lack of HW.
* [Test](/aims2/addinganewimage#testing-a-new-image) the new images
### On the following day
......@@ -183,6 +184,7 @@ go home early. There are just a few more things to do:
Today the new CentOS release becomes production. Just a few more things to do:
* Reupload the AIMS images, but this time without the TEST.
* Add entries for those images to [AIMS hostgroup Hiera data](https://gitlab.cern.ch/ai/it-puppet-hostgroup-aims/-/blob/qa/data/hostgroup/aims.yaml).
* Reupload the AIMS images, but this time without the TEST suffix.
* Reupload the latest release as the LATEST image.
* Add entries for previous release to [AIMS hostgroup Hiera data](https://gitlab.cern.ch/ai/it-puppet-hostgroup-aims/-/blob/qa/data/hostgroup/aims.yaml).
* Remove the previous TEST images.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment