+ ./stack.sh:main:1091 : create_keystone_accounts
+ lib/keystone:create_keystone_accounts:314 : local admin_project
++ lib/keystone:create_keystone_accounts:315 : oscwrap project show admin -f value -c id
WARNING: Failed to import plugin identity.
++ functions-common:oscwrap:2370 : return 2
+ lib/keystone:create_keystone_accounts:315 : admin_project='openstack: '\''project show admin -f value -c id'\'' is not an openstack command. See '\''openstack --help'\''.
I believe this is a completely mainline Keystone setup by devstack. The top-level stack.sh code is
echo_summary "Starting Keystone"
if [ "$KEYSTONE_AUTH_HOST" == "$SERVICE_HOST" ]; then
init_keystone
start_keystone
bootstrap_keystone
fi
create_keystone_accounts
...
bootstrap_keystone succeeded but create_keystone_accounts failed as shown above, trying to execute
openstack project show "admin" -f value -c id
IIUC, the rootmost problem here is "WARNING: Failed to import plugin identity.", indicating that python-openstackclient is failing to import its openstackclient.identity.client module. But I don't know any more about why that would be.
Any ideas?
Many thanks,
Neil