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
+./stack.sh:main:1285                      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
+./stack.sh:exit_trap:487                  local r=1
++./stack.sh:exit_trap:488                  jobs -p
+./stack.sh:exit_trap:488                  jobs=
+./stack.sh:exit_trap:491                  [[ -n '' ]]
+./stack.sh:exit_trap:497                  kill_spinner
+./stack.sh:kill_spinner:383               '[' '!' -z '' ']'
+./stack.sh:exit_trap:499                  [[ 1 -ne 0 ]]
+./stack.sh:exit_trap:500                  echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:501                  generate-subunit 1490759452 1554 fail
+./stack.sh:exit_trap:502                  [[ -z /opt/stack/logs ]]
+./stack.sh:exit_trap:505                  /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2017-03-29-041647.txt for details
+./stack.sh:exit_trap:511                  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:

[[local|localrc]]
ADMIN_PASSWORD=MYPASSWORD
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
USE_SSL=True
edit retag flag offensive close merge delete