summaryrefslogtreecommitdiff
path: root/nova/virt/powervm
diff options
context:
space:
mode:
authorJackie Truong <jacklyn.truong@jhuapl.edu>2018-04-13 09:00:23 -0700
committerMatt Riedemann <mriedem.os@gmail.com>2018-06-12 16:58:25 -0400
commit577a4b1a54b55c3c261e46179d32045646a5a751 (patch)
tree6ae692137f4ad0c0157a856ba6ae82081be102af /nova/virt/powervm
parent595ea73c62d02e26b83151ade5c8923c077afc56 (diff)
downloadnova-577a4b1a54b55c3c261e46179d32045646a5a751.tar.gz
Plumb trusted_certs through the compute service
This makes the libvirt driver handle and pass trusted_certs through to the image download code that is now available. This also adds a new supports_trusted_certs compute driver capability which only the libvirt driver supports at this time. Attempts to create a server or rebuild a server on a host with a driver that does not support trusted_certs will fail if the instance is requesting image cert validation. We can also eventually expose this capability as a trait for more efficient scheduling. The nova-compute service RPC API version is incremented so that the nova-api paths for create/rebuild can determine if the deployment has been upgraded to the point of supporting trusted certs. Co-Authored-By: Dan Smith <dansmith@redhat.com> Co-Authored-By: Brianna Poulos <Brianna.Poulos@jhuapl.edu> Change-Id: Ie3130e104d7ca80289f1bd9f0fee9a7a198c263c Implements: blueprint nova-validate-certificates
Diffstat (limited to 'nova/virt/powervm')
-rw-r--r--nova/virt/powervm/driver.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/virt/powervm/driver.py b/nova/virt/powervm/driver.py
index 221efcef9e..9191de1f0b 100644
--- a/nova/virt/powervm/driver.py
+++ b/nova/virt/powervm/driver.py
@@ -75,6 +75,7 @@ class PowerVMDriver(driver.ComputeDriver):
'supports_tagged_attach_volume': False,
'supports_extend_volume': True,
'supports_multiattach': False,
+ 'supports_trusted_certs': False,
}
super(PowerVMDriver, self).__init__(virtapi)