From 5877ef54d3c3a2392297123a70cbf4a03f93e977 Mon Sep 17 00:00:00 2001 From: Alex Schultz Date: Wed, 4 Mar 2020 14:43:44 -0700 Subject: [PATCH] Add overcloud-ceph image build yaml Added image yaml config files to build an overcloud-ceph image that does not have the HA, openvswitch or openstack client related packages installed by default. This image is useful for dedicated ceph nodes that do not have any openstack related services on them. Change-Id: I4e14a49c428b8b7530f49218b413c795e777851b --- image-yaml/overcloud-images-ceph-centos8.yaml | 8 ++++ image-yaml/overcloud-images-ceph-rhel8.yaml | 6 +++ image-yaml/overcloud-images-ceph.yaml | 38 +++++++++++++++++++ ...ph-image-build-yamls-8ad8fe8b013a314e.yaml | 8 ++++ 4 files changed, 60 insertions(+) create mode 100644 image-yaml/overcloud-images-ceph-centos8.yaml create mode 100644 image-yaml/overcloud-images-ceph-rhel8.yaml create mode 100644 image-yaml/overcloud-images-ceph.yaml create mode 100644 releasenotes/notes/add-overcloud-ceph-image-build-yamls-8ad8fe8b013a314e.yaml diff --git a/image-yaml/overcloud-images-ceph-centos8.yaml b/image-yaml/overcloud-images-ceph-centos8.yaml new file mode 100644 index 000000000..b5f484d8a --- /dev/null +++ b/image-yaml/overcloud-images-ceph-centos8.yaml @@ -0,0 +1,8 @@ +disk_images: + - + imagename: overcloud-ceph + type: qcow2 + distro: centos + release: 8 + elements: + - selinux-permissive diff --git a/image-yaml/overcloud-images-ceph-rhel8.yaml b/image-yaml/overcloud-images-ceph-rhel8.yaml new file mode 100644 index 000000000..222b2e647 --- /dev/null +++ b/image-yaml/overcloud-images-ceph-rhel8.yaml @@ -0,0 +1,6 @@ +disk_images: + - + imagename: overcloud-ceph + type: qcow2 + distro: rhel8 + release: 8 diff --git a/image-yaml/overcloud-images-ceph.yaml b/image-yaml/overcloud-images-ceph.yaml new file mode 100644 index 000000000..6fcdf76ba --- /dev/null +++ b/image-yaml/overcloud-images-ceph.yaml @@ -0,0 +1,38 @@ +disk_images: + - + imagename: overcloud-ceph + type: qcow2 + elements: + - baremetal + - dhcp-all-interfaces + - overcloud-agent + - overcloud-base + - overcloud-ceph-storage + - puppet-modules + - stable-interface-names + - grub2 + - element-manifest + - dynamic-login + - iptables + - enable-packages-install + - override-pip-and-virtualenv + - dracut-regenerate + - remove-machine-id + - remove-resolvconf + - openssh + - disable-nouveau + packages: + - python3-psutil + - python3-debtcollector + - sos + - device-mapper-multipath + - openstack-heat-agents + - os-net-config + - jq + - python3-dbus + environment: + FS_TYPE: xfs + DIB_PYTHON_VERSION: '3' + options: + - "--mkfs-options '-s size=4096'" + - "--min-tmpfs=7" diff --git a/releasenotes/notes/add-overcloud-ceph-image-build-yamls-8ad8fe8b013a314e.yaml b/releasenotes/notes/add-overcloud-ceph-image-build-yamls-8ad8fe8b013a314e.yaml new file mode 100644 index 000000000..400b5e05a --- /dev/null +++ b/releasenotes/notes/add-overcloud-ceph-image-build-yamls-8ad8fe8b013a314e.yaml @@ -0,0 +1,8 @@ +--- +features: + - | + Added `overcloud-images-ceph.yaml`, `overcloud-images-ceph-centos8.yaml`, + and `overcloud-images-ceph-rhel8.yaml` to allow an operator to build an + image that can be used for dedicated ceph nodes. This `overcloud-ceph` + image would not have the openstack client, ha or openvswitch related + packages.