Skip to content

Commit 470b147

Browse files
committed
Further fixes
1 parent 4238bce commit 470b147

File tree

1 file changed

+77
-77
lines changed

1 file changed

+77
-77
lines changed

doc/source/operations/gpu-in-openstack.rst

Lines changed: 77 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -281,41 +281,41 @@ Configure the VGPU devices:
281281
.. code-block:: yaml
282282
:caption: $KAYOBE_CONFIG_PATH/inventory/group_vars/compute_vgpu/vgpu
283283
284-
#nvidia-692 GRID A100D-4C
285-
#nvidia-693 GRID A100D-8C
286-
#nvidia-694 GRID A100D-10C
287-
#nvidia-695 GRID A100D-16C
288-
#nvidia-696 GRID A100D-20C
289-
#nvidia-697 GRID A100D-40C
290-
#nvidia-698 GRID A100D-80C
291-
#nvidia-699 GRID A100D-1-10C
292-
#nvidia-700 GRID A100D-2-20C
293-
#nvidia-701 GRID A100D-3-40C
294-
#nvidia-702 GRID A100D-4-40C
295-
#nvidia-703 GRID A100D-7-80C
296-
#nvidia-707 GRID A100D-1-10CME
297-
vgpu_definitions:
298-
# Configuring a MIG backed VGPU
299-
- pci_address: "0000:17:00.0"
300-
virtual_functions:
301-
- mdev_type: nvidia-700
302-
index: 0
303-
- mdev_type: nvidia-700
304-
index: 1
305-
- mdev_type: nvidia-700
306-
index: 2
307-
- mdev_type: nvidia-699
308-
index: 3
309-
mig_devices:
310-
"1g.10gb": 1
311-
"2g.20gb": 3
312-
# Configuring a card in a time-sliced configuration (non-MIG backed)
313-
- pci_address: "0000:65:00.0"
314-
virtual_functions:
315-
- mdev_type: nvidia-697
316-
index: 0
317-
- mdev_type: nvidia-697
318-
index: 1
284+
#nvidia-692 GRID A100D-4C
285+
#nvidia-693 GRID A100D-8C
286+
#nvidia-694 GRID A100D-10C
287+
#nvidia-695 GRID A100D-16C
288+
#nvidia-696 GRID A100D-20C
289+
#nvidia-697 GRID A100D-40C
290+
#nvidia-698 GRID A100D-80C
291+
#nvidia-699 GRID A100D-1-10C
292+
#nvidia-700 GRID A100D-2-20C
293+
#nvidia-701 GRID A100D-3-40C
294+
#nvidia-702 GRID A100D-4-40C
295+
#nvidia-703 GRID A100D-7-80C
296+
#nvidia-707 GRID A100D-1-10CME
297+
vgpu_definitions:
298+
# Configuring a MIG backed VGPU
299+
- pci_address: "0000:17:00.0"
300+
virtual_functions:
301+
- mdev_type: nvidia-700
302+
index: 0
303+
- mdev_type: nvidia-700
304+
index: 1
305+
- mdev_type: nvidia-700
306+
index: 2
307+
- mdev_type: nvidia-699
308+
index: 3
309+
mig_devices:
310+
"1g.10gb": 1
311+
"2g.20gb": 3
312+
# Configuring a card in a time-sliced configuration (non-MIG backed)
313+
- pci_address: "0000:65:00.0"
314+
virtual_functions:
315+
- mdev_type: nvidia-697
316+
index: 0
317+
- mdev_type: nvidia-697
318+
index: 1
319319
320320
.. _NVIDIA Kolla Ansible Configuration:
321321

@@ -330,34 +330,34 @@ Map through the kayobe inventory groups into kolla:
330330
.. code-block:: yaml
331331
:caption: $KAYOBE_CONFIG_PATH/kolla.yml
332332
333-
kolla_overcloud_inventory_top_level_group_map:
334-
control:
335-
groups:
336-
- controllers
337-
network:
338-
groups:
339-
- network
340-
compute_cpu:
341-
groups:
342-
- compute_cpu
343-
compute_gpu:
344-
groups:
345-
- compute_gpu
346-
compute_multi_instance_gpu:
347-
groups:
348-
- compute_multi_instance_gpu
349-
compute_vgpu:
350-
groups:
351-
- compute_vgpu
352-
compute:
353-
groups:
354-
- compute
355-
monitoring:
356-
groups:
357-
- monitoring
358-
storage:
359-
groups:
360-
"{{ kolla_overcloud_inventory_storage_groups }}"
333+
kolla_overcloud_inventory_top_level_group_map:
334+
control:
335+
groups:
336+
- controllers
337+
network:
338+
groups:
339+
- network
340+
compute_cpu:
341+
groups:
342+
- compute_cpu
343+
compute_gpu:
344+
groups:
345+
- compute_gpu
346+
compute_multi_instance_gpu:
347+
groups:
348+
- compute_multi_instance_gpu
349+
compute_vgpu:
350+
groups:
351+
- compute_vgpu
352+
compute:
353+
groups:
354+
- compute
355+
monitoring:
356+
groups:
357+
- monitoring
358+
storage:
359+
groups:
360+
"{{ kolla_overcloud_inventory_storage_groups }}"
361361
362362
Where the ``compute_<suffix>`` groups have been added to the kayobe defaults.
363363

@@ -413,21 +413,21 @@ Below is a snippet of openstack-config for defining a project, and a security gr
413413
port_range_min: 7070
414414
port_range_max: 7070
415415
416-
secgroup_nvidia_dls:
417-
name: nvidia-dls
418-
project: "{{ project_cloud_services.name }}"
419-
rules: "{{ secgroup_rules_nvidia_dls }}"
416+
secgroup_nvidia_dls:
417+
name: nvidia-dls
418+
project: "{{ project_cloud_services.name }}"
419+
rules: "{{ secgroup_rules_nvidia_dls }}"
420420
421-
openstack_security_groups:
422-
- "{{ secgroup_nvidia_dls }}"
421+
openstack_security_groups:
422+
- "{{ secgroup_nvidia_dls }}"
423423
424-
project_cloud_services:
425-
name: "cloud-services"
426-
description: "Internal Cloud services"
427-
project_domain: default
428-
user_domain: default
429-
users: []
430-
quotas: "{{ quotas_project }}"
424+
project_cloud_services:
425+
name: "cloud-services"
426+
description: "Internal Cloud services"
427+
project_domain: default
428+
user_domain: default
429+
users: []
430+
quotas: "{{ quotas_project }}"
431431
432432
Booting the VM:
433433

@@ -526,7 +526,7 @@ Disk image builder recipe to automatically license VGPU on boot
526526
element to configure the nvidia-gridd service in VGPU mode. This allows you to boot VMs that automatically license themselves.
527527
Snippets of ``openstack-config`` that allow you to do this are shown below:
528528

529-
.. code-block:: shell
529+
.. code-block:: yaml
530530
531531
image_rocky9_nvidia:
532532
name: "Rocky9-NVIDIA"

0 commit comments

Comments
 (0)