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

Lance D Bragstad ldbragst at us.ibm.com
Sat Mar 8 04:55:05 UTC 2014


Thiago,

Are you able to provide a little more information? Log files maybe? What
are the steps you're taking to recreate the issue?


Best Regards,

Lance Bragstad
ldbragst at us.ibm.com

Martinx - ジェームズ <thiagocmartinsc at gmail.com> wrote on 03/07/2014
08:34:11 PM:

> From: Martinx - ジェームズ <thiagocmartinsc at gmail.com>
> To: Lance D Bragstad/Rochester/IBM at IBMUS,
> Cc: "openstack at lists.openstack.org" <openstack at lists.openstack.org>
> Date: 03/07/2014 08:34 PM
> Subject: Re: [Openstack] Error on upgrading to latest Keystone -
> Ubuntu 12.04.4 + UCA
>
> Thanks Lance!
>
> I just did: "keystone-manage db_sync" and the output is the same:
>
> ---
> 2014-03-07 23:23:48.564 2258 CRITICAL keystone [-]
> (OperationalError) (1061, "Duplicate key name
> 'ix_token_expires_valid'") 'CREATE INDEX ix_token_expires_valid ON
> token (expires, valid)' ()
> ---
>
> I just read [1] and [2] but, not a clue about how to fix it.
>
> My Keystone is still running and I have no idea if I can restart it
> or not... What if it doesn't come back?! My entire Cloud will become
> useless... This is a production environment, it was working smoothly
> for months...    :'(
>
> Do you know if there is something that I can do directly on MySQL to
> try to fix it?!
>
> Best,
> Thiago
>

> On 7 March 2014 23:18, Lance D Bragstad <ldbragst at us.ibm.com> wrote:
> 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/abf585c4/attachment.html>


More information about the Openstack mailing list