Skip to content

Commit

Permalink
Update cloud OS images
Browse files Browse the repository at this point in the history
  • Loading branch information
przemyslavic committed Oct 19, 2023
1 parent 4784ee9 commit 886fe24
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ packages:
- 'perl-Pod-Perldoc' # for vim
- 'perl-Pod-Simple' # for vim
- 'perl-Pod-Usage' # for vim
- 'pgaudit15_13-1.5.0'
# - 'pgaudit15_13-1.5.0' # Removed from aarch64 installations. More info: https://github.com/hitachienergy/epiphany/issues/3302
- 'pkgconf' # for bash-completion
- 'pkgconf-pkg-config' # for bash-completion
- 'policycoreutils'
Expand Down
6 changes: 3 additions & 3 deletions cli/src/helpers/naming_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ def get_os_name_normalized(vm_doc):
return expected_indicators[indicator]
if vm_doc.provider == "aws":
# Example public/official AMI names:
# - ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20221010
# - RHEL-8.4.0_HVM-20210825-x86_64-0-Hourly2-GP2
# - AlmaLinux OS 8.4.20211015 x86_64
# - ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20231004
# - RHEL-8.4.0_HVM-20230419-x86_64-41-Hourly2-GP2
# - AlmaLinux OS 8.6.20220901 x86_64
for indicator in expected_indicators:
if indicator in vm_doc.specification.os_full_name.lower():
return expected_indicators[indicator]
Expand Down
9 changes: 9 additions & 0 deletions docs/changelogs/CHANGELOG-2.0.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
<!-- markdownlint-disable-file no-duplicate-header -->
# Changelog 2.0

## [2.0.9] 2023-10-XX

### Updated

- [#3302](https://github.com/hitachienergy/epiphany/issues/3302) - AlmaLinux OS 8.4 AMIs no longer available
- [#3399](https://github.com/hitachienergy/epiphany/issues/3399) - Update cloud OS images to the latest

## [2.0.8] 2023-08-24

### Updated

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

Expand Down
8 changes: 4 additions & 4 deletions docs/home/ARM.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ provider: any
specification:
extensions:
pgaudit:
enabled: yes
enabled: false
title: Postgresql
---
kind: configuration/rabbitmq
Expand Down Expand Up @@ -238,7 +238,7 @@ specification:
### ```AWS``` provider

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

```yaml
---
Expand Down Expand Up @@ -315,7 +315,7 @@ title: "Virtual Machine Infra"
provider: aws
name: default
specification:
os_full_name: AlmaLinux OS 8.4.20211015 aarch64
os_full_name: AlmaLinux OS 8.6.20220901 aarch64
---
kind: infrastructure/virtual-machine
name: kafka-machine-arm
Expand Down Expand Up @@ -393,7 +393,7 @@ provider: aws
specification:
extensions:
pgaudit:
enabled: yes
enabled: false
pgbouncer:
enabled: no
replication:
Expand Down
6 changes: 3 additions & 3 deletions docs/home/howto/OS_PATCHING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ This document will help you decide how you should patch your OS. This is not a s

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

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

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

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: infrastructure/cloud-os-image-defaults
title: "Cloud OS Image Defaults"
name: default
specification:
almalinux-8-arm64: AlmaLinux OS 8.4.20211015 aarch64
almalinux-8-x86_64: AlmaLinux OS 8.4.20211015 x86_64
rhel-8-x86_64: RHEL-8.4.0_HVM-20210825-x86_64-0-Hourly2-GP2
ubuntu-20.04-x86_64: ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20221010
almalinux-8-arm64: AlmaLinux OS 8.6.20220901 aarch64
almalinux-8-x86_64: AlmaLinux OS 8.6.20220901 x86_64
rhel-8-x86_64: RHEL-8.4.0_HVM-20230419-x86_64-41-Hourly2-GP2
ubuntu-20.04-x86_64: ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20231004
2 changes: 1 addition & 1 deletion schema/aws/defaults/infrastructure/virtual-machine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ specification:
authorized_to_efs: false
mount_efs: false
size: t2.micro
os_full_name: ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20221010
os_full_name: ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20231004
os_type: linux
ebs_optimized: false
disks:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ specification:
publisher: Canonical
offer: 0001-com-ubuntu-server-focal
sku: 20_04-lts-gen2
version: "20.04.202210100"
version: "20.04.202308310"
2 changes: 1 addition & 1 deletion schema/azure/defaults/infrastructure/virtual-machine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ specification:
publisher: Canonical
offer: 0001-com-ubuntu-server-focal
sku: 20_04-lts-gen2
version: "20.04.202210100" # Never put latest on anything! Need to always pin the version number but testing we can get away with it
version: "20.04.202308310" # Never put latest on anything! Need to always pin the version number but testing we can get away with it
storage_os_disk:
managed: true
caching: ReadWrite
Expand Down
2 changes: 1 addition & 1 deletion schema/common/defaults/configuration/postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ specification:
when: replication
extensions:
pgaudit:
enabled: false
enabled: false # DO NOT enable for aarch64 installations. More info: https://github.com/hitachienergy/epiphany/issues/3302
shared_preload_libraries:
- pgaudit
config_file_parameters:
Expand Down

0 comments on commit 886fe24

Please sign in to comment.