From 5b86e33583e4b2012741098bcdc141ef6466c7c4 Mon Sep 17 00:00:00 2001 From: Jiri Podivin Date: Fri, 29 Nov 2024 13:13:28 +0100 Subject: [PATCH 1/3] Clarifying that NETWORK_ISOLATION is set to true by default Signed-off-by: Jiri Podivin --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5485c138..690c4805 100644 --- a/README.md +++ b/README.md @@ -103,8 +103,7 @@ REDHAT_OPERATORS=true make openstack ```bash make openstack_init ``` - -**Note** this will also run the openstack_prep target, which if NETWORK_ISOLATION == true will install nmstate and metallb operator, configure the secondary interface of the crc VM via nncp, creates the network-attachment-definitions for datacentre, internalapi, storage and tenant network. Also the metallb l2advertisement and the ipaddresspools get created. +**Note** this will also run the openstack_prep target, which will install nmstate and metallb operator, configure the secondary interface of the crc VM via nncp, creates the network-attachment-definitions for datacentre, internalapi, storage and tenant network, unless `NETWORK_ISOLATION == false`. Also the metallb l2advertisement and the ipaddresspools get created. The following NADs with ip ranges get configured: ``` @@ -130,6 +129,7 @@ HOSTNETWORK=false NETWORKS_ANNOTATION=\'[\{\"name\":\"storage\",\"namespace\":\" * deploy the ctlplane If `NETWORK_ISOLATION == true`, `config/samples/core_v1beta1_openstackcontrolplane_network_isolation.yaml` will be used, if `false` then `config/samples/core_v1beta1_openstackcontrolplane.yaml`. +`NETWORK_ISOLATION` is set to true by default. ```bash make openstack_deploy From 8c0394f5740bd65c830083222b004aab004ce4b7 Mon Sep 17 00:00:00 2001 From: Jiri Podivin Date: Fri, 29 Nov 2024 13:17:22 +0100 Subject: [PATCH 2/3] Recommending openstack_wait_deploy target Signed-off-by: Jiri Podivin --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 690c4805..a153e483 100644 --- a/README.md +++ b/README.md @@ -126,13 +126,13 @@ HOSTNETWORK=false NETWORKS_ANNOTATION=\'[\{\"name\":\"storage\",\"namespace\":\" **Note** as it is the first pod requesting an ip using the storage network, it will get the first IP from the configured range in the whereabouts ipam pool, which is 172.18.0.30 . -* deploy the ctlplane +* deploy the ctlplane and wait for conditions to be fulfilled. If `NETWORK_ISOLATION == true`, `config/samples/core_v1beta1_openstackcontrolplane_network_isolation.yaml` will be used, if `false` then `config/samples/core_v1beta1_openstackcontrolplane.yaml`. `NETWORK_ISOLATION` is set to true by default. ```bash -make openstack_deploy +make openstack_wait_deploy ``` (optional) To deploy with ceph as backend for glance and cinder, a sample config can be found at https://github.com/openstack-k8s-operators/openstack-operator/blob/main/config/samples/core_v1beta1_openstackcontrolplane_network_isolation_ceph.yaml . From 53057c5c2c16bc9b96eab1cbc7c9a2bb91af4fb7 Mon Sep 17 00:00:00 2001 From: Jiri Podivin Date: Wed, 4 Dec 2024 16:48:33 +0100 Subject: [PATCH 3/3] Adding note about need for PV adjustments Signed-off-by: Jiri Podivin --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a153e483..71dc2327 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,7 @@ EDPM_TOTAL_NODES=2 make edpm_compute ``` * create dependencies +**Note** scale number PVs to keep up with your number of nodes using `PV_NUM` variable. ```bash cd .. make crc_storage