Skip to content

Commit

Permalink
Update cloud OS images (#3300)
Browse files Browse the repository at this point in the history
  • Loading branch information
przemyslavic authored Nov 16, 2022
1 parent 0fdd133 commit 217e002
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 23 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG-1.0.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog 1.0

## [1.0.8] YYYY-MM-DD

### Fixed

- [#3296](https://github.com/epiphany-platform/epiphany/issues/3299) - CentOS 7.9.2009 AMI no longer available

## [1.0.7] 2022-11-07

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion core/src/epicli/cli/helpers/os_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def get_os_distro_normalized(vm_doc):
return expected_indicators[indicator]
if vm_doc.provider == "aws":
# Example public/official AMI names:
# - ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20210323
# - ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20221018
# - RHEL-7.8_HVM_GA-20200225-x86_64-1-Hourly2-GP2
# - CentOS 7.8.2003 x86_64
for indicator in expected_indicators:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kind: infrastructure/cloud-os-image-defaults
title: "Cloud OS Image Defaults"
name: default
specification:
ubuntu-18.04-x86_64: ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20210323
redhat-7-x86_64: RHEL-7.9_HVM-20210208-x86_64-0-Hourly2-GP2
centos-7-x86_64: CentOS 7.9.2009 x86_64
centos-7-arm64: CentOS 7.9.2009 aarch64
ubuntu-18.04-x86_64: ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20221018
redhat-7-x86_64: RHEL-7.9_HVM-20221027-x86_64-0-Hourly2-GP2
centos-7-x86_64: CentOS Linux 7 x86_64 - 2211
centos-7-arm64: CentOS Linux 7 aarch64 - 2211
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ specification:
tags:
- version: 0.4.2
size: t2.micro
os_full_name: "ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20210323"
os_full_name: "ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20221018"
os_type: linux
ebs_optimized: false
disks:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ specification:
publisher: Canonical
offer: UbuntuServer
sku: 18.04-LTS
version: "18.04.202103151"
version: "18.04.202210180"
redhat-7-x86_64:
publisher: RedHat
publisher: RedHat
offer: RHEL
sku: 7-LVM
version: "7.9.2020111202"
version: "7.9.2022032203"
centos-7-x86_64:
publisher: OpenLogic
offer: CentOS
sku: "7_9"
version: "7.9.2021020400"
version: "7.9.2022101800"
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ specification:
publisher: Canonical
offer: UbuntuServer
sku: 18.04-LTS
version: "18.04.202103151" # Never put latest on anything! Need to always pin the version number but testing we can get away with it
version: "18.04.202210180" # Never put latest on anything! Need to always pin the version number but testing we can get away with it
storage_os_disk:
managed: false
caching: ReadWrite
Expand Down
12 changes: 6 additions & 6 deletions docs/home/howto/CLUSTER.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Enable for RHEL on Azure:
publisher: RedHat
offer: RHEL
sku: 7-LVM
version: "7.9.2020111202"
version: "7.9.2022032203"
```
Enable for RHEL on AWS:
Expand All @@ -46,7 +46,7 @@ Enable for RHEL on AWS:
provider: aws
based_on: repository-machine
specification:
os_full_name: RHEL-7.9_HVM-20210208-x86_64-0-Hourly2-GP2
os_full_name: RHEL-7.9_HVM-20221027-x86_64-0-Hourly2-GP2
```
Enable for CentOS on Azure:
Expand All @@ -68,7 +68,7 @@ Enable for CentOS on Azure:
publisher: OpenLogic
offer: CentOS
sku: "7_9"
version: "7.9.2021020400"
version: "7.9.2022101800"
```
Enable for CentOS on AWS:
Expand All @@ -87,7 +87,7 @@ Enable for CentOS on AWS:
provider: aws
based_on: repository-machine
specification:
os_full_name: "CentOS 7.9.2009 x86_64"
os_full_name: "CentOS Linux 7 x86_64 - 2211"
```
Disable:
Expand Down Expand Up @@ -525,7 +525,7 @@ specification:
publisher: RedHat
offer: RHEL
sku: "7-LVM"
version: "7.9.2020111202"
version: "7.9.2022032203"
storage_os_disk:
disk_size_gb: 64
```
Expand All @@ -543,7 +543,7 @@ specification:
publisher: OpenLogic
offer: CentOS
sku: "7_9"
version: "7.9.2021020400"
version: "7.9.2022101800"
```

### How to disable merging LVM logical volumes
Expand Down
12 changes: 6 additions & 6 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 v1.0 we recommend the following image (AMI):

- RHEL: `RHEL-7.9_HVM-20210208-x86_64-0-Hourly2-GP2` (kernel 3.10.0-1160.15.2.el7.x86_64),
- Ubuntu: `ubuntu-bionic-18.04-amd64-server-20210323` (kernel 5.4.0-1041-aws).
- RHEL: `RHEL-7.9_HVM-20221027-x86_64-0-Hourly2-GP2` (kernel 3.10.0-1160.80.1.el7.x86_64),
- Ubuntu: `ubuntu-bionic-18.04-amd64-server-20221018` (kernel 5.4.0-1088-aws).

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

Expand All @@ -54,16 +54,16 @@ For more information, refer to [AWS Systems Manager User Guide](https://docs.aws

### Suggested OS images

For Epiphany v1.0 we recommend the following image (urn):
For Epiphany v1.0 we recommend the following image (urn):

- RHEL: `RHEL:7-LVM:7.9.2020111202` (kernel 3.10.0-1160.el7.x86_64),
- Ubuntu: `UbuntuServer:18.04-LTS:18.04.202103151` (kernel 5.4.0-1041-azure).
- RHEL: `RHEL:7-LVM:7.9.2022032203` (kernel 3.10.0-1160.59.1.el7.x86_64),
- Ubuntu: `UbuntuServer:18.04-LTS:18.04.202210180` (kernel 5.4.0-1094-azure).

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

### Patching methods

Azure has `Update Management` solution in `Azure Automation`. It gives you visibility into update compliance across Azure and other clouds, and on-premises. The feature allows you to create scheduled deployments that orchestrate the installation of updates within a defined maintenance window.
Azure has `Update Management` solution in `Azure Automation`. It gives you visibility into update compliance across Azure and other clouds, and on-premises. The feature allows you to create scheduled deployments that orchestrate the installation of updates within a defined maintenance window.
To manage updates that way please refer to [official documentation](https://docs.microsoft.com/en-us/azure/automation/update-management/update-mgmt-manage-updates-for-vm).

## Patching with OS specific package manager
Expand Down

0 comments on commit 217e002

Please sign in to comment.