-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add scaling down a DCN site #462
Add scaling down a DCN site #462
Conversation
krcmarik
commented
Dec 9, 2024
- Provide an example of CR with scaled down AZ1
- Take the control plane CR generation out to the separated step
One idea I have is that you could update It could say something like:
I assume the following will work based on my quick review of this PR but I haven't tried it myself. Could you add something like the above so that someone who only has architecture repository |
d517613
to
d348806
Compare
fd970eb
to
1c7ef68
Compare
This patch adds an updated CR of kind --- dataplane-nodeset-post-ceph_az2.yaml 2025-02-04 08:58:46.651827335 -0500
+++ control-plane-scale-downed_az2.yaml 2025-02-04 08:59:25.526111721 -0500
@@ -94,21 +94,6 @@
rbd_secret_uuid = aface4f9-2351-5d63-8de8-2663eae1f6af
rbd_cluster_name = az1
backend_availability_zone = az1
- az2:
- customServiceConfig: |
- [DEFAULT]
- enabled_backends = ceph
- glance_api_servers = https://glance-az2-internal.openstack.svc:9292
- [ceph]
- volume_backend_name = ceph
- volume_driver = cinder.volume.drivers.rbd.RBDDriver
- rbd_ceph_conf = /etc/ceph/az2.conf
- rbd_user = openstack
- rbd_pool = volumes
- rbd_flatten_volume_from_snapshot = False
- rbd_secret_uuid = b520bed5-c91f-57a3-92a6-a9f840e02708
- rbd_cluster_name = az2
- backend_availability_zone = az2
customServiceConfig: |
[DEFAULT]
storage_availability_zone = az0
@@ -164,19 +149,6 @@
sources:
- secret:
name: ceph-conf-files-az1
- - extraVolType: Ceph
- mounts:
- - mountPath: /etc/ceph
- name: ceph-az2
- readOnly: true
- propagation:
- - az2
- volumes:
- - name: ceph-az2
- projected:
- sources:
- - secret:
- name: ceph-conf-files-az2
name: v1
region: r1
galera:
@@ -194,10 +166,6 @@
replicas: 1
secret: osp-secret
storageRequest: 5G
- openstack-cell3:
- replicas: 1
- secret: osp-secret
- storageRequest: 5G
glance:
apiOverrides:
default:
@@ -210,7 +178,7 @@
customServiceConfig: |
[DEFAULT]
enabled_import_methods = [web-download,copy-image,glance-direct]
- enabled_backends = az0:rbd,az1:rbd,az2:rbd
+ enabled_backends = az0:rbd,az1:rbd
[glance_store]
default_backend = az0
[az0]
@@ -225,12 +193,6 @@
rbd_store_pool = images
rbd_store_user = openstack
rbd_thin_provisioning = True
- [az2]
- rbd_store_ceph_conf = /etc/ceph/az2.conf
- store_description = "az2 RBD backend"
- rbd_store_pool = images
- rbd_store_user = openstack
- rbd_thin_provisioning = True
networkAttachments:
- storage
override:
@@ -278,39 +240,6 @@
type: LoadBalancer
replicas: 1
type: edge
- az2:
- customServiceConfig: |
- [DEFAULT]
- enabled_import_methods = [web-download,copy-image,glance-direct]
- enabled_backends = az0:rbd,az2:rbd
- [glance_store]
- default_backend = az2
- [az0]
- rbd_store_ceph_conf = /etc/ceph/az0.conf
- store_description = "az0 RBD backend"
- rbd_store_pool = images
- rbd_store_user = openstack
- rbd_thin_provisioning = True
- [az2]
- rbd_store_ceph_conf = /etc/ceph/az2.conf
- store_description = "az2 RBD backend"
- rbd_store_pool = images
- rbd_store_user = openstack
- rbd_thin_provisioning = True
- networkAttachments:
- - storage
- override:
- service:
- internal:
- metadata:
- annotations:
- metallb.universe.tf/address-pool: internalapi
- metallb.universe.tf/allow-shared-ip: internalapi
- metallb.universe.tf/loadBalancerIPs: 172.17.0.82
- spec:
- type: LoadBalancer
- replicas: 1
- type: edge
keystoneEndpoint: az0
preserveJobs: false
storage:
@@ -527,25 +456,6 @@
spec:
type: LoadBalancer
replicas: 3
- cell3:
- cellDatabaseAccount: nova-cell3
- cellDatabaseInstance: openstack-cell3
- cellMessageBusInstance: rabbitmq-cell3
- conductorServiceTemplate:
- replicas: 1
- hasAPIAccess: true
- metadataServiceTemplate:
- enabled: true
- override:
- service:
- metadata:
- annotations:
- metallb.universe.tf/address-pool: internalapi
- metallb.universe.tf/allow-shared-ip: internalapi
- metallb.universe.tf/loadBalancerIPs: 172.17.0.83
- spec:
- type: LoadBalancer
- replicas: 3
metadataServiceTemplate:
enabled: false
preserveJobs: false
@@ -643,16 +553,6 @@
spec:
type: LoadBalancer
replicas: 3
- rabbitmq-cell3:
- override:
- service:
- metadata:
- annotations:
- metallb.universe.tf/address-pool: internalapi
- metallb.universe.tf/loadBalancerIPs: 172.17.0.88
- spec:
- type: LoadBalancer
- replicas: 3
secret: osp-secret
storageClass: lvms-local-storage
swift:
|
I'm +2 to merge this. Since it depends on openstack-k8s-operators/ci-framework#2591 I'll wait for that to merge first. cc @abays FYI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
1c7ef68
to
f377f0e
Compare
- Provide an example of CR with scaled down AZ1 - Take the control plane CR generation out to the separated step Depends-On: openstack-k8s-operators/ci-framework#2591
f377f0e
to
25a0bce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fultonj, krcmarik The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Build succeeded (gate pipeline). ✔️ noop SUCCESS in 0s |
b773b51
into
openstack-k8s-operators:main