[one-users] Upgrading from 4.4.0 to 4.6.1

Giancarlo De Filippis gdefilippis at ltbl.it
Mon May 26 05:26:55 PDT 2014


 

... I resolved the issue.... 

1) 

mysql> select * from db_versioning
 -> ;
+-----+---------+------------+----------------------------------------------------------------------------+
| oid | version | timestamp | comment |
+-----+---------+------------+----------------------------------------------------------------------------+
| 0 | 4.4.0 | 1388787757 | OpenNebula 4.4.0 daemon bootstrap |
| 1 | 4.4.1 | 1391802428 | Database migrated from 4.4.0 to 4.4.1
(OpenNebula 4.4.1) by onedb command. |
| 2 | 4.6.0 | 1400880694 | Database migrated from 4.4.1 to 4.6.0
(OpenNebula 4.6.0) by onedb command. | 

I deleted oid 0 and 1..... 

Now everything seems run.... 

---

GIANCARLO DE FILIPPIS 
LTBL S.r.L. 
Cell. +39 320 8155325
Uff. +39 02 89604424
Fax +39 02 89954500 
__________________ 

Il 26/05/2014 13:04 Carlos Martín Sánchez ha scritto: 

> Hi, 
> 
> On Sat, May 24, 2014 at 12:06 AM, Giancarlo De Filippis <gdefilippis at ltbl.it> wrote:
> 
>> hi all,
>> i've upgraded a front-end with Centos 6.5 and Opennebula 4.4 via yum update.
>> Thie is output of onedb history:
>> 
>> [oneadmin at manage one]$ onedb history -S localhost -u root -p magialtbl -d opennebula
>> Version: 4.4.0
>> Timestamp: 01/03 23:22:37
>> Comment: OpenNebula 4.4.0 daemon bootstrap
>> 
>> Version: 4.4.1
>> Timestamp: 02/07 20:47:08
>> Comment: Database migrated from 4.4.0 to 4.4.1 (OpenNebula 4.4.1) by onedb command.
>> 
>> Version: 4.6.0
>> Timestamp: 05/23 23:31:34
>> Comment: Database migrated from 4.4.1 to 4.6.0 (OpenNebula 4.6.0) by onedb command.
>> 
>> But when a try to start one this is the error:
>> 
>> [oneadmin at manage one]$ one start
>> Database version mismatch. Check oned.log.
>> oned failed to start
>> /usr/bin/one: line 117: 5813 Terminated $ONE_SCHEDULER
>> 
>> .... and this is the oned.log
>> 
>> Sat May 24 00:06:40 2014 [ONE][I]: Log level:3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG]
>> Sat May 24 00:06:40 2014 [ONE][I]: Support for xmlrpc-c > 1.31: yes
>> Sat May 24 00:06:40 2014 [ONE][I]: Checking database version.
>> Sat May 24 00:06:40 2014 [ONE][E]: Database version mismatch ( db_versioning). Installed OpenNebula 4.6.1 needs DB version '4.6.0', and existing DB version is '4.4.0'.
>> Sat May 24 00:06:40 2014 [ONE][E]: Use onedb to upgrade DB.
>> 
>> What's the trouble???
>> Onedb history tell that DB is upgraded....
>> I need some help ASAP...
>> Thanks..
> 
> How is the DB attribute configured in oned.conf? It should also appear in the oned.log file, the first lines. 
> 
> Regards
> 
> --
> 
> Carlos Martín, MSc
> Project Engineer 
> OpenNebula - Flexible Enterprise Cloud Made Simple
> 
> www.OpenNebula.org [1] | cmartin at opennebula.org | @OpenNebula [2]
 

Links:
------
[1] http://www.opennebula.org/
[2] http://twitter.com/opennebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140526/80e4b5c6/attachment-0001.htm>


More information about the Users mailing list