summaryrefslogtreecommitdiff
path: root/nova/conf
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2022-07-19 13:44:28 +0100
committerBalazs Gibizer <gibi@redhat.com>2022-08-02 15:31:19 +0200
commitdeae81461123e7d61b3a6eca6f085a9d7ee5689e (patch)
tree420f913f6143af626b2171aeead2407b50304cd8 /nova/conf
parentc36782a96a96ecfc35f8af750c29741c769ed515 (diff)
downloadnova-deae81461123e7d61b3a6eca6f085a9d7ee5689e.tar.gz
Remove the PowerVM driver
The PowerVM driver was deprecated in November 2021 as part of change Icdef0a03c3c6f56b08ec9685c6958d6917bc88cb. As noted there, all indications suggest that this driver is no longer maintained and may be abandonware. It's been some time and there's still no activity here so it's time to abandon this for real. This isn't as tied into the codebase as the old XenAPI driver was, so removal is mostly a case of deleting large swathes of code. Lovely. Change-Id: Ibf4f36136f2c65adad64f75d665c00cf2de4b400 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'nova/conf')
-rw-r--r--nova/conf/__init__.py2
-rw-r--r--nova/conf/compute.py1
-rw-r--r--nova/conf/powervm.py66
3 files changed, 0 insertions, 69 deletions
diff --git a/nova/conf/__init__.py b/nova/conf/__init__.py
index b8b4d4906a..9e5a57afba 100644
--- a/nova/conf/__init__.py
+++ b/nova/conf/__init__.py
@@ -49,7 +49,6 @@ from nova.conf import novnc
from nova.conf import paths
from nova.conf import pci
from nova.conf import placement
-from nova.conf import powervm
from nova.conf import quota
from nova.conf import rdp
from nova.conf import rpc
@@ -99,7 +98,6 @@ novnc.register_opts(CONF)
paths.register_opts(CONF)
pci.register_opts(CONF)
placement.register_opts(CONF)
-powervm.register_opts(CONF)
quota.register_opts(CONF)
rdp.register_opts(CONF)
rpc.register_opts(CONF)
diff --git a/nova/conf/compute.py b/nova/conf/compute.py
index 5abe7694f8..9588c65413 100644
--- a/nova/conf/compute.py
+++ b/nova/conf/compute.py
@@ -41,7 +41,6 @@ Possible values:
* ``ironic.IronicDriver``
* ``vmwareapi.VMwareVCDriver``
* ``hyperv.HyperVDriver``
-* ``powervm.PowerVMDriver``
* ``zvm.ZVMDriver``
"""),
cfg.BoolOpt('allow_resize_to_same_host',
diff --git a/nova/conf/powervm.py b/nova/conf/powervm.py
deleted file mode 100644
index 7efdbedfb6..0000000000
--- a/nova/conf/powervm.py
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 2018 IBM Corporation
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-from oslo_config import cfg
-
-
-powervm_group = cfg.OptGroup(
- name="powervm",
- title="PowerVM Options",
- help="""
-PowerVM options allow cloud administrators to configure how OpenStack will work
-with the PowerVM hypervisor.
-""")
-
-powervm_opts = [
- cfg.FloatOpt(
- 'proc_units_factor',
- default=0.1,
- min=0.05,
- max=1,
- help="""
-Factor used to calculate the amount of physical processor compute power given
-to each vCPU. E.g. A value of 1.0 means a whole physical processor, whereas
-0.05 means 1/20th of a physical processor.
-"""),
- cfg.StrOpt('disk_driver',
- choices=['localdisk', 'ssp'], ignore_case=True,
- default='localdisk',
- help="""
-The disk driver to use for PowerVM disks. PowerVM provides support for
-localdisk and PowerVM Shared Storage Pool disk drivers.
-
-Related options:
-
-* volume_group_name - required when using localdisk
-
-"""),
- cfg.StrOpt('volume_group_name',
- default='',
- help="""
-Volume Group to use for block device operations. If disk_driver is localdisk,
-then this attribute must be specified. It is strongly recommended NOT to use
-rootvg since that is used by the management partition and filling it will cause
-failures.
-"""),
-]
-
-
-def register_opts(conf):
- conf.register_group(powervm_group)
- conf.register_opts(powervm_opts, group=powervm_group)
-
-
-def list_opts():
- return {powervm_group: powervm_opts}