Skip to content

Commit 8cbc28e

Browse files
Merge pull request #421 from shiftstack/osasinfra-ipv6
OSASINFRA-IPV6 DT A DT for deploying OpenShift on OpenStack using IPV6. This DT is inspired on the existing OSASINFRA DT but configuring the IPV6 endpoints. Reviewed-by: Harald <[email protected]> Reviewed-by: Ramon Lobillo Mateos Reviewed-by: Andrew Bays <[email protected]> Reviewed-by: Martin André Reviewed-by: John Fulton <[email protected]>
2 parents 1100a50 + 2627dad commit 8cbc28e

36 files changed

+1706
-2
lines changed
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
---
2+
vas:
3+
osasinfra-ipv6:
4+
stages:
5+
- path: examples/dt/osasinfra-ipv6/control-plane/nncp
6+
wait_conditions:
7+
- >-
8+
oc -n openstack wait nncp
9+
-l osp/nncm-config-type=standard
10+
--for jsonpath='{.status.conditions[0].reason}'=SuccessfullyConfigured
11+
--timeout=5m
12+
values:
13+
- name: network-values
14+
src_file: values.yaml
15+
build_output: nncp.yaml
16+
17+
- path: examples/dt/osasinfra-ipv6/control-plane
18+
wait_conditions:
19+
- >-
20+
oc -n openstack wait openstackcontrolplane
21+
controlplane
22+
--for condition=Ready
23+
--timeout=60m
24+
values:
25+
- name: network-values
26+
src_file: nncp/values.yaml
27+
- name: service-values.yaml
28+
src_file: service-values.yaml
29+
build_output: ../control-plane.yaml
30+
31+
- path: examples/dt/osasinfra-ipv6/edpm-pre-ceph/nodeset
32+
wait_conditions:
33+
- >-
34+
oc -n openstack wait
35+
osdpns openstack-edpm --for condition=SetupReady
36+
--timeout=10m
37+
values:
38+
- name: edpm-nodeset-values
39+
src_file: values.yaml
40+
build_output: nodeset-pre-ceph.yaml
41+
42+
- path: examples/dt/osasinfra-ipv6/edpm-pre-ceph/deployment
43+
wait_conditions:
44+
- >-
45+
oc -n openstack wait
46+
osdpns openstack-edpm --for condition=Ready
47+
--timeout=30m
48+
values:
49+
- name: edpm-deployment-values
50+
src_file: values.yaml
51+
build_output: deployment-pre-ceph.yaml
52+
post_stage_run:
53+
- name: Deploy Ceph
54+
type: playbook
55+
source: "../../playbooks/ceph.yml"
56+
inventory: "${HOME}/ci-framework-data/artifacts/zuul_inventory.yml"
57+
58+
- path: examples/dt/osasinfra-ipv6
59+
wait_conditions:
60+
- >-
61+
oc -n openstack wait
62+
osdpns openstack-edpm --for condition=SetupReady
63+
--timeout=10m
64+
values:
65+
- name: service-values
66+
src_file: service-values.yaml
67+
- name: edpm-nodeset-values-post-ceph
68+
src_file: values.yaml
69+
build_output: nodeset-post-ceph.yaml
70+
71+
- path: examples/dt/osasinfra-ipv6/deployment
72+
wait_conditions:
73+
- >-
74+
oc -n openstack wait
75+
osdpns openstack-edpm --for condition=Ready
76+
--timeout=40m
77+
values:
78+
- name: edpm-deployment-values-post-ceph
79+
src_file: values.yaml
80+
build_output: deployment-post-ceph.yaml

dt/osasinfra-ipv6/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Deployed Topology - osasinfra-ipv6
2+
3+
If you are looking for information on how to deploy the osasinfra-ipv6 DT, then
4+
please the [README](../../examples/dt/osasinfra-ipv6/README.md) in the examples
5+
directory.
6+
7+
This directory `dt/osasinfra-ipv6/`, exists so that the
8+
[kustomization.yaml](../../examples/dt/osasinfra-ipv6/kustomization.yaml) in
9+
the examples directory of osasinfra-ipv6 topology, reference it by path as a
10+
component. It's contents are likely uninteresting unless you want to understand
11+
how kustomize was implemented in this repository.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1alpha1
3+
kind: Component
4+
5+
transformers:
6+
# Set namespace to OpenStack on all namespaced objects without a namespace
7+
- |-
8+
apiVersion: builtin
9+
kind: NamespaceTransformer
10+
metadata:
11+
name: _ignored_
12+
namespace: openstack
13+
setRoleBindingSubjects: none
14+
unsetOnly: true
15+
fieldSpecs:
16+
- path: metadata/name
17+
kind: Namespace
18+
create: true
19+
20+
components:
21+
- ../../../../lib/dataplane/deployment
22+
23+
replacements:
24+
- source:
25+
kind: ConfigMap
26+
name: edpm-deployment-values-post-ceph
27+
fieldPath: data.deployment.name
28+
targets:
29+
- select:
30+
kind: OpenStackDataPlaneDeployment
31+
fieldPaths:
32+
- metadata.name
33+
options:
34+
create: true
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
apiVersion: v1
3+
data:
4+
ceph.client.openstack.keyring: _replaced_
5+
ceph.conf: _replaced_
6+
kind: Secret
7+
metadata:
8+
name: ceph-conf-files
9+
namespace: openstack
10+
type: Opaque
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
apiVersion: dataplane.openstack.org/v1beta1
3+
kind: OpenStackDataPlaneNodeSet
4+
metadata:
5+
name: openstack-edpm
6+
spec:
7+
nodeTemplate:
8+
extraMounts:
9+
- extraVolType: Ceph
10+
mounts:
11+
- mountPath: /etc/ceph
12+
name: ceph
13+
readOnly: true
14+
volumes:
15+
- name: ceph
16+
secret:
17+
secretName: ceph-conf-files

0 commit comments

Comments
 (0)