From 984d25fb7e4245df7e05c9beffb154fce43bdd87 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Tue, 21 Sep 2021 14:21:53 +0200 Subject: [BUILD] Run Centos7.9 docker image for rpm download Change-Id: I1e4af38d326805c865adc4d920d95628e181fa2a Issue-ID: OOM-2837 Signed-off-by: Bartek Grzybowski --- build/create_repo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/create_repo.sh b/build/create_repo.sh index f2bde32d..51875172 100755 --- a/build/create_repo.sh +++ b/build/create_repo.sh @@ -57,7 +57,7 @@ set_environment () { ;; centos|rhel) distro_type="rhel" - docker_image="centos:centos7.6.1810" + docker_image="centos:centos7.9.2009" expected_dir="resources/pkg/rpm" container_name="${1}_repo${container_name_suffix}" ;; -- cgit 1.2.3-korg From 22cac4cbf97d0d7c5be6275bd3d79b54abd1a63d Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Wed, 22 Sep 2021 14:28:09 +0200 Subject: [MOLECULE] Upgrade playbook tests image to Centos7.9 Change-Id: I7b2d67a25da0433f073e13616cdbb0291fc1a7b9 Issue-ID: OOM-2837 Signed-off-by: Bartek Grzybowski --- ansible/test/images/docker/centos7/build.sh | 4 ++-- ansible/test/play-infrastructure/molecule/default/molecule.yml | 4 ++-- ansible/test/play-resources/molecule/default/molecule.yml | 4 ++-- ansible/test/play-resources/molecule/nfs/molecule.yml | 4 ++-- ansible/test/play-rke/molecule/default/molecule.yml | 4 ++-- ansible/test/play-rke/molecule/helm3/molecule.yml | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ansible/test/images/docker/centos7/build.sh b/ansible/test/images/docker/centos7/build.sh index dede5215..05d28c12 100755 --- a/ansible/test/images/docker/centos7/build.sh +++ b/ansible/test/images/docker/centos7/build.sh @@ -2,7 +2,7 @@ # COPYRIGHT NOTICE STARTS HERE -# Copyright 2018 © Samsung Electronics Co., Ltd. +# Copyright 2021 © Samsung Electronics Co., Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -19,5 +19,5 @@ # COPYRIGHT NOTICE ENDS HERE set -e -TAG=${1:-centos7.6} +TAG=${1:-centos7.9} docker build . -t molecule-centos:${TAG} diff --git a/ansible/test/play-infrastructure/molecule/default/molecule.yml b/ansible/test/play-infrastructure/molecule/default/molecule.yml index 6aea7a37..c39c8621 100644 --- a/ansible/test/play-infrastructure/molecule/default/molecule.yml +++ b/ansible/test/play-infrastructure/molecule/default/molecule.yml @@ -10,7 +10,7 @@ lint: | flake8 platforms: - name: infrastructure-server - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true override_command: false @@ -25,7 +25,7 @@ platforms: purge_networks: true - name: kubernetes-node-1 - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true override_command: false diff --git a/ansible/test/play-resources/molecule/default/molecule.yml b/ansible/test/play-resources/molecule/default/molecule.yml index 5c7dbd54..eaa42bc9 100644 --- a/ansible/test/play-resources/molecule/default/molecule.yml +++ b/ansible/test/play-resources/molecule/default/molecule.yml @@ -10,7 +10,7 @@ lint: | flake8 platforms: - name: resource-host - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true override_command: false @@ -22,7 +22,7 @@ platforms: - name: resource-data - name: infrastructure-server - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true override_command: false diff --git a/ansible/test/play-resources/molecule/nfs/molecule.yml b/ansible/test/play-resources/molecule/nfs/molecule.yml index 25a14065..bb040a57 100644 --- a/ansible/test/play-resources/molecule/nfs/molecule.yml +++ b/ansible/test/play-resources/molecule/nfs/molecule.yml @@ -10,7 +10,7 @@ lint: | flake8 platforms: - name: resource-host - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true override_command: false @@ -23,7 +23,7 @@ platforms: - name: resource-data - name: infrastructure-server - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true override_command: false diff --git a/ansible/test/play-rke/molecule/default/molecule.yml b/ansible/test/play-rke/molecule/default/molecule.yml index 13fe96b9..39945a25 100644 --- a/ansible/test/play-rke/molecule/default/molecule.yml +++ b/ansible/test/play-rke/molecule/default/molecule.yml @@ -10,7 +10,7 @@ lint: | flake8 platforms: - name: infrastructure-server - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true override_command: false @@ -20,7 +20,7 @@ platforms: - kubernetes-control-plane - kubernetes - name: kubernetes-node-1 - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true override_command: false diff --git a/ansible/test/play-rke/molecule/helm3/molecule.yml b/ansible/test/play-rke/molecule/helm3/molecule.yml index 13fe96b9..39945a25 100644 --- a/ansible/test/play-rke/molecule/helm3/molecule.yml +++ b/ansible/test/play-rke/molecule/helm3/molecule.yml @@ -10,7 +10,7 @@ lint: | flake8 platforms: - name: infrastructure-server - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true override_command: false @@ -20,7 +20,7 @@ platforms: - kubernetes-control-plane - kubernetes - name: kubernetes-node-1 - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true override_command: false -- cgit 1.2.3-korg From 8d20e07ff8588612cfdeb6b630c8d155268921cb Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Wed, 22 Sep 2021 14:29:07 +0200 Subject: [MOLECULE] Upgrade roles tests image to Centos7.9 Change-Id: I2ae6cba6e6e6bcc629dceb21609cb35cb75ea4cf Issue-ID: OOM-2837 Signed-off-by: Bartek Grzybowski --- ansible/roles/certificates/molecule/default/molecule.yml | 4 ++-- ansible/roles/chartmuseum/molecule/default/molecule.yml | 2 +- ansible/roles/chrony/molecule/default/molecule.yml | 4 ++-- ansible/roles/chrony/molecule/external_time_source/molecule.yml | 4 ++-- ansible/roles/dns/molecule/default/molecule.yml | 2 +- ansible/roles/docker/molecule/default/molecule.yml | 2 +- ansible/roles/k8s-persistent-volume/molecule/default/molecule.yml | 2 +- ansible/roles/kubectl/molecule/default/molecule.yml | 2 +- ansible/roles/nexus/molecule/default/molecule.yml | 2 +- ansible/roles/nfs/molecule/default/molecule.yml | 4 ++-- ansible/roles/nginx/molecule/default/molecule.yml | 2 +- ansible/roles/package-repository-check/molecule/default/molecule.yml | 4 ++-- ansible/roles/resource-data/molecule/default/molecule.yml | 4 ++-- ansible/roles/rke/molecule/default/molecule.yml | 4 ++-- ansible/roles/rke/molecule/etcd_storage/molecule.yml | 4 ++-- ansible/roles/vncserver/molecule/default/molecule.yml | 2 +- 16 files changed, 24 insertions(+), 24 deletions(-) diff --git a/ansible/roles/certificates/molecule/default/molecule.yml b/ansible/roles/certificates/molecule/default/molecule.yml index 98db057b..2672d5c9 100644 --- a/ansible/roles/certificates/molecule/default/molecule.yml +++ b/ansible/roles/certificates/molecule/default/molecule.yml @@ -10,7 +10,7 @@ lint: | flake8 platforms: - name: infrastructure-server - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true command: ${MOLECULE_DOCKER_COMMAND:-""} @@ -18,7 +18,7 @@ platforms: - infrastructure - name: kubernetes-node-1 - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true command: ${MOLECULE_DOCKER_COMMAND:-""} diff --git a/ansible/roles/chartmuseum/molecule/default/molecule.yml b/ansible/roles/chartmuseum/molecule/default/molecule.yml index 2b64ce94..6ef819f2 100644 --- a/ansible/roles/chartmuseum/molecule/default/molecule.yml +++ b/ansible/roles/chartmuseum/molecule/default/molecule.yml @@ -10,7 +10,7 @@ lint: | flake8 platforms: - name: instance-chartmuseum - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: True privileged: true override_command: False diff --git a/ansible/roles/chrony/molecule/default/molecule.yml b/ansible/roles/chrony/molecule/default/molecule.yml index 78d6f32a..93d89f52 100644 --- a/ansible/roles/chrony/molecule/default/molecule.yml +++ b/ansible/roles/chrony/molecule/default/molecule.yml @@ -10,7 +10,7 @@ lint: | flake8 platforms: - name: infra_host - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: True privileged: true volume_mounts: @@ -19,7 +19,7 @@ platforms: groups: - infrastructure - name: node0 - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: True privileged: true volume_mounts: diff --git a/ansible/roles/chrony/molecule/external_time_source/molecule.yml b/ansible/roles/chrony/molecule/external_time_source/molecule.yml index ac32f330..07810b86 100644 --- a/ansible/roles/chrony/molecule/external_time_source/molecule.yml +++ b/ansible/roles/chrony/molecule/external_time_source/molecule.yml @@ -10,7 +10,7 @@ lint: | flake8 platforms: - name: infra_host - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: True privileged: true volume_mounts: @@ -19,7 +19,7 @@ platforms: groups: - infrastructure - name: node0 - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: True privileged: true volume_mounts: diff --git a/ansible/roles/dns/molecule/default/molecule.yml b/ansible/roles/dns/molecule/default/molecule.yml index a2d2c204..c3ed309a 100644 --- a/ansible/roles/dns/molecule/default/molecule.yml +++ b/ansible/roles/dns/molecule/default/molecule.yml @@ -10,7 +10,7 @@ lint: | flake8 platforms: - name: infrastructure-server - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: True privileged: true override_command: False diff --git a/ansible/roles/docker/molecule/default/molecule.yml b/ansible/roles/docker/molecule/default/molecule.yml index adc7c543..7903a61d 100644 --- a/ansible/roles/docker/molecule/default/molecule.yml +++ b/ansible/roles/docker/molecule/default/molecule.yml @@ -10,7 +10,7 @@ lint: | flake8 platforms: - name: infrastructure-server - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true command: ${MOLECULE_DOCKER_COMMAND:-""} diff --git a/ansible/roles/k8s-persistent-volume/molecule/default/molecule.yml b/ansible/roles/k8s-persistent-volume/molecule/default/molecule.yml index dbbf0d81..eb53f93f 100644 --- a/ansible/roles/k8s-persistent-volume/molecule/default/molecule.yml +++ b/ansible/roles/k8s-persistent-volume/molecule/default/molecule.yml @@ -10,7 +10,7 @@ lint: | flake8 platforms: - name: infrastructure-k8s-persistent-volume - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true groups: - infrastructure diff --git a/ansible/roles/kubectl/molecule/default/molecule.yml b/ansible/roles/kubectl/molecule/default/molecule.yml index a91d5125..34faed14 100644 --- a/ansible/roles/kubectl/molecule/default/molecule.yml +++ b/ansible/roles/kubectl/molecule/default/molecule.yml @@ -10,7 +10,7 @@ lint: | flake8 platforms: - name: infrastructure-server - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: True privileged: true override_command: False diff --git a/ansible/roles/nexus/molecule/default/molecule.yml b/ansible/roles/nexus/molecule/default/molecule.yml index c5145611..63ff4fa6 100644 --- a/ansible/roles/nexus/molecule/default/molecule.yml +++ b/ansible/roles/nexus/molecule/default/molecule.yml @@ -10,7 +10,7 @@ lint: | flake8 platforms: - name: infrastructure-server - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true override_command: false diff --git a/ansible/roles/nfs/molecule/default/molecule.yml b/ansible/roles/nfs/molecule/default/molecule.yml index 121297e2..c7b991ef 100644 --- a/ansible/roles/nfs/molecule/default/molecule.yml +++ b/ansible/roles/nfs/molecule/default/molecule.yml @@ -10,7 +10,7 @@ lint: | flake8 platforms: - name: kubernetes-node-1 - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true command: ${MOLECULE_DOCKER_COMMAND:-""} @@ -25,7 +25,7 @@ platforms: - /dockerdata-nfs - name: kubernetes-node-2 - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true command: ${MOLECULE_DOCKER_COMMAND:-""} diff --git a/ansible/roles/nginx/molecule/default/molecule.yml b/ansible/roles/nginx/molecule/default/molecule.yml index c5145611..63ff4fa6 100644 --- a/ansible/roles/nginx/molecule/default/molecule.yml +++ b/ansible/roles/nginx/molecule/default/molecule.yml @@ -10,7 +10,7 @@ lint: | flake8 platforms: - name: infrastructure-server - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true override_command: false diff --git a/ansible/roles/package-repository-check/molecule/default/molecule.yml b/ansible/roles/package-repository-check/molecule/default/molecule.yml index 78d6f32a..93d89f52 100755 --- a/ansible/roles/package-repository-check/molecule/default/molecule.yml +++ b/ansible/roles/package-repository-check/molecule/default/molecule.yml @@ -10,7 +10,7 @@ lint: | flake8 platforms: - name: infra_host - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: True privileged: true volume_mounts: @@ -19,7 +19,7 @@ platforms: groups: - infrastructure - name: node0 - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: True privileged: true volume_mounts: diff --git a/ansible/roles/resource-data/molecule/default/molecule.yml b/ansible/roles/resource-data/molecule/default/molecule.yml index 89e3888f..5711a7f1 100644 --- a/ansible/roles/resource-data/molecule/default/molecule.yml +++ b/ansible/roles/resource-data/molecule/default/molecule.yml @@ -11,7 +11,7 @@ lint: | platforms: - name: resource-host - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true command: ${MOLECULE_DOCKER_COMMAND:-""} @@ -24,7 +24,7 @@ platforms: # - ${HOME}/resource-data:/data:rw # mount fs from host to get nfs exportfs task working - name: infrastructure-server - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true command: ${MOLECULE_DOCKER_COMMAND:-""} diff --git a/ansible/roles/rke/molecule/default/molecule.yml b/ansible/roles/rke/molecule/default/molecule.yml index 994d44fc..6f1aac24 100644 --- a/ansible/roles/rke/molecule/default/molecule.yml +++ b/ansible/roles/rke/molecule/default/molecule.yml @@ -10,7 +10,7 @@ lint: | flake8 platforms: - name: infrastructure-server - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true override_command: false @@ -20,7 +20,7 @@ platforms: - kubernetes-control-plane - kubernetes - name: kubernetes-node-1 - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true override_command: false diff --git a/ansible/roles/rke/molecule/etcd_storage/molecule.yml b/ansible/roles/rke/molecule/etcd_storage/molecule.yml index 2f01df16..cfd169e2 100644 --- a/ansible/roles/rke/molecule/etcd_storage/molecule.yml +++ b/ansible/roles/rke/molecule/etcd_storage/molecule.yml @@ -10,7 +10,7 @@ lint: | flake8 platforms: - name: infrastructure-server - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true override_command: false @@ -20,7 +20,7 @@ platforms: - kubernetes-control-plane - kubernetes - name: kubernetes-node-1 - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: true privileged: true override_command: false diff --git a/ansible/roles/vncserver/molecule/default/molecule.yml b/ansible/roles/vncserver/molecule/default/molecule.yml index 4486c00c..a4d2ad43 100644 --- a/ansible/roles/vncserver/molecule/default/molecule.yml +++ b/ansible/roles/vncserver/molecule/default/molecule.yml @@ -10,7 +10,7 @@ lint: | flake8 platforms: - name: infrastructure-server - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} pre_build_image: True privileged: true volumes: -- cgit 1.2.3-korg From fb54b60cc08d1c3b3d7d6df1fc7bf3120c6781e8 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Thu, 23 Sep 2021 12:57:41 +0200 Subject: [CICDANSIBLE] Update heat template "image_name" parameter description Change-Id: I8138cda0417abcef0471d35cca505c9ee709aeec Issue-ID: OOM-2837 Signed-off-by: Bartek Grzybowski --- tools/cicdansible/heat/installer.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cicdansible/heat/installer.yaml b/tools/cicdansible/heat/installer.yaml index b7b03d1a..b0e5d266 100644 --- a/tools/cicdansible/heat/installer.yaml +++ b/tools/cicdansible/heat/installer.yaml @@ -29,7 +29,7 @@ parameters: description: "need to specify a valid flavor" image_name: label: "image name" - description: "name of the image from which to create all instances, should be rhel 7.6 or centos image" + description: "name of the image from which to create all instances, should be rhel/centos 7.9 image" type: string constraints: - custom_constraint: glance.image -- cgit 1.2.3-korg From 4e0ec2607e029edaa5274b079257ac9a3634e0b5 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Thu, 23 Sep 2021 14:40:22 +0200 Subject: [ANSIBLE] Disable DNS management in Network Manager only if it's installed Additional check for package presence is required as Centos7.9 cloud image does not have it in contrary to RedHat7.9 Change-Id: I6dcfba0a0fdc1be16ce2ab06eb562168f7814538 Issue-ID: OOM-2837 Signed-off-by: Bartek Grzybowski --- ansible/roles/package-repository/tasks/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ansible/roles/package-repository/tasks/main.yml b/ansible/roles/package-repository/tasks/main.yml index 763ee659..3ccce081 100644 --- a/ansible/roles/package-repository/tasks/main.yml +++ b/ansible/roles/package-repository/tasks/main.yml @@ -1,4 +1,8 @@ --- +- name: Get installed packages list + package_facts: + manager: "auto" + - name: Disable DNS management in Network Manager ini_file: path: /etc/NetworkManager/NetworkManager.conf @@ -11,7 +15,7 @@ group: root mode: 0644 backup: false - when: ansible_os_family == 'RedHat' + when: ansible_os_family == 'RedHat' and 'NetworkManager' in ansible_facts.packages notify: - Restart NetworkManager -- cgit 1.2.3-korg From 632891dd505db333ac3ee401eb9eb1a9431d5d60 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Fri, 24 Sep 2021 12:25:33 +0200 Subject: [DOC] Update Rhel/Centos version in docs to 7.9 Change-Id: I0936b1aab2020566f10956baef49d9e65ac7a218 Issue-ID: OOM-2837 Signed-off-by: Bartek Grzybowski --- docs/BuildGuide.rst | 12 ++++++------ docs/InstallGuide.rst | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/BuildGuide.rst b/docs/BuildGuide.rst index 6c6463ae..15a265c2 100644 --- a/docs/BuildGuide.rst +++ b/docs/BuildGuide.rst @@ -7,16 +7,16 @@ Offline Installer Package Build Guide This document describes how to build offline installer packages. The build process should be triggered on a host with internet connectivity. It will retrieve all artifacts required for ONAP deployment based on both - static data list files and dynamically assembled ones. The host used for the procedure in this guide should be preferably a separate build server. -Procedure was completely tested on RHEL 7.6 as it’s the default target installation platform, however with small adaptations it should be applicable also for other platforms. -Some discrepancies when Centos 7.6 is used are described below as well. +Procedure was completely tested on RHEL 7.9 as it’s the default target installation platform, however with small adaptations it should be applicable also for other platforms. +Some discrepancies when Centos 7.9 is used are described below as well. Part 1. Prerequisites --------------------- -We assume that procedure is executed on RHEL 7.6 server with \~300G disc space, 16G+ RAM and internet connectivity. +We assume that procedure is executed on RHEL 7.9 server with \~300G disc space, 16G+ RAM and internet connectivity. -Some additional software packages are required by ONAP Offline platform building tooling. In order to install them following repos have to be configured for RHEL 7.6 platform. +Some additional software packages are required by ONAP Offline platform building tooling. In order to install them following repos have to be configured for RHEL 7.9 platform. @@ -26,7 +26,7 @@ Some additional software packages are required by ONAP Offline platform building :: ############ - # RHEL 7.6 # + # RHEL 7.9 # ############ # Register server @@ -46,7 +46,7 @@ Alternatively :: ############## - # Centos 7.6 # + # Centos 7.9 # ############## # required by custom docker version recommended by ONAP diff --git a/docs/InstallGuide.rst b/docs/InstallGuide.rst index 30f5c404..915dd6a6 100644 --- a/docs/InstallGuide.rst +++ b/docs/InstallGuide.rst @@ -48,14 +48,14 @@ Kubernetes cluster overview =================== ================== ==================== ============== ============ =============== KUBERNETES NODE OS NETWORK CPU RAM STORAGE =================== ================== ==================== ============== ============ =============== -**infra-node** RHEL/CentOS 7.6 ``10.8.8.100/24`` ``8 vCPUs`` ``8 GB`` ``100 GB`` -**kube-node1** RHEL/CentOS 7.6 ``10.8.8.101/24`` ``16 vCPUs`` ``56+ GB`` ``100 GB`` -**kube-node2** RHEL/CentOS 7.6 ``10.8.8.102/24`` ``16 vCPUs`` ``56+ GB`` ``100 GB`` -**kube-node3** RHEL/CentOS 7.6 ``10.8.8.103/24`` ``16 vCPUs`` ``56+ GB`` ``100 GB`` +**infra-node** RHEL/CentOS 7.9 ``10.8.8.100/24`` ``8 vCPUs`` ``8 GB`` ``100 GB`` +**kube-node1** RHEL/CentOS 7.9 ``10.8.8.101/24`` ``16 vCPUs`` ``56+ GB`` ``100 GB`` +**kube-node2** RHEL/CentOS 7.9 ``10.8.8.102/24`` ``16 vCPUs`` ``56+ GB`` ``100 GB`` +**kube-node3** RHEL/CentOS 7.9 ``10.8.8.103/24`` ``16 vCPUs`` ``56+ GB`` ``100 GB`` SUM ``56 vCPUs`` ``176+ GB`` ``400 GB`` =========================================================== ============== ============ =============== -As of now, the offline installer supports only **RHEL 7.x** and **CentOS 7.6** distributions, with at least *@core* and *@base* package groups installed including *Mandatory* and *Default* package sets. So, your VMs should be preinstalled with this operating system - the hypervisor and platform can be of your choosing. +As of now, the offline installer supports only **RHEL 7.x** and **CentOS 7.9** distributions, with at least *@core* and *@base* package groups installed including *Mandatory* and *Default* package sets. So, your VMs should be preinstalled with this operating system - the hypervisor and platform can be of your choosing. We will expect from now on that you installed four VMs and they are connected to the shared network. All VMs must be reachable from *install-server* (below), which can be the hypervisor, *infra-node* or completely different host. But in either of these cases the *install-server* must be able to connect over ssh to all of these nodes. -- cgit 1.2.3-korg