Skip to content

Commit 4aff600

Browse files
lmicciniclaude
andcommitted
Add dt-sharded deployment topology with per-service galera, rabbitmq, and memcached
New deployment topology for testing per-service database, message bus, and cache sharding. Each OpenStack service gets a dedicated galera cluster, a dedicated rabbitmq cluster, and a dedicated memcached instance, all with replicas:1. Galera databases: openstack-barbican, openstack-cinder, openstack-designate, openstack-glance, openstack-horizon, openstack-keystone, openstack-neutron, openstack-octavia, openstack-nova, openstack-placement. Per-service rabbitmq clusters: rabbitmq-barbican, rabbitmq-cinder, rabbitmq-designate, rabbitmq-glance, rabbitmq-keystone, rabbitmq-neutron, rabbitmq-octavia. Nova cells use the standard rabbitmq (cell0/notifications) and rabbitmq-cell1 (cell1). Per-service memcached instances: memcached-keystone, memcached-glance, memcached-cinder, memcached-neutron, memcached-horizon, memcached-nova. Services without memcachedInstance support (barbican, designate, octavia, placement) are excluded. Enabled services: barbican, cinder, designate, glance, horizon, keystone, neutron, nova, octavia. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b6477ae commit 4aff600

17 files changed

Lines changed: 2741 additions & 0 deletions

File tree

automation/net-env/dt-sharded.yaml

Lines changed: 783 additions & 0 deletions
Large diffs are not rendered by default.

automation/vars/dt-sharded.yaml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
vas:
3+
dt-sharded:
4+
stages:
5+
- name: nncp-configuration
6+
path: examples/dt/dt-sharded/control-plane/networking/nncp
7+
wait_conditions:
8+
- >-
9+
oc -n openstack wait nncp
10+
-l osp/nncm-config-type=standard
11+
--for jsonpath='{.status.conditions[0].reason}'=SuccessfullyConfigured
12+
--timeout=5m
13+
values:
14+
- name: network-values
15+
src_file: values.yaml
16+
build_output: nncp.yaml
17+
18+
- name: network-configuration
19+
path: examples/dt/dt-sharded/control-plane/networking
20+
wait_conditions:
21+
- >-
22+
oc -n metallb-system wait pod
23+
-l app=metallb -l component=speaker
24+
--for condition=Ready
25+
--timeout=5m
26+
values:
27+
- name: network-values
28+
src_file: nncp/values.yaml
29+
build_output: network.yaml
30+
31+
- name: control-plane
32+
path: examples/dt/dt-sharded/control-plane
33+
wait_conditions:
34+
- >-
35+
oc -n openstack wait openstackcontrolplane
36+
controlplane
37+
--for condition=Ready
38+
--timeout=60m
39+
values:
40+
- name: network-values
41+
src_file: networking/nncp/values.yaml
42+
- name: service-values
43+
src_file: service-values.yaml
44+
build_output: control-plane.yaml
45+
46+
- name: edpm-deployment
47+
path: examples/dt/dt-sharded
48+
wait_conditions:
49+
- >-
50+
oc -n openstack wait openstackdataplanedeployment
51+
edpm-deployment
52+
--for condition=Ready
53+
--timeout=40m
54+
values:
55+
- name: edpm-nodeset-values
56+
src_file: values.yaml
57+
build_output: edpm.yaml
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1alpha1
3+
kind: Component
4+
5+
transformers:
6+
- |-
7+
apiVersion: builtin
8+
kind: NamespaceTransformer
9+
metadata:
10+
name: _ignored_
11+
namespace: openstack
12+
setRoleBindingSubjects: none
13+
unsetOnly: true
14+
fieldSpecs:
15+
- path: metadata/name
16+
kind: Namespace
17+
create: true
18+
19+
components:
20+
- ../../../lib/dataplane

0 commit comments

Comments
 (0)