← Back to team overview

openstack team mailing list archive

Reinstalling devstack failed: ERROR: 'keystone-admin-role'

 

Hi All,

I had devstack installed on mu Ubuntu 11.10 box, I updated it using
"git clone" today and then ran "stack.sh". It failed with the
following messages:


+ KEYSTONE_DATA=/opt/stack/keystone/bin/keystone_data.sh
+ cp /home/localadmin/devstack/files/keystone_data.sh
/opt/stack/keystone/bin/keystone_data.sh
+ sudo sed -e '
        s,%KEYSTONE_AUTH_HOST%,172.24.4.226,g;
        s,%KEYSTONE_AUTH_PORT%,35357,g;
        s,%KEYSTONE_AUTH_PROTOCOL%,http,g;
        s,%KEYSTONE_SERVICE_HOST%,172.24.4.226,g;
        s,%KEYSTONE_SERVICE_PORT%,5000,g;
        s,%KEYSTONE_SERVICE_PROTOCOL%,http,g;
        s,%SERVICE_HOST%,172.24.4.226,g;
        s,%SERVICE_TOKEN%,safenet,g;
        s,%ADMIN_PASSWORD%,safenet,g;
    ' -i /opt/stack/keystone/bin/keystone_data.sh
+ /opt/stack/keystone/bin/keystone-manage sync_database
ERROR: 'keystone-admin-role'
Traceback (most recent call last):
  File "/opt/stack/keystone/bin/keystone-manage", line 16, in <module>
    keystone.manage.main()
  File "/opt/stack/keystone/keystone/manage/__init__.py", line 284, in main
    raise exc
KeyError: 'keystone-admin-role'
++ failed
++ local r=1
++ set +o xtrace


Is there a bug in latest version of devstack?

I'd appreciate your help to fix it.

Thanks

Joe


Follow ups