diff options
author | Sylvain Bauza <sbauza@redhat.com> | 2020-03-23 18:19:22 +0100 |
---|---|---|
committer | Sylvain Bauza <sbauza@redhat.com> | 2020-04-09 17:54:26 +0200 |
commit | 5b5cbc64f9b4b024ec6686ed05e8b9b887d64ca1 (patch) | |
tree | c7e2f27805a2387a40abe6eb78b6ab3f44c12bf0 /nova/exception.py | |
parent | 4987e46b4c253348d884dec78e28605e04c044e5 (diff) | |
download | nova-5b5cbc64f9b4b024ec6686ed05e8b9b887d64ca1.tar.gz |
Support different vGPU types per pGPU
It's now possible to have a different vGPU type for each pGPU. By modifying
the config, you can say which PCI device (ie. a pGPU) should use a specific
vGPU type.
For upgrades, the behaviour from Train won't be changed since we only use
the first type if we don't have the dynamic options (so operators don't
need to change nova.conf before upgrading).
Implements: blueprint vgpu-multiple-types
Change-Id: I46f0a76811142888db2bbc66cc3fde04ff890c01
Diffstat (limited to 'nova/exception.py')
-rw-r--r-- | nova/exception.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index a5f16b85fc..5e8669bae1 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -2297,3 +2297,7 @@ class DeviceProfileError(NovaException): class AcceleratorRequestOpFailed(NovaException): msg_fmt = _("Failed to %(op)s accelerator requests: %(msg)s") + + +class InvalidLibvirtGPUConfig(NovaException): + msg_fmt = _('Invalid configuration for GPU devices: %(reason)s') |