Unable to create Devstack setup for IPV6

asked 2017-05-18 00:28:19 -0600

Anirudh gravatar image

updated 2017-05-18 00:30:15 -0600

Bernd Bausch gravatar image

Hi,

We are trying to deploy Devstack setup for both Liberty and Mitaka IPV6 configuration, but unable to proceed with the following error:-

+./stack.sh:main:1016                      cat
+./stack.sh:main:1031                      source /home/stack/devstack/userrc_early
++userrc_early:source:4                     export OS_IDENTITY_API_VERSION=3
++userrc_early:source:4                     OS_IDENTITY_API_VERSION=3
++userrc_early:source:5                     export 'OS_AUTH_URL=http://[abcd:abcd:abcd::241]:35357'
++userrc_early:source:5                     OS_AUTH_URL='http://[abcd:abcd:abcd::241]:35357'
++userrc_early:source:6                     export OS_USERNAME=admin
++userrc_early:source:6                     OS_USERNAME=admin
++userrc_early:source:7                     export OS_USER_DOMAIN_ID=default
++userrc_early:source:7                     OS_USER_DOMAIN_ID=default
++userrc_early:source:8                     export OS_PASSWORD=abc123
++userrc_early:source:8                     OS_PASSWORD=abc123
++userrc_early:source:9                     export OS_PROJECT_NAME=admin
++userrc_early:source:9                     OS_PROJECT_NAME=admin
++userrc_early:source:10                    export OS_PROJECT_DOMAIN_ID=default
++userrc_early:source:10                    OS_PROJECT_DOMAIN_ID=default
++userrc_early:source:11                    export OS_REGION_NAME=RegionOne
++userrc_early:source:11                    OS_REGION_NAME=RegionOne
+./stack.sh:main:1033                      create_keystone_accounts
+lib/keystone:create_keystone_accounts:372  local admin_tenant
++lib/keystone:create_keystone_accounts:373  openstack project show admin -f value -c id
**Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.**
Could not determine a suitable URL for the plugin
+lib/keystone:create_keystone_accounts:373  admin_tenant=
+lib/keystone:create_keystone_accounts:1   exit_trap
+./stack.sh:exit_trap:474                  local r=1
++./stack.sh:exit_trap:475                  jobs -p
+./stack.sh:exit_trap:475                  jobs=
+./stack.sh:exit_trap:478                  [[ -n '' ]]
+./stack.sh:exit_trap:484                  kill_spinner
+./stack.sh:kill_spinner:370               '[' '!' -z '' ']'
+./stack.sh:exit_trap:486                  [[ 1 -ne 0 ]]
+./stack.sh:exit_trap:487                  echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:488                  generate-subunit 1495102840 483 fail
+./stack.sh:exit_trap:489                  [[ -z /opt/stack/logs ]]
+./stack.sh:exit_trap:492                  /home/stack/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2017-05-18-102844.txt for details
+./stack.sh:exit_trap:498                  exit 1

The local.conf used is :-

[[local|localrc]]
SERVICE_IP_VERSION=6
**HOST_IP=[abcd:abcd:abcd::241]
HOST_IPV6=$HOST_IP
SERVICE_HOST=$HOST_IPV6
MYSQL_HOST=172.19.53.241
RABBIT_HOST=$HOST_IPV6**
ADMIN_PASSWORD=abc123
DATABASE_PASSWORD=abc123
RABBIT_PASSWORD=abc123
SERVICE_PASSWORD=abc123

For any further details, you can contact me at anirudh2.gupta@aricent.com

Regards Anirudh

edit retag flag offensive close merge delete

Comments

Though I know nothing about running OpenStack on IPv6, the failing command tries to do the equivalent of

curl http://[abcd:abcd:abcd::241]:35357

which returns a JSON structure describing available API versions. First step is to run this command manually.

Bernd Bausch gravatar imageBernd Bausch ( 2017-05-18 00:37:28 -0600 )edit

Bevore this first step :), check if Keystone is running. If not, check Keystone and Apache logs to find out why.

Bernd Bausch gravatar imageBernd Bausch ( 2017-05-18 00:39:07 -0600 )edit