Switch to Ubuntu focal (20.04) based image

Since we have switched from debian to ubuntu based image and changed the
name (in https://review.opendev.org/733078) we need to align it with
airshipctl repository.
Renaming the following names:
1) debian-custom.iso -> ubuntu-focal.iso
2) quay.io/airshipit/isogen:latest-debian_stable -> quay.io/airshipit/isogen:latest-ubuntu_focal

Updating the following packages and resources:
1) k8s 1.17.3 -> 1.18.6
2) docker 19.03.9 -> 19.03.12
3) Calico 3.9 -> 3.15

Change-Id: I7eaf382acb79016a511db6e0955fa932c02963c4
This commit is contained in:
Alexander Noskov 2020-08-11 20:09:35 +00:00
parent f61953bcf5
commit 582894d389
12 changed files with 46 additions and 44 deletions

View File

@ -26,20 +26,21 @@ stringData:
net.bridge.bridge-nf-call-iptables = 1 net.bridge.bridge-nf-call-iptables = 1
EOF EOF
- sysctl --system - sysctl --system
- curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
- curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
- echo "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | tee -a /etc/apt/sources.list
- echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | tee -a /etc/apt/sources.list
- apt-get update
- apt-get install -y
docker-ce="$(apt policy docker-ce | grep 19.03.9 | sort | head -n 1 | tr -s " " | cut -d ' ' -f 2 )"
docker-ce-cli="$(apt policy docker-ce-cli | grep 19.03.9 | sort | head -n 1 | tr -s " " | cut -d ' ' -f 2 )"
containerd.io
- swapoff -a - swapoff -a
- apt-get install -y kubelet=1.17.3-00 kubeadm=1.17.3-00 kubectl=1.17.3-00 - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
- apt-mark hold kubelet kubeadm kubectl - curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
- echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee -a /etc/apt/sources.list
# Replace xenial with focal or $(lsb_release -cs) once available
- echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | tee -a /etc/apt/sources.list
- apt update
- apt install -y
docker-ce="$(apt-cache policy docker-ce | grep 19.03.12 | sort | head -n 1 | tr -s " " | cut -d ' ' -f 2)"
docker-ce-cli="$(apt-cache policy docker-ce-cli | grep 19.03.12 | sort | head -n 1 | tr -s " " | cut -d ' ' -f 2)"
containerd.io
- apt install -y kubelet=1.18.6-00 kubeadm=1.18.6-00 kubectl=1.18.6-00
- apt-mark hold docker-ce docker-ce-cli containerd.io kubelet kubeadm kubectl
- kubeadm init --config /tmp/kubeadm.yaml - kubeadm init --config /tmp/kubeadm.yaml
- kubectl --kubeconfig /etc/kubernetes/admin.conf apply -f https://docs.projectcalico.org/v3.8/manifests/calico.yaml - kubectl --kubeconfig /etc/kubernetes/admin.conf apply -f https://docs.projectcalico.org/v3.15/manifests/calico.yaml
- mkdir -p /opt/metal3-dev-env/ironic/html/images - mkdir -p /opt/metal3-dev-env/ironic/html/images
write_files: write_files:
- content: | - content: |

View File

