Issues enabling SSL with devstack -- bad handshake error

asked 2017-03-29 00:45:03 -0500

tgg7337 gravatar image

I'm trying to do a basic devstack configuration on Ubuntu Server 16.04. Without SSL, I can run the stack script with the default configuration and I have no issues. When I add USE_SSL = True to my local.conf file, and run the stack script again, I get issues., seemingly with setting up Cinder. The tail end of the terminal output is given below:

++functions-common:is_service_enabled:2048  grep xtrace
++functions-common:is_service_enabled:2048  set +o
+functions-common:is_service_enabled:2048  xtrace='set -o xtrace'
+functions-common:is_service_enabled:2049  set +o xtrace
+functions-common:is_service_enabled:2077  return 1
+./                      create_volume_types
+lib/cinder:create_volume_types:570        is_service_enabled c-api
+functions-common:is_service_enabled:2047  local xtrace
++functions-common:is_service_enabled:2048  set +o
++functions-common:is_service_enabled:2048  grep xtrace
+functions-common:is_service_enabled:2048  xtrace='set -o xtrace'
+functions-common:is_service_enabled:2049  set +o xtrace
+functions-common:is_service_enabled:2077  return 0
+lib/cinder:create_volume_types:570        [[ -n lvm:lvmdriver-1 ]]
+lib/cinder:create_volume_types:571        local be be_name
+lib/cinder:create_volume_types:572        for be in '${CINDER_ENABLED_BACKENDS//,/ }'
+lib/cinder:create_volume_types:573        be_name=lvmdriver-1
+lib/cinder:create_volume_types:574        openstack --os-region-name=RegionOne volume type create --property volume_backend_name=lvmdriver-1 lvmdriver-1
SSL exception connecting to https://x.x.x.x:8776/v2/77f61da28ec543d28b9923509134f5f7/types: ("bad handshake: Error([('SSL routines', 'SSL23_GET_SERVER_HELLO', 'unknown protocol')],)",)
+lib/cinder:create_volume_types:1          exit_trap
+./                  local r=1
++./                  jobs -p
+./                  jobs=
+./                  [[ -n '' ]]
+./                  kill_spinner
+./               '[' '!' -z '' ']'
+./                  [[ 1 -ne 0 ]]
+./                  echo 'Error on exit'
Error on exit
+./                  generate-subunit 1490759452 1554 fail
+./                  [[ -z /opt/stack/logs ]]
+./                  /opt/stack/devstack/tools/ -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2017-03-29-041647.txt for details
+./                  exit 1

Perhaps I don't know what to look for, but the world dump doesn't seem to have anything helpful from my point of view. I can provide this privately if needed.

Below is the entirety of my local.conf file:

edit retag flag offensive close merge delete