[one-users] one version after upgrading to 4.10.0

Carlos Martín Sánchez cmartin at opennebula.org
Tue Nov 4 01:24:42 PST 2014


Hi Thomas,

The log says it is a 4.10beta (4.9.80) DB.
And because the isn't any DB changes to the DB from 4.10 beta to 4.10.0, we
don't have a migrator file. The onedb tool doesn't have anything to do,
your DB is good to go.

In case the double versions are confusing, let me clarify.
The DB has two versions: local and shared. This is because of the
federation architecture [1]. The shared tables haven't changed since 4.6,
and the local tables changed from 4.8.0 to 4.9.80, but not from 4.9.80 to
4.10.0.

Regards

[1]
http://docs.opennebula.org/4.10/advanced_administration/data_center_federation/introf.html

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula
<http://twitter.com/opennebula> <cmartin at opennebula.org>

On Tue, Nov 4, 2014 at 10:12 AM, Thomas Stein <himbeere at meine-oma.de> wrote:

> Am 04.11.14 10:09, schrieb Carlos Martín Sánchez:
> > Did you upgrade from 4.8.0? It looks like the DB is from a 4.10 beta.
>
> Hello Carlos.
>
> I have several development machines and on a few of them i have 4.10
> beta running, yes. But not on this one. I'm 90% sure. Allthough it's
> absolutely possible i am wrong.
>
> cheers
> t.
>
> > Regards
> > --
> > Carlos Martín, MSc
> > Project Engineer
> > OpenNebula - Flexible Enterprise Cloud Made Simple
> > www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula
> > <http://twitter.com/opennebula> <cmartin at opennebula.org>
> >
> > On Tue, Nov 4, 2014 at 9:34 AM, Thomas Stein <himbeere at meine-oma.de>
> wrote:
> >
> >> Hello.
> >>
> >> I have a little problem after upgrading to 4.10.0 (from 4.8.0).
> >>
> >> I did stop opennebula, upgraded opennebula and did:
> >>
> >> onedb upgrade -v --sqlite /var/lib/one/one.db -f
> >>
> >> Output:
> >>
> >> oneadmin at one-node1 ~ $ onedb upgrade -v --sqlite /var/lib/one/one.db -f
> >> Version read:
> >> Shared tables 4.6.0 : OpenNebula 4.6.2 daemon bootstrap
> >> Local tables  4.9.80 : Database migrated from 4.7.80 to 4.9.80
> >> (OpenNebula 4.9.80) by onedb command.
> >>
> >> Sqlite database backup stored in /var/lib/one/one.db.bck
> >> Use 'onedb restore' or copy the file back to restore the DB.
> >>
> >>
> >> >>> Running migrators for shared tables
> >> Database already uses version 4.6.0
> >>
> >> >>> Running migrators for local tables
> >> Database already uses version 4.9.80
> >>
> >> Total time: 0.00s
> >> oneadmin at one-node1 ~ $
> >>
> >> Now i seem to have versioning mess i guess. :-)
> >>
> >> Mon Nov  3 22:21:02 2014 [Z0][ONE][I]: oned is using version 4.9.80 for
> >> local_db_versioning
> >> Mon Nov  3 22:21:02 2014 [Z0][ONE][I]: oned is using version 4.6.0 for
> >> db_versioning
> >>
> >> How can i solve this?
> >>
> >> cheers
> >> t.
> >> _______________________________________________
> >> Users mailing list
> >> Users at lists.opennebula.org
> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >>
> >
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20141104/5e1fa52b/attachment.htm>


More information about the Users mailing list