Skip to content

Commit

Permalink
update config samples to include default cell template
Browse files Browse the repository at this point in the history
This change updates the config samples to inculde the cells templates
so that the default behavior fo the cell 1 creation can be modifed in
the future without impacting docs or ci jobs.

currently cell 0 and 1 are created by nova by default
in a feture operator version we plannign to remove the automatic creation
of cell 1 so that the procedure ot add the first and subsequent comptue
cells are identical.
  • Loading branch information
SeanMooney committed Jun 6, 2024
1 parent f1690a3 commit 478ee25
Show file tree
Hide file tree
Showing 9 changed files with 135 additions and 0 deletions.
15 changes: 15 additions & 0 deletions config/samples/core_v1beta1_openstackcontrolplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,21 @@ spec:
secret: osp-secret
nova:
template:
cellTemplates:
cell0:
cellDatabaseAccount: nova-cell0
cellDatabaseInstance: openstack
cellMessageBusInstance: rabbitmq
conductorServiceTemplate:
replicas: 1
hasAPIAccess: true
cell1:
cellDatabaseAccount: nova-cell1
cellDatabaseInstance: openstack-cell1
cellMessageBusInstance: rabbitmq-cell1
conductorServiceTemplate:
replicas: 1
hasAPIAccess: true
secret: osp-secret
heat:
enabled: false
Expand Down
15 changes: 15 additions & 0 deletions config/samples/core_v1beta1_openstackcontrolplane_galera.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,21 @@ spec:
nova:
template:
secret: osp-secret
cellTemplates:
cell0:
cellDatabaseAccount: nova-cell0
cellDatabaseInstance: openstack
cellMessageBusInstance: rabbitmq
conductorServiceTemplate:
replicas: 1
hasAPIAccess: true
cell1:
cellDatabaseAccount: nova-cell1
cellDatabaseInstance: openstack-cell1
cellMessageBusInstance: rabbitmq-cell1
conductorServiceTemplate:
replicas: 1
hasAPIAccess: true
heat:
enabled: false
template:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,21 @@ spec:
nova:
template:
secret: osp-secret
cellTemplates:
cell0:
cellDatabaseAccount: nova-cell0
cellDatabaseInstance: openstack
cellMessageBusInstance: rabbitmq
conductorServiceTemplate:
replicas: 1
hasAPIAccess: true
cell1:
cellDatabaseAccount: nova-cell1
cellDatabaseInstance: openstack-cell1
cellMessageBusInstance: rabbitmq-cell1
conductorServiceTemplate:
replicas: 1
hasAPIAccess: true
ironic:
template:
databaseInstance: openstack
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,21 @@ spec:
apiOverride:
route: {}
template:
cellTemplates:
cell0:
cellDatabaseAccount: nova-cell0
cellDatabaseInstance: openstack
cellMessageBusInstance: rabbitmq
conductorServiceTemplate:
replicas: 1
hasAPIAccess: true
cell1:
cellDatabaseAccount: nova-cell1
cellDatabaseInstance: openstack-cell1
cellMessageBusInstance: rabbitmq-cell1
conductorServiceTemplate:
replicas: 1
hasAPIAccess: true
apiServiceTemplate:
override:
service:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,21 @@ spec:
apiOverride:
route: {}
template:
cellTemplates:
cell0:
cellDatabaseAccount: nova-cell0
cellDatabaseInstance: openstack
cellMessageBusInstance: rabbitmq
conductorServiceTemplate:
replicas: 1
hasAPIAccess: true
cell1:
cellDatabaseAccount: nova-cell1
cellDatabaseInstance: openstack-cell1
cellMessageBusInstance: rabbitmq-cell1
conductorServiceTemplate:
replicas: 1
hasAPIAccess: true
apiServiceTemplate:
override:
service:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,21 @@ spec:
apiOverride:
route: {}
template:
cellTemplates:
cell0:
cellDatabaseAccount: nova-cell0
cellDatabaseInstance: openstack
cellMessageBusInstance: rabbitmq
conductorServiceTemplate:
replicas: 1
hasAPIAccess: true
cell1:
cellDatabaseAccount: nova-cell1
cellDatabaseInstance: openstack-cell1
cellMessageBusInstance: rabbitmq-cell1
conductorServiceTemplate:
replicas: 1
hasAPIAccess: true
apiServiceTemplate:
override:
service:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,21 @@ spec:
apiOverride:
route: {}
template:
cellTemplates:
cell0:
cellDatabaseAccount: nova-cell0
cellDatabaseInstance: openstack
cellMessageBusInstance: rabbitmq
conductorServiceTemplate:
replicas: 1
hasAPIAccess: true
cell1:
cellDatabaseAccount: nova-cell1
cellDatabaseInstance: openstack-cell1
cellMessageBusInstance: rabbitmq-cell1
conductorServiceTemplate:
replicas: 1
hasAPIAccess: true
apiServiceTemplate:
override:
service:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,21 @@ spec:
apiOverride:
route: {}
template:
cellTemplates:
cell0:
cellDatabaseAccount: nova-cell0
cellDatabaseInstance: openstack
cellMessageBusInstance: rabbitmq
conductorServiceTemplate:
replicas: 1
hasAPIAccess: true
cell1:
cellDatabaseAccount: nova-cell1
cellDatabaseInstance: openstack-cell1
cellMessageBusInstance: rabbitmq-cell1
conductorServiceTemplate:
replicas: 1
hasAPIAccess: true
apiServiceTemplate:
override:
service:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,21 @@ spec:
apiOverride:
route: {}
template:
cellTemplates:
cell0:
cellDatabaseAccount: nova-cell0
cellDatabaseInstance: openstack
cellMessageBusInstance: rabbitmq
conductorServiceTemplate:
replicas: 1
hasAPIAccess: true
cell1:
cellDatabaseAccount: nova-cell1
cellDatabaseInstance: openstack-cell1
cellMessageBusInstance: rabbitmq-cell1
conductorServiceTemplate:
replicas: 1
hasAPIAccess: true
apiServiceTemplate:
override:
service:
Expand Down

0 comments on commit 478ee25

Please sign in to comment.