@@ -45,7 +45,9 @@ virtualization and requires real baremetal hosts.
4545#### Nova Mdev Configuration
4646
4747To deploy vGPU devices comprised of different types as well as the capacity to
48- live migrate, you would need the below configuration applied to Nova.
48+ live migrate, define what mdev types should be enabled and map the respective
49+ mdev types to their pci address(es). Example below using nivida-228 and
50+ nvidia-229 as the types.
4951
5052``` YAML
5153---
@@ -70,94 +72,32 @@ metadata:
7072 namespace : openstack
7173` ` `
7274
75+ #### Openstack Dataplane Composable Service
76+
77+ An Openstack Dataplane service can used to customize how the GPU cards need to
78+ be installed on the EDPM nodes. An example of OSPDS service can be seen
79+ [here](../../../va/nvidia-mdev/edpm/nodeset/nova_sriov.yaml). With the OSDPS
80+ configured, the operator would need to make sure to include the service to the
81+ list of services for the Openstack Dataplane NodeSet.
82+
83+ **Note:** The example listed is not an officially supported procedure for
84+ installing Nvidia GPU's in RHOSO and is meant to be purely an example of how
85+ to leverage OSDPS. Please reference Nvidia's documentation when creating a
86+ procedure to install GPU's.
87+
7388#### Provider.yaml
7489
7590In order to easily take advantage of multiple Mdev types in an environment when
7691creating flavors, we can associate traits to specific resource providers. With
77- provier.yaml we can map those traits and apply them as part of a deployment.
78-
79- ` ` ` YAML
80- ---
81- apiVersion : v1
82- data :
83- provider.yaml : |
84- meta:
85- schema_version: "1.0"
86- providers:
87- - identification:
88- name: edpm-compute-0.ctlplane.example.com_pci_0000_04_00_0
89- traits:
90- additional:
91- - CUSTOM_NVIDIA_229
92- - identification:
93- name: edpm-compute-0.ctlplane.example.com_pci_0000_82_00_0
94- traits:
95- additional:
96- - CUSTOM_NVIDIA_228
97- - identification:
98- name: edpm-compute-1.ctlplane.example.com_pci_0000_04_00_0
99- traits:
100- additional:
101- - CUSTOM_NVIDIA_229
102- - identification:
103- name: edpm-compute-1.ctlplane.example.com_pci_0000_82_00_0
104- traits:
105- additional:
106- - CUSTOM_NVIDIA_228
107- kind : ConfigMap
108- name : compute-provider
109- namespace : openstack
110- ---
111- apiVersion : dataplane.openstack.org/v1beta1
112- kind : OpenStackDataPlaneService
113- metadata :
114- name : compute-provider
115- namespace : openstack
116- spec :
117- addCertMounts : false
118- caCerts : combined-ca-bundle
119- dataSources :
120- - configMapRef :
121- name : compute-provider
122- - configMapRef :
123- name : cpu-pinning-nova
124- - configMapRef :
125- name : sriov-nova
126- - secretRef :
127- name : nova-cell1-compute-config
128- - secretRef :
129- name : nova-migration-ssh-key
130- edpmServiceType : nova
131- playbook : osp.edpm.nova
132- tlsCerts :
133- default :
134- contents :
135- - dnsnames
136- - ips
137- issuer : osp-rootca-issuer-internal
138- networks :
139- - ctlplane
140- ---
141- apiVersion : dataplane.openstack.org/v1beta1
142- kind : OpenStackDataPlaneDeployment
143- metadata :
144- name : edpm-deployment-post-driver
145- namespace : openstack
146- spec :
147- ansibleExtraVars :
148- edpm_reboot_strategy : force
149- nodeSets :
150- - openstack-edpm
151- preserveJobs : true
152- servicesOverride :
153- - reboot-os
154- - compute-provider
155- ` ` `
92+ provider.yaml we can map those traits and apply them as part of a deployment.
93+ An example definition can be found [here](edpm-post-driver/nodeset/values.yaml)
94+ that associates different custom traits to different RPs.
15695
15796## Stages
158- All stages must be executed in the order listed below. Everything is required unless otherwise indicated.
97+ All stages must be executed in the order listed below. Everything is required
98+ unless otherwise indicated.
15999
1601001. [Install the OpenStack K8S operators and their dependencies](../../common/)
1611012. [Configuring networking and deploy the OpenStack control plane](control-plane.md)
1621023. [Configure and deploy the initial dataplane](edpm-pre.md)
163- 4. [Update Dataplane to deploy necessary vGPU MDev requirements ](edpm-post.md)
103+ 4. [Update Dataplane to reboot EDPM nodes and optionally apply provider.yaml ](edpm-post.md)
0 commit comments