@ -4,7 +4,7 @@ metadata:
name: cluster-controlplane name: cluster-controlplane
spec: spec:
replicas: 1 replicas: 1
version: v1.17.0 version: v1.18.6
infrastructureTemplate: infrastructureTemplate:
kind: Metal3MachineTemplate kind: Metal3MachineTemplate
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3 apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
@ -17,18 +17,19 @@ spec:
net.bridge.bridge-nf-call-iptables = 1 net.bridge.bridge-nf-call-iptables = 1
EOF EOF
- sysctl --system - sysctl --system
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
- add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | tee -a /etc/apt/sources.list
- apt-get update
- apt-get install -y
docker-ce="$(apt policy docker-ce | grep 19.03.9 | sort | head -n 1 | tr -s " " | cut -d ' ' -f 2 )"
docker-ce-cli="$(apt policy docker-ce-cli | grep 19.03.9 | sort | head -n 1 | tr -s " " | cut -d ' ' -f 2 )"
containerd.io
- swapoff -a - swapoff -a
- apt-get install -y kubelet=1.17.3-00 kubeadm=1.17.3-00 kubectl=1.17.3-00 - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
- apt-mark hold kubelet kubeadm kubectl - curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
- echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee -a /etc/apt/sources.list
# Replace xenial with focal or $(lsb_release -cs) once available
- echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | tee -a /etc/apt/sources.list
- apt update
- apt install -y
docker-ce="$(apt-cache policy docker-ce | grep 19.03.12 | sort | head -n 1 | tr -s " " | cut -d ' ' -f 2)"
docker-ce-cli="$(apt-cache policy docker-ce-cli | grep 19.03.12 | sort | head -n 1 | tr -s " " | cut -d ' ' -f 2)"
containerd.io
- apt install -y kubelet=1.18.6-00 kubeadm=1.18.6-00 kubectl=1.18.6-00
- apt-mark hold docker-ce docker-ce-cli containerd.io kubelet kubeadm kubectl
initConfiguration: initConfiguration:
nodeRegistration: nodeRegistration:
name: '{{ ds.meta_data.local_hostname }}' name: '{{ ds.meta_data.local_hostname }}'
@ -41,7 +42,7 @@ spec:
kubeletExtraArgs: kubeletExtraArgs:
node-labels: 'metal3.io/uuid={{ ds.meta_data.uuid }}' node-labels: 'metal3.io/uuid={{ ds.meta_data.uuid }}'
postKubeadmCommands: postKubeadmCommands:
- kubectl --kubeconfig /etc/kubernetes/admin.conf apply -f https://docs.projectcalico.org/v3.9/manifests/calico.yaml - kubectl --kubeconfig /etc/kubernetes/admin.conf apply -f https://docs.projectcalico.org/v3.15/manifests/calico.yaml
--- ---
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3 apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
kind: Metal3MachineTemplate kind: Metal3MachineTemplate
@ -52,8 +53,8 @@ spec:
spec: spec:
image: image:
# NOTE (dukov) this should be overridden on lower levels # NOTE (dukov) this should be overridden on lower levels
url: https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img url: https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img
checksum: 4a6909d1480ac30d676accd7b37ec711 checksum: 2c890254ecbd4e6b4931f864ef72b337
hostSelector: hostSelector:
matchLabels: matchLabels:
airshipit.org/k8s-role: controlplane-host airshipit.org/k8s-role: controlplane-host

View File

@ -3,14 +3,14 @@ bootstrapInfo:
dummy_bootstrap_config: dummy_bootstrap_config:
container: container:
volume: /tmp/airship:/config volume: /tmp/airship:/config
image: quay.io/airshipit/isogen:latest-debian_stable image: quay.io/airshipit/isogen:latest-ubuntu_focal
containerRuntime: docker containerRuntime: docker
builder: builder:
userDataFileName: user-data userDataFileName: user-data
networkConfigFileName: network-config networkConfigFileName: network-config
outputMetadataFileName: output-metadata.yaml outputMetadataFileName: output-metadata.yaml
remoteDirect: remoteDirect:
isoUrl: http://localhost:8099/debian-custom.iso isoUrl: http://localhost:8099/ubuntu-focal.iso
clusters: clusters:
dummycluster: dummycluster:
clusterType: clusterType:

View File

@ -57,8 +57,8 @@ const (
AirshipPluginPathEnv = "AIRSHIP_KUSTOMIZE_PLUGINS" AirshipPluginPathEnv = "AIRSHIP_KUSTOMIZE_PLUGINS"
// Modules // Modules
AirshipDefaultBootstrapImage = "quay.io/airshipit/isogen:latest-debian_stable" AirshipDefaultBootstrapImage = "quay.io/airshipit/isogen:latest-ubuntu_focal"
AirshipDefaultIsoURL = "http://localhost:8099/debian-custom.iso" AirshipDefaultIsoURL = "http://localhost:8099/ubuntu-focal.iso"
AirshipDefaultManagementType = redfish.ClientType AirshipDefaultManagementType = redfish.ClientType
) )

View File

@ -3,14 +3,14 @@ bootstrapInfo:
dummy_bootstrap_config: dummy_bootstrap_config:
container: container:
volume: /tmp/airship:/config volume: /tmp/airship:/config
image: quay.io/airshipit/isogen:latest-debian_stable image: quay.io/airshipit/isogen:latest-ubuntu_focal
containerRuntime: docker containerRuntime: docker
builder: builder:
userDataFileName: user-data userDataFileName: user-data
networkConfigFileName: network-config networkConfigFileName: network-config
outputMetadataFileName: output-metadata.yaml outputMetadataFileName: output-metadata.yaml
remoteDirect: remoteDirect:
isoUrl: http://localhost:8099/debian-custom.iso isoUrl: http://localhost:8099/ubuntu-focal.iso
clusters: clusters:
dummycluster: dummycluster:
clusterType: clusterType:

