Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

Commit 08c3310

Browse files
authored
[v2.0] Update cloud OS images (#3400)
1 parent 4784ee9 commit 08c3310

File tree

10 files changed

+28
-19
lines changed

10 files changed

+28
-19
lines changed

ansible/playbooks/roles/repository/files/download-requirements/requirements/aarch64/redhat/packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ packages:
7575
- 'perl-Pod-Perldoc' # for vim
7676
- 'perl-Pod-Simple' # for vim
7777
- 'perl-Pod-Usage' # for vim
78-
- 'pgaudit15_13-1.5.0'
78+
# - 'pgaudit15_13-1.5.0' # Removed from aarch64 installations. More info: https://github.com/hitachienergy/epiphany/issues/3302
7979
- 'pkgconf' # for bash-completion
8080
- 'pkgconf-pkg-config' # for bash-completion
8181
- 'policycoreutils'

cli/src/helpers/naming_helpers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ def get_os_name_normalized(vm_doc):
7070
return expected_indicators[indicator]
7171
if vm_doc.provider == "aws":
7272
# Example public/official AMI names:
73-
# - ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20221010
74-
# - RHEL-8.4.0_HVM-20210825-x86_64-0-Hourly2-GP2
75-
# - AlmaLinux OS 8.4.20211015 x86_64
73+
# - ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20231004
74+
# - RHEL-8.4.0_HVM-20230419-x86_64-41-Hourly2-GP2
75+
# - AlmaLinux OS 8.6.20220901 x86_64
7676
for indicator in expected_indicators:
7777
if indicator in vm_doc.specification.os_full_name.lower():
7878
return expected_indicators[indicator]

docs/changelogs/CHANGELOG-2.0.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
<!-- markdownlint-disable-file no-duplicate-header -->
22
# Changelog 2.0
33

4+
## [2.0.9] 2023-10-XX
5+
6+
### Updated
7+
8+
- [#3302](https://github.com/hitachienergy/epiphany/issues/3302) - AlmaLinux OS 8.4 AMIs no longer available
9+
- [#3399](https://github.com/hitachienergy/epiphany/issues/3399) - Update cloud OS images to the latest
10+
411
## [2.0.8] 2023-08-24
512

13+
### Updated
14+
615
- [#3177](https://github.com/hitachienergy/epiphany/issues/3177) - Upgrade AzureCLI to 2.37+ to support Microsoft Graph migration
716
- [#3383](https://github.com/hitachienergy/epiphany/issues/3383) - Update Python dependencies to include the latest patch versions
817

docs/home/ARM.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ provider: any
186186
specification:
187187
extensions:
188188
pgaudit:
189-
enabled: yes
189+
enabled: false
190190
title: Postgresql
191191
---
192192
kind: configuration/rabbitmq
@@ -238,7 +238,7 @@ specification:
238238
### ```AWS``` provider
239239

240240
- Important is to specify the correct ```arm64``` machine type for component which can be found [here](https://aws.amazon.com/ec2/instance-types/a1/).
241-
- Important is to specify the correct ```arm64``` OS image which currently is only ```AlmaLinux OS 8.4.20211015 aarch64``` or newer.
241+
- Important is to specify the correct ```arm64``` OS image which currently is only ```AlmaLinux OS 8.6.20220901 aarch64``` or newer.
242242

243243
```yaml
244244
---
@@ -315,7 +315,7 @@ title: "Virtual Machine Infra"
315315
provider: aws
316316
name: default
317317
specification:
318-
os_full_name: AlmaLinux OS 8.4.20211015 aarch64
318+
os_full_name: AlmaLinux OS 8.6.20220901 aarch64
319319
---
320320
kind: infrastructure/virtual-machine
321321
name: kafka-machine-arm
@@ -393,7 +393,7 @@ provider: aws
393393
specification:
394394
extensions:
395395
pgaudit:
396-
enabled: yes
396+
enabled: false
397397
pgbouncer:
398398
enabled: no
399399
replication:

docs/home/howto/OS_PATCHING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ This document will help you decide how you should patch your OS. This is not a s
2828

2929
For Epiphany >= v2.0 we recommend the following image (AMI):
3030

31-
- RHEL: `RHEL-8.4.0_HVM-20210825-x86_64-0-Hourly2-GP2` (kernel 4.18.0-305.12.1.el8_4.x86_64),
32-
- Ubuntu: `ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20221010` (kernel 5.15.0-1021-aws).
31+
- RHEL: `RHEL-8.4.0_HVM-20230419-x86_64-41-Hourly2-GP2` (kernel 4.18.0-305.88.1.el8_4.x86_64),
32+
- Ubuntu: `ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20231004` (kernel 5.15.0-1047-aws).
3333

3434
Note: For different supported OS versions this guide may be useful as well.
3535

@@ -57,7 +57,7 @@ For more information, refer to [AWS Systems Manager User Guide](https://docs.aws
5757
For Epiphany >= v2.0 we recommend the following image (urn):
5858

5959
- RHEL: `RedHat:rhel-raw:8-raw-gen2:8.4.2022031606` (kernel 4.18.0-305.el8.x86_64),
60-
- Ubuntu: `Canonical:0001-com-ubuntu-server-focal:20_04-lts-gen2:20.04.202210100` (kernel 5.15.0-1021-azure).
60+
- Ubuntu: `Canonical:0001-com-ubuntu-server-focal:20_04-lts-gen2:20.04.202308310` (kernel 5.15.0-1045-azure).
6161

6262
Note: For different supported OS versions this guide may be useful as well.
6363

schema/aws/defaults/infrastructure/cloud-os-image-defaults.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: infrastructure/cloud-os-image-defaults
33
title: "Cloud OS Image Defaults"
44
name: default
55
specification:
6-
almalinux-8-arm64: AlmaLinux OS 8.4.20211015 aarch64
7-
almalinux-8-x86_64: AlmaLinux OS 8.4.20211015 x86_64
8-
rhel-8-x86_64: RHEL-8.4.0_HVM-20210825-x86_64-0-Hourly2-GP2
9-
ubuntu-20.04-x86_64: ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20221010
6+
almalinux-8-arm64: AlmaLinux OS 8.6.20220901 aarch64
7+
almalinux-8-x86_64: AlmaLinux OS 8.6.20220901 x86_64
8+
rhel-8-x86_64: RHEL-8.4.0_HVM-20230419-x86_64-41-Hourly2-GP2
9+
ubuntu-20.04-x86_64: ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20231004

schema/aws/defaults/infrastructure/virtual-machine.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ specification:
1717
authorized_to_efs: false
1818
mount_efs: false
1919
size: t2.micro
20-
os_full_name: ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20221010
20+
os_full_name: ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20231004
2121
os_type: linux
2222
ebs_optimized: false
2323
disks:

schema/azure/defaults/infrastructure/cloud-os-image-defaults.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ specification:
2121
publisher: Canonical
2222
offer: 0001-com-ubuntu-server-focal
2323
sku: 20_04-lts-gen2
24-
version: "20.04.202210100"
24+
version: "20.04.202308310"

schema/azure/defaults/infrastructure/virtual-machine.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ specification:
2121
publisher: Canonical
2222
offer: 0001-com-ubuntu-server-focal
2323
sku: 20_04-lts-gen2
24-
version: "20.04.202210100" # Never put latest on anything! Need to always pin the version number but testing we can get away with it
24+
version: "20.04.202308310" # Never put latest on anything! Need to always pin the version number but testing we can get away with it
2525
storage_os_disk:
2626
managed: true
2727
caching: ReadWrite

schema/common/defaults/configuration/postgresql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ specification:
7272
when: replication
7373
extensions:
7474
pgaudit:
75-
enabled: false
75+
enabled: false # DO NOT enable for aarch64 installations. More info: https://github.com/hitachienergy/epiphany/issues/3302
7676
shared_preload_libraries:
7777
- pgaudit
7878
config_file_parameters:

0 commit comments

Comments
 (0)