summaryrefslogtreecommitdiff
path: root/ironic/drivers/modules/drac/client.py
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2015-01-20 16:01:47 -0600
committerVictor Lowther <victor.lowther@gmail.com>2015-01-20 16:26:36 -0600
commit3efd667da367acc6585fc2b9be162741cbb41625 (patch)
tree7fca172c322809c5a8229d46f3010fe466b8a962 /ironic/drivers/modules/drac/client.py
parentecf0995d2bc280b018ad49fbd0698b4892b78df3 (diff)
downloadironic-3efd667da367acc6585fc2b9be162741cbb41625.tar.gz
DRAC: Fix wsman host verification
More accurately, fix that we were not explicitly disabling host SSL cert verification when we were disabling SSL peer cert verification. This is needed to allow the DRAC driver to function on Ubuntu 14.04 Change-Id: I354e4ad9c17bca3b2a0722f216f8082978abcd42
Diffstat (limited to 'ironic/drivers/modules/drac/client.py')
-rw-r--r--ironic/drivers/modules/drac/client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ironic/drivers/modules/drac/client.py b/ironic/drivers/modules/drac/client.py
index 166b2cfb2..90880426a 100644
--- a/ironic/drivers/modules/drac/client.py
+++ b/ironic/drivers/modules/drac/client.py
@@ -40,6 +40,7 @@ class Client(object):
drac_password)
# TODO(ifarkas): Add support for CACerts
pywsman.wsman_transport_set_verify_peer(pywsman_client, False)
+ pywsman.wsman_transport_set_verify_host(pywsman_client, False)
self.client = pywsman_client