Skip to content

Commit de3eca1

Browse files
Merge pull request #358 from fultonj/OSPRH-9222
Use pre/post Ceph servicesOverride in uni05epsilon HCI This patch applies very similar changes as the commit below for the same reasons but to uni05epsilon. commit 3ebad70 Jira: https://issues.redhat.com/browse/OSPRH-9222 Reviewed-by: Andrew Bays <[email protected]>
2 parents 710ac6c + ae17388 commit de3eca1

File tree

7 files changed

+71
-1
lines changed

7 files changed

+71
-1
lines changed

examples/dt/uni05epsilon/dataplane-post-ceph.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,12 @@ Wait for post-Ceph dataplane deployment to finish.
114114
```bash
115115
oc wait osdpd edpm-deployment-post-ceph --for condition=Ready --timeout=40m
116116
```
117+
118+
## Final OpenStackDataPlaneNodeSet services list
119+
120+
The `OpenStackDataPlaneNodeSet` must contain the full `services` list
121+
so that during updates all required services are updated. Thus, the
122+
pre-ceph and post-ceph deployments used a `servicesOverride` so that
123+
only a subset of the services would be configured either before or
124+
after Ceph was deployed. Any subsequent deployments should not pass a
125+
`servicesOverride` unless necessary.

examples/dt/uni05epsilon/deployment/kustomization.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,16 @@ components:
77

88
resources:
99
- values.yaml
10+
11+
replacements:
12+
- source:
13+
kind: ConfigMap
14+
name: edpm-deployment-values-post-ceph
15+
fieldPath: data.servicesOverride
16+
targets:
17+
- select:
18+
kind: OpenStackDataPlaneDeployment
19+
fieldPaths:
20+
- spec.servicesOverride
21+
options:
22+
create: true

examples/dt/uni05epsilon/deployment/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,10 @@ metadata:
99
data:
1010
deployment:
1111
name: edpm-deployment-post-ceph
12+
servicesOverride:
13+
- install-certs
14+
- ceph-client
15+
- ovn
16+
- neutron-metadata
17+
- libvirt
18+
- nova-custom

examples/dt/uni05epsilon/edpm-pre-ceph/deployment/kustomization.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,16 @@ components:
77

88
resources:
99
- values.yaml
10+
11+
replacements:
12+
- source:
13+
kind: ConfigMap
14+
name: edpm-deployment-values
15+
fieldPath: data.servicesOverride
16+
targets:
17+
- select:
18+
kind: OpenStackDataPlaneDeployment
19+
fieldPaths:
20+
- spec.servicesOverride
21+
options:
22+
create: true

examples/dt/uni05epsilon/edpm-pre-ceph/deployment/values.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,14 @@ metadata:
99
data:
1010
deployment:
1111
name: edpm-deployment-pre-ceph
12+
servicesOverride:
13+
- bootstrap
14+
- download-cache
15+
- configure-network
16+
- validate-network
17+
- install-os
18+
- ceph-hci-pre
19+
- configure-os
20+
- ssh-known-hosts
21+
- run-os
22+
- reboot-os

examples/dt/uni05epsilon/edpm-pre-ceph/nodeset/values.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@ data:
151151
subnetName: subnet1
152152
- name: tenant
153153
subnetName: subnet1
154-
154+
# The nova-custom service is omitted since it is not yet
155+
# defined. It will be defined and set after Ceph is deployed.
156+
# See deployment servicesOverride for effective services list.
155157
services:
156158
- bootstrap
157159
- download-cache
@@ -163,3 +165,8 @@ data:
163165
- ssh-known-hosts
164166
- run-os
165167
- reboot-os
168+
- install-certs
169+
- ceph-client
170+
- ovn
171+
- neutron-metadata
172+
- libvirt

examples/dt/uni05epsilon/values.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ data:
1414

1515
nodeset:
1616
services:
17+
- bootstrap
18+
- download-cache
19+
- configure-network
20+
- validate-network
21+
- install-os
22+
- ceph-hci-pre
23+
- configure-os
24+
- ssh-known-hosts
25+
- run-os
26+
- reboot-os
1727
- install-certs
1828
- ceph-client
1929
- ovn

0 commit comments

Comments
 (0)