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
ldbra...@us.ibm.com
Martinx - ジェームズ <thiagocmarti...@gmail.com> wrote on 03/07/2014
06:50:01 PM:
> From: Martinx - ジェームズ <thiagocmarti...@gmail.com>
> To: "openstack@lists.openstack.org" <openstack@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@lists.openstack.org
> Unsubscribe :
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack