Below the output of stack.sh
++functions-common:is_service_enabled:2155 set +o
++functions-common:is_service_enabled:2155 grep xtrace
+functions-common:is_service_enabled:2155 xtrace='set -o xtrace'
+functions-common:is_service_enabled:2156 set +o xtrace
+functions-common:is_service_enabled:2184 return 1
+lib/keystone:start_keystone:575 restart_service memcached
+functions-common:restart_service:2393 '[' -x /bin/systemctl ']'
+functions-common:restart_service:2394 sudo /bin/systemctl restart memcached
+./stack.sh:main:1125 bootstrap_keystone
+lib/keystone:bootstrap_keystone:604 /usr/local/bin/keystone-manage bootstrap --bootstrap-username admin --bootstrap-password secret --bootstrap-project-name admin --bootstrap-role-name admin --bootstrap-service-name keystone --bootstrap-region-id RegionOne --bootstrap-admin-url http://192.168.3.20/identity --bootstrap-public-url http://192.168.3.20/identity
DEBUG keystone.notifications [-] Callback: `keystone.assignment.core.Manager._delete_domain_assignments` subscribed to event `identity.domain.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.identity.core.Manager._unset_default_project` subscribed to event `identity.project.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.identity.core.Manager._domain_deleted` subscribed to event `identity.domain.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._trust_callback` subscribed to event `identity.OS-TRUST:trust.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._consumer_callback` subscribed to event `identity.OS-OAUTH1:consumer.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._user_callback` subscribed to event `identity.user.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._project_callback` subscribed to event `identity.project.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._user_callback` subscribed to event `identity.user.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._project_callback` subscribed to event `identity.project.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._domain_callback` subscribed to event `identity.domain.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._user_callback` subscribed to event `identity.invalidate_user_tokens.internal`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.trust.core.Manager._on_user_delete` subscribed to event `identity.user.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._trust_deleted_event_callback` subscribed to event `identity.OS-TRUST:trust.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_user_tokens_callback` subscribed to event `identity.user.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_domain_tokens_callback` subscribed to event `identity.domain.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_user_tokens_callback` subscribed to event `identity.user.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_domain_tokens_callback` subscribed to event `identity.domain.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_project_tokens_callback` subscribed to event `identity.project.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_user_tokens_callback` subscribed to event `identity.invalidate_user_tokens.internal`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_user_project_tokens_callback` subscribed to event `identity.invalidate_user_project_tokens.internal`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_user_oauth_consumer_tokens_callback` subscribed to event `identity.invalidate_user_consumer_tokens.internal`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG oslo_db.sqlalchemy.engines [-] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION {{(pid=6598) _check_effective_sql_mode /usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/engines.py:285}}
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created domain default
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created project admin
DEBUG passlib.handlers.bcrypt [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] detected 'bcrypt' backend, version u'3.1.3' {{(pid=6598) _load_backend_mixin /usr/local/lib/python2.7/dist-packages/passlib/handlers/bcrypt.py:564}}
DEBUG passlib.handlers.bcrypt [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] 'bcrypt' backend lacks $2$ support, enabling workaround {{(pid=6598) _finalize_backend_mixin /usr/local/lib/python2.7/dist-packages/passlib/handlers/bcrypt.py:379}}
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created user admin
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created role admin
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Granted admin on admin to user admin.
WARNING py.warnings [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] /usr/local/lib/python2.7/dist-packages/pycadf/identifier.py:80: UserWarning: Invalid uuid: RegionOne. To ensure interoperability, identifiers should be a valid uuid.
'identifiers should be a valid uuid.' % (value)))
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created region RegionOne
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created admin endpoint http://192.168.3.20/identity
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created public endpoint http://192.168.3.20/identity
INFO keystone.assignment.core [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Creating the default role 9fe2ff9ee4384b1894a90878d3e92bab because it does not exist.
+./stack.sh:main:1128 create_keystone_accounts
+lib/keystone:create_keystone_accounts:329 local admin_project
++lib/keystone:create_keystone_accounts:330 oscwrap project show admin -f value -c id
++functions-common:oscwrap:2530 local out
++functions-common:oscwrap:2531 local rc
++functions-common:oscwrap:2532 local start
++functions-common:oscwrap:2533 local end
+++functions-common:oscwrap:2537 date +%s%3N
++functions-common:oscwrap:2537 start=1502286459648
+++functions-common:oscwrap:2538 command openstack project show admin -f value -c id
+++functions-common:oscwrap:2538 openstack project show admin -f value -c id
Failed to discover available identity versions when contacting http://192.168.3.20/identity. Attempting to parse version from URL.
Could not determine a suitable URL for the plugin
++functions-common:oscwrap:2538 out=
++functions-common:oscwrap:2539 rc=1
+++functions-common:oscwrap:2540 date +%s%3N
++functions-common:oscwrap:2540 end=1502286461271
++functions-common:oscwrap:2541 echo 1623
++functions-common:oscwrap:2543 echo ''
++functions-common:oscwrap:2544 return 1
+lib/keystone:create_keystone_accounts:330 admin_project=
+lib/keystone:create_keystone_accounts:1 exit_trap
+./stack.sh:exit_trap:521 local r=1
++./stack.sh:exit_trap:522 jobs -p
+./stack.sh:exit_trap:522 jobs=
+./stack.sh:exit_trap:525 [[ -n '' ]]
+./stack.sh:exit_trap:531 '[' -f /tmp/tmp.2npKvucQKG ']'
+./stack.sh:exit_trap:532 rm /tmp/tmp.2npKvucQKG
+./stack.sh:exit_trap:536 kill_spinner
+./stack.sh:kill_spinner:417 '[' '!' -z '' ']'
+./stack.sh:exit_trap:538 [[ 1 -ne 0 ]]
+./stack.sh:exit_trap:539 echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:540 generate-subunit 1502286271 190 fail
+./stack.sh:exit_trap:541 [[ -z /opt/stack/logs ]]
+./stack.sh:exit_trap:544 /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2017-08-09-134741.txt for details
+./stack.sh:exit_trap:550 exit 1