My fault! see <a href="https://bugs.launchpad.net/devstack/+bug/925718">https://bugs.launchpad.net/devstack/+bug/925718</a><div><br></div><div>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.</div>
<div><br></div><div>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).</div>
<div><br></div><div>Two solutions:</div><div><br></div><div>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.</div>
<div>2) Specify a newer version of keystone in your stackrc / localrc</div><div><br></div><div>-Dolph</div><div><br><div class="gmail_quote">2012/2/10 Joe Smithian <span dir="ltr"><<a href="mailto:joe.smithian@gmail.com">joe.smithian@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
I had devstack installed on mu Ubuntu 11.10 box, I updated it using<br>
"git clone" today and then ran "stack.sh". It failed with the<br>
following messages:<br>
<br>
<br>
+ KEYSTONE_DATA=/opt/stack/keystone/bin/keystone_data.sh<br>
+ cp /home/localadmin/devstack/files/keystone_data.sh<br>
/opt/stack/keystone/bin/keystone_data.sh<br>
+ sudo sed -e '<br>
        s,%KEYSTONE_AUTH_HOST%,172.24.4.226,g;<br>
        s,%KEYSTONE_AUTH_PORT%,35357,g;<br>
        s,%KEYSTONE_AUTH_PROTOCOL%,http,g;<br>
        s,%KEYSTONE_SERVICE_HOST%,172.24.4.226,g;<br>
        s,%KEYSTONE_SERVICE_PORT%,5000,g;<br>
        s,%KEYSTONE_SERVICE_PROTOCOL%,http,g;<br>
        s,%SERVICE_HOST%,172.24.4.226,g;<br>
        s,%SERVICE_TOKEN%,safenet,g;<br>
        s,%ADMIN_PASSWORD%,safenet,g;<br>
    ' -i /opt/stack/keystone/bin/keystone_data.sh<br>
+ /opt/stack/keystone/bin/keystone-manage sync_database<br>
ERROR: 'keystone-admin-role'<br>
Traceback (most recent call last):<br>
  File "/opt/stack/keystone/bin/keystone-manage", line 16, in <module><br>
    keystone.manage.main()<br>
  File "/opt/stack/keystone/keystone/manage/__init__.py", line 284, in main<br>
    raise exc<br>
KeyError: 'keystone-admin-role'<br>
++ failed<br>
++ local r=1<br>
++ set +o xtrace<br>
<br>
<br>
Is there a bug in latest version of devstack?<br>
<br>
I'd appreciate your help to fix it.<br>
<br>
Thanks<br>
<br>
Joe<br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</blockquote></div><br></div>