View File

@ -3,14 +3,14 @@ bootstrapInfo:
dummy_bootstrap_config: dummy_bootstrap_config:
container: container:
volume: /tmp/airship:/config volume: /tmp/airship:/config
image: quay.io/airshipit/isogen:latest-debian_stable image: quay.io/airshipit/isogen:latest-ubuntu_focal
containerRuntime: docker containerRuntime: docker
builder: builder:
userDataFileName: user-data userDataFileName: user-data
networkConfigFileName: network-config networkConfigFileName: network-config
outputMetadataFileName: output-metadata.yaml outputMetadataFileName: output-metadata.yaml
remoteDirect: remoteDirect:
isoUrl: http://localhost:8099/debian-custom.iso isoUrl: http://localhost:8099/ubuntu-focal.iso
remoteType: redfish remoteType: redfish
clusters: clusters:
dummycluster: dummycluster:

View File

@ -33,7 +33,7 @@ import (
const ( const (
nodeID = "System.Embedded.1" nodeID = "System.Embedded.1"
isoPath = "https://localhost:8080/debian.iso" isoPath = "http://localhost:8099/ubuntu-focal.iso"
redfishURL = "redfish+https://localhost:2224/Systems/System.Embedded.1" redfishURL = "redfish+https://localhost:2224/Systems/System.Embedded.1"
systemActionRetries = 1 systemActionRetries = 1
systemRebootDelay = 0 systemRebootDelay = 0

View File

@ -15,7 +15,7 @@ airship_config_iso_gen_target_path: "{{ serve_dir }}"
airship_config_primary_repo_url: "https://review.opendev.org/airship/airshipctl" airship_config_primary_repo_url: "https://review.opendev.org/airship/airshipctl"
airship_config_manifest_directory: "{{ remote_work_dir | default(zuul.project.src_dir) | default(local_src_dir) }}" airship_config_manifest_directory: "{{ remote_work_dir | default(zuul.project.src_dir) | default(local_src_dir) }}"
airship_config_ephemeral_ip: "{{ airship_gate_ipam.nat_network.ephemeral_ip }}" airship_config_ephemeral_ip: "{{ airship_gate_ipam.nat_network.ephemeral_ip }}"
airship_config_iso_builder_docker_image: "quay.io/airshipit/isogen:latest-debian_stable" airship_config_iso_builder_docker_image: "quay.io/airshipit/isogen:latest-ubuntu_focal"
airship_config_site_path: manifests/site/test-site airship_config_site_path: manifests/site/test-site
airship_config_ca_data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUN5RENDQWJDZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRFNU1USXlOakE0TWpneU5Gb1hEVEk1TVRJeU16QTRNamd5TkZvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTTFSClM0d3lnajNpU0JBZjlCR0JUS1p5VTFwYmdDaGQ2WTdJektaZWRoakM2K3k1ZEJpWm81ZUx6Z2tEc2gzOC9YQ1MKenFPS2V5cE5RcDN5QVlLdmJKSHg3ODZxSFZZNjg1ZDVYVDNaOHNyVVRzVDR5WmNzZHAzV3lHdDM0eXYzNi9BSQoxK1NlUFErdU5JemN6bzNEdWhXR0ZoQjk3VjZwRitFUTBlVWN5bk05c2hkL3AwWVFzWDR1ZlhxaENENVpzZnZUCnBka3UvTWkyWnVGUldUUUtNeGpqczV3Z2RBWnBsNnN0L2ZkbmZwd1Q5cC9WTjRuaXJnMEsxOURTSFFJTHVrU2MKb013bXNBeDJrZmxITWhPazg5S3FpMEloL2cyczRFYTRvWURZemt0Y2JRZ24wd0lqZ2dmdnVzM3pRbEczN2lwYQo4cVRzS2VmVGdkUjhnZkJDNUZNQ0F3RUFBYU1qTUNFd0RnWURWUjBQQVFI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GQlU0T0M4eElZc3VvS1VQVHk1T0t6SVNMNEZnL0lEcG54STlrTXlmNStMR043aG8rblJmawpCZkpJblVYb0tERW1neHZzSWFGd1h6bGtSTDJzL1lKYUZRRzE1Uis1YzFyckJmd2dJOFA5Tkd6aEM1cXhnSmovCm04K3hPMGhXUmJIYklrQ21NekRib2pCSWhaL00rb3VYR1doei9TakpodXhZTVBnek5MZkFGcy9PMTVaSjd3YXcKZ3ZoSGc3L2E5UzRvUCtEYytPa3VrMkV1MUZjL0E5WHpWMzc5aWhNWW5ub3RQMldWeFZ3b0ZZQUg0NUdQcDZsUApCQmwyNnkxc2JMbjl6aGZYUUJIMVpFN0EwZVE9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K

View File

@ -7,10 +7,10 @@ bootstrapInfo:
userDataFileName: user-data userDataFileName: user-data
container: container:
containerRuntime: docker containerRuntime: docker
image: quay.io/airshipit/isogen:latest-debian_stable image: quay.io/airshipit/isogen:latest-ubuntu_focal
volume: /srv/iso:/config volume: /srv/iso:/config
remoteDirect: remoteDirect:
isoUrl: http://localhost:8099/debian-custom.iso isoUrl: http://localhost:8099/ubuntu-focal.iso
clusters: clusters:
default: default:
clusterType: clusterType:

View File

@ -23,13 +23,13 @@ export HTTPS_PROXY=${HTTPS_PROXY:-${https_proxy}}
export HTTP_PROXY=${HTTP_PROXY:-${http_proxy}} export HTTP_PROXY=${HTTP_PROXY:-${http_proxy}}
export NO_PROXY=${NO_PROXY:-${no_proxy}} export NO_PROXY=${NO_PROXY:-${no_proxy}}
export AIRSHIP_CONFIG_ISO_GEN_TARGET_PATH=${ISO_DIR} export AIRSHIP_CONFIG_ISO_GEN_TARGET_PATH=${ISO_DIR}
export AIRSHIP_CONFIG_ISO_BUILDER_DOCKER_IMAGE=${BUILDER_IMAGE:-"quay.io/airshipit/isogen:latest-debian_stable"} export AIRSHIP_CONFIG_ISO_BUILDER_DOCKER_IMAGE=${BUILDER_IMAGE:-"quay.io/airshipit/isogen:latest-ubuntu_focal"}
export REMOTE_TYPE=redfish export REMOTE_TYPE=redfish
export REMOTE_INSECURE=true export REMOTE_INSECURE=true
export REMOTE_PROXY=false export REMOTE_PROXY=false
export AIRSHIP_CONFIG_ISO_SERVE_HOST=${HOST:-"localhost"} export AIRSHIP_CONFIG_ISO_SERVE_HOST=${HOST:-"localhost"}
export AIRSHIP_CONFIG_ISO_PORT=${SERVE_PORT} export AIRSHIP_CONFIG_ISO_PORT=${SERVE_PORT}
export AIRSHIP_CONFIG_ISO_NAME=${ISO_NAME:-"debian-custom.iso"} export AIRSHIP_CONFIG_ISO_NAME=${ISO_NAME:-"ubuntu-focal.iso"}
export SYSTEM_ACTION_RETRIES=30 export SYSTEM_ACTION_RETRIES=30
export SYSTEM_REBOOT_DELAY=30 export SYSTEM_REBOOT_DELAY=30
export AIRSHIP_CONFIG_PRIMARY_REPO_BRANCH=${BRANCH:-"master"} export AIRSHIP_CONFIG_PRIMARY_REPO_BRANCH=${BRANCH:-"master"}

View File

@ -16,7 +16,7 @@ set -ex
TARGET_IMAGE_DIR="/srv/iso" TARGET_IMAGE_DIR="/srv/iso"
EPHEMERAL_DOMAIN_NAME="air-ephemeral" EPHEMERAL_DOMAIN_NAME="air-ephemeral"
TARGET_IMAGE_URL="https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img" TARGET_IMAGE_URL="https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img"
# TODO (dukov) this is needed due to sushy tools inserts cdrom image to # TODO (dukov) this is needed due to sushy tools inserts cdrom image to
# all vms. This can be removed once sushy tool is fixed # all vms. This can be removed once sushy tool is fixed

View File

@ -62,10 +62,10 @@ bootstrapInfo:
userDataFileName: user-data userDataFileName: user-data
container: container:
containerRuntime: docker containerRuntime: docker
image: quay.io/airshipit/isogen:latest-debian_stable image: quay.io/airshipit/isogen:latest-ubuntu_focal
volume: /srv/iso:/config volume: /srv/iso:/config
remoteDirect: remoteDirect:
isoUrl: http://localhost:8099/debian-custom.iso isoUrl: http://localhost:8099/ubuntu-focal.iso
clusters: clusters:
${CONTEXT}_${cluster}: ${CONTEXT}_${cluster}:
clusterType: clusterType: