[Openstack] Error on upgrading to latest Keystone - Ubuntu 12.04.4 + UCA

Lance D Bragstad ldbragst at us.ibm.com
Sat Mar 8 02:18:37 UTC 2014


Thiago,

Your database might be out of sync with the latest Keystone code if you
just performed an update. Try migrating your database [1]. The link gives
some information on how to do that, but you'll essentially want to do a
`keystone-manage db_sync`, also check the man pages [2]. This should ensure
your Keystone database has the proper schema for the Keystone code you're
running.

[1]
http://docs.openstack.org/developer/keystone/configuration.html#step-2-sync-your-new-empty-database

[2] http://docs.openstack.org/developer/keystone/man/keystone-manage.html

Best Regards,

Lance Bragstad
ldbragst at us.ibm.com

Martinx - ジェームズ <thiagocmartinsc at gmail.com> wrote on 03/07/2014
06:50:01 PM:

> From: Martinx - ジェームズ <thiagocmartinsc at gmail.com>
> To: "openstack at lists.openstack.org" <openstack at lists.openstack.org>,
> Date: 03/07/2014 07:03 PM
> Subject: [Openstack] Error on upgrading to latest Keystone - Ubuntu
> 12.04.4 + UCA
>
> Guys,
>
> I just did:
>
> apt-get update
> apt-get dist-upgrade
>
> And I'm seeing the following error:
>
> ---
> Setting up keystone (1:2013.2.2-0ubuntu1~cloud0) ...
> 2014-03-07 21:45:39.473 15540 CRITICAL keystone [-]
> (OperationalError) (1061, "Duplicate key name
> 'ix_token_expires_valid'") 'CREATE INDEX ix_token_expires_valid ON
> token (expires, valid)' ()
> dpkg: error processing keystone (--configure):
>  subprocess installed post-installation script returned error exit status
1
> Errors were encountered while processing:
>  keystone
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> ---
>
> What can I do?!
>
> Tks!
> Thiago_______________________________________________
> Mailing list:
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140307/c530d7f2/attachment.html>


More information about the Openstack mailing list