Hi Dolph, Thanks for your comments. Solution 2 seems to be easier, but I am new to openstack and not sure how to specify new version of keystone in stackrc. Could you please explain it?
Regards Joe On Fri, Feb 10, 2012 at 12:50 PM, Dolph Mathews <dolph.math...@gmail.com> wrote: > My fault! see https://bugs.launchpad.net/devstack/+bug/925718 > > Keystone standardized it's config file to use underscores at some point > during essex, and started throwing warnings if you continued to use hyphens. > I patched devstack to produce a config file matching the current version of > keystone. > > However, the new config file format (underscores) isn't compatible with > older versions of keystone (by default, current devstack stackrc specified > the master branch of keystone, so there's no issues out of the box). > > Two solutions: > > 1) Revert my commit to devstack and let keystone throw warnings about the > deprecated config format if we want devstack to work with older versions of > keystone. > 2) Specify a newer version of keystone in your stackrc / localrc > > -Dolph > > 2012/2/10 Joe Smithian <joe.smith...@gmail.com> >> >> 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 >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~openstack >> Post to : openstack@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~openstack >> More help : https://help.launchpad.net/ListHelp > > _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp