[keystone][devstack][openstackclient] Problem with Keystone setup in stable/ussuri devstack install

Neil Jerram neil at tigera.io
Wed May 20 17:04:06 UTC 2020


+ ./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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200520/b59a0485/attachment.html>


More information about the openstack-discuss mailing list