File tree Expand file tree Collapse file tree 14 files changed +45
-45
lines changed
doc/source/contributor/environments Expand file tree Collapse file tree 14 files changed +45
-45
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,15 @@ This environment creates a Universe-from-nothing_-style deployment of Kayobe con
6
6
7
7
.. _Universe-from-nothing : https://github.com/stackhpc/a-universe-from-nothing
8
8
9
+ .. warning ::
10
+
11
+ This guide was written for the Yoga release and has not been validated for
12
+ Zed. Proceed with caution.
13
+
9
14
Prerequisites
10
15
=============
11
16
12
- * a baremetal node with at least 64GB of RAM running CentOS Stream 8 (or Ubuntu)
17
+ * a baremetal node with at least 64GB of RAM running Rocky Linux 9 (or Ubuntu Jammy 22.04 )
13
18
14
19
* access to the test pulp server on SMS lab
15
20
Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ The ``ci-builder`` Kayobe environment is used to build Kolla container images.
6
6
Images are built using package repositories in the StackHPC development Pulp
7
7
service, and pushed there once built.
8
8
9
+ .. warning ::
10
+
11
+ This guide was written for the Yoga release and has not been validated for
12
+ Zed. Proceed with caution.
13
+
9
14
Prerequisites
10
15
=============
11
16
@@ -19,12 +24,6 @@ Access the host via SSH.
19
24
20
25
Install package dependencies.
21
26
22
- On CentOS:
23
-
24
- .. parsed-literal ::
25
-
26
- sudo dnf install -y python3-virtualenv
27
-
28
27
On Ubuntu:
29
28
30
29
.. parsed-literal ::
Original file line number Diff line number Diff line change @@ -4,13 +4,14 @@ Multinode Test Environment
4
4
5
5
.. warning ::
6
6
7
- The initial setup guide here is designed for the Yoga release of OpenStack. Proceed with caution.
7
+ This guide was written for the Yoga release and has not been validated for
8
+ Zed. Proceed with caution.
8
9
9
10
Set up hosts
10
11
============
11
- 1. Create four baremetal instances with a centos 8 stream LVM image, and a
12
- Centos 8 stream vm
13
- 2. SSH into each baremetal and run ``sudo chown -R centos :. `` in the home
12
+ 1. Create four baremetal instances with a Rocky Linux 9 LVM image, and a
13
+ Rocky Linux 9 vm.
14
+ 2. SSH into each baremetal and run ``sudo chown -R cloud-user :. `` in the home
14
15
directory, then add the lines::
15
16
16
17
10.0.0.34 pelican pelican.service.compute.sms-lab.cloud
Original file line number Diff line number Diff line change 4
4
# ##############################################################################
5
5
# OS distribution.
6
6
7
- # OS distribution name. Valid options are "centos ", "ubuntu". Default is
8
- # "centos ".
7
+ # OS distribution name. Valid options are "rocky ", "ubuntu". Default is
8
+ # "rocky ".
9
9
os_distribution : " {{ lookup('pipe', '. /etc/os-release && echo $ID') | trim }}"
10
10
11
- # OS release. Valid options are "8-stream " when os_distribution is "centos ", or
12
- # "focal " when os_distribution is "ubuntu".
11
+ # OS release. Valid options are "9 " when os_distribution is "rocky ", or
12
+ # "jammy " when os_distribution is "ubuntu".
13
13
os_release : >-
14
14
{{ (lookup('pipe', '. /etc/os-release && echo $VERSION_CODENAME') | trim) if os_distribution == 'ubuntu' else
15
- (lookup('pipe', '. /etc/os-release && echo $VERSION_ID') | trim | split('.') | first) if os_distribution == 'rocky' else
16
- 'stream-8' }}
15
+ (lookup('pipe', '. /etc/os-release && echo $VERSION_ID') | trim | split('.') | first) if os_distribution == 'rocky' }}
Original file line number Diff line number Diff line change 4
4
create_ipa_image : false
5
5
download_ipa : true
6
6
7
- # Use a locally hosted CentOS8 cloud image.
7
+ # Use a locally hosted cloud image.
8
8
use_cirros : true
9
9
{% if os_distribution == 'ubuntu' %}
10
- cirros_deploy_image_upstream_url : " https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img"
11
- {% elif os_distribution == 'rocky' and os_release == '9' %}
12
- cirros_deploy_image_upstream_url : " https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2"
10
+ cirros_deploy_image_upstream_url : " https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
13
11
{% else %}
14
- cirros_deploy_image_upstream_url : " https://cloud.centos .org/centos/8-stream/x86_64 /images/CentOS-Stream -GenericCloud-8-20220913.0 .x86_64.qcow2"
12
+ cirros_deploy_image_upstream_url : " https://dl.rockylinux .org/pub/rocky/9 /images/x86_64/Rocky-9 -GenericCloud.latest .x86_64.qcow2"
15
13
{% endif %}
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ if [ sudo vgdisplay | grep -q lvm2 ]; then
12
12
fi
13
13
14
14
BASE_PATH=~
15
- KAYOBE_BRANCH=stackhpc/yoga
16
- KAYOBE_CONFIG_BRANCH=stackhpc/yoga
15
+ KAYOBE_BRANCH=stackhpc/zed
16
+ KAYOBE_CONFIG_BRANCH=stackhpc/zed
17
17
18
18
if [[ ! -f $BASE_PATH /vault-pw ]]; then
19
19
echo " Vault password file not found at $BASE_PATH /vault-pw"
Original file line number Diff line number Diff line change 45
45
# ##############################################################################
46
46
# OS distribution.
47
47
48
- # OS distribution name. Valid options are "centos ", "ubuntu". Default is
49
- # "centos ".
48
+ # OS distribution name. Valid options are "rocky ", "ubuntu". Default is
49
+ # "rocky ".
50
50
os_distribution : " {{ lookup('pipe', '. /etc/os-release && echo $ID') | trim }}"
51
51
52
- # OS release. Valid options are "8-stream " when os_distribution is "centos ", or
53
- # "focal " when os_distribution is "ubuntu".
52
+ # OS release. Valid options are "9 " when os_distribution is "rocky ", or
53
+ # "jammy " when os_distribution is "ubuntu".
54
54
os_release : >-
55
55
{{ (lookup('pipe', '. /etc/os-release && echo $VERSION_CODENAME') | trim) if os_distribution == 'ubuntu' else
56
- (lookup('pipe', '. /etc/os-release && echo $VERSION_ID') | trim | split('.') | first) if os_distribution == 'rocky' else
57
- 'stream-8' }}
56
+ (lookup('pipe', '. /etc/os-release && echo $VERSION_ID') | trim | split('.') | first) if os_distribution == 'rocky' }}
58
57
59
58
# ##############################################################################
60
59
Original file line number Diff line number Diff line change 4
4
# ##############################################################################
5
5
# OS distribution.
6
6
7
- # OS distribution name. Valid options are "centos ", "ubuntu". Default is
8
- # "centos ".
7
+ # OS distribution name. Valid options are "rocky ", "ubuntu". Default is
8
+ # "rocky ".
9
9
os_distribution : " {{ lookup('pipe', '. /etc/os-release && echo $ID') | trim }}"
10
10
11
11
# ##############################################################################
Original file line number Diff line number Diff line change 45
45
# ##############################################################################
46
46
# OS distribution.
47
47
48
- # OS distribution name. Valid options are "centos ", "ubuntu". Default is
49
- # "centos ".
48
+ # OS distribution name. Valid options are "rocky ", "ubuntu". Default is
49
+ # "rocky ".
50
50
os_distribution : " {{ lookup('pipe', '. /etc/os-release && echo $ID') | trim }}"
51
51
52
- # OS release. Valid options are "8-stream " when os_distribution is "centos ", or
53
- # "focal " when os_distribution is "ubuntu".
52
+ # OS release. Valid options are "9 " when os_distribution is "rocky ", or
53
+ # "jammy " when os_distribution is "ubuntu".
54
54
os_release : >-
55
55
{{ (lookup('pipe', '. /etc/os-release && echo $VERSION_CODENAME') | trim) if os_distribution == 'ubuntu' else
56
- (lookup('pipe', '. /etc/os-release && echo $VERSION_ID') | trim | split('.') | first) if os_distribution == 'rocky' else
57
- 'stream-8' }}
56
+ (lookup('pipe', '. /etc/os-release && echo $VERSION_ID') | trim | split('.') | first) if os_distribution == 'rocky' }}
57
+
58
58
# ##############################################################################
59
59
# Hashicorp vault, Barbican, and TLS configuration
60
60
Original file line number Diff line number Diff line change 6
6
# Copy the self-signed CA into the kolla containers
7
7
kolla_copy_ca_into_containers : " yes"
8
8
# Use the following trust store within the container
9
- openstack_cacert : " {{ '/etc/pki/tls/certs/ca-bundle.crt' if os_distribution in ['centos', ' rocky'] else '/etc/ssl/certs/ca-certificates.crt' }}"
9
+ openstack_cacert : " {{ '/etc/pki/tls/certs/ca-bundle.crt' if os_distribution == ' rocky' else '/etc/ssl/certs/ca-certificates.crt' }}"
10
10
11
11
# Backend TLS config
12
12
# Enable backend TLS
Original file line number Diff line number Diff line change 7
7
# Whether to build host disk images with DIB directly instead of through
8
8
# Bifrost. Setting it to true disables Bifrost image build and allows images to
9
9
# be built with the `kayobe overcloud host image build` command. Default value
10
- # is {{ os_distribution == 'rocky' }}. This will change in a future release .
10
+ # is true .
11
11
overcloud_dib_build_host_images : " {{ not stackhpc_download_overcloud_host_images | bool }}"
12
12
13
13
# List of additional host packages to install.
Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ stackhpc_overcloud_dib_name: "deployment_image"
23
23
stackhpc_overcloud_dib_elements :
24
24
- " {{ os_distribution }}-{% if os_distribution == 'rocky' %}container{% else %}minimal{% endif %}"
25
25
- " cloud-init-datasources"
26
- - " {% if os_distribution in ['centos', ' rocky'] %}disable-selinux{% endif %}"
26
+ - " {% if os_distribution == ' rocky' %}disable-selinux{% endif %}"
27
27
- " enable-serial-console"
28
28
- " {% if kayobe_environment == 'ci-builder' %}etc-hosts{% endif %}"
29
29
- " vm"
30
30
- " block-device-efi"
31
31
- " cloud-init"
32
- - " {% if os_distribution in ['centos', ' rocky'] %}dracut-regenerate{% endif %}"
32
+ - " {% if os_distribution == ' rocky' %}dracut-regenerate{% endif %}"
33
33
- " {% if os_distribution == 'ubuntu' %}lvm{% endif %}"
34
34
- " openssh-server"
35
35
- " {% if os_distribution == 'ubuntu' %}sudoers{% endif %}"
@@ -71,7 +71,6 @@ stackhpc_overcloud_dib_packages:
71
71
- " {% if os_distribution == 'ubuntu' %}iputils-ping{% endif %}"
72
72
- " {% if os_distribution == 'ubuntu' %}curl{% endif %}"
73
73
- " {% if os_distribution == 'ubuntu' %}apt-utils{% endif %}"
74
- - " {% if os_distribution == 'centos' %}openssh-clients{% endif %}"
75
74
- " {% if os_distribution == 'rocky' %}NetworkManager-config-server{% endif %}"
76
75
77
76
# StackHPC overcloud DIB image block device configuration.
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ Generate Terraform variables:
84
84
cat << EOF > terraform.tfvars
85
85
ssh_public_key = "id_rsa.pub"
86
86
aio_vm_name = "kayobe-aio"
87
- aio_vm_image = "CentOS-stream8 "
87
+ aio_vm_image = "Rocky9 "
88
88
aio_vm_flavor = "general.v1.medium"
89
89
aio_vm_network = "stackhpc-ipv4-geneve"
90
90
aio_vm_subnet = "stackhpc-ipv4-geneve-subnet"
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ variable "aio_vm_name" {
13
13
14
14
variable "aio_vm_image" {
15
15
type = string
16
- default = " CentOS-stream8 "
16
+ default = " Rocky9 "
17
17
}
18
18
19
19
variable "aio_vm_interface" {
You can’t perform that action at this time.
0 commit comments