[one-users] opennebula 4.6-RC problem with migration

Rolandas Naujikas rolandas.naujikas at mif.vu.lt
Wed Apr 23 11:12:41 PDT 2014


On 2014-04-23 20:10, Rolandas Naujikas wrote:
> Hi,
>
> Another error (with 4.4.1_to_4.5.80.rb from
> https://gist.github.com/carlosms/11218311):
>
>  >>> Running migrators for shared tables
>    > Running migrator
> /var/lib/one/4.6.0/lib/ruby/onedb/shared/4.4.1_to_4.5.80.rb
> node must be a Nokogiri::XML::Node

 From 
http://nokogiri.org/Nokogiri/XML/Document.html#method-i-create_cdata 
source I tested change

create_cdata(doc,txt) -> Nokogiri::XML::CDATA.new(doc,txt)

and onedb upgrade passed on Debian 6.0 with nokogiri 1.4.0.

Regards, Rolandas

> Regards, Rolandas
>
> On 2014-04-23 17:50, Carlos Martín Sánchez wrote:
>> Hi,
>>
>> We didn't catch that in our tests, Debian 6 is not included in the
>> testing and certification process.
>> Can you try with this file and report if it works?
>> https://gist.github.com/carlosms/11218311
>>
>> Thanks.
>>
>> --
>> Carlos Martín, MSc
>> Project Engineer
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org <http://www.OpenNebula.org> | cmartin at opennebula.org
>> <mailto:cmartin at opennebula.org> | @OpenNebula
>> <http://twitter.com/opennebula><mailto:cmartin at opennebula.org>
>>
>>
>> On Wed, Apr 23, 2014 at 1:22 PM, Rolandas Naujikas
>> <rolandas.naujikas at mif.vu.lt <mailto:rolandas.naujikas at mif.vu.lt>> wrote:
>>
>>     It looks like nokogiri (1.4.0) in Debian 6.0 have no create_cdata
>>     method. In Debian 7 nokogiri is of 1.5.5 and no problems.
>>
>>     Regards, Rolandas
>>
>>
>>     On 2014-04-23 14:09, Rolandas Naujikas wrote:
>>
>>         (By using git snapshot after version bump to 4.6.0)
>>
>>         Version read:
>>         Shared tables 4.4.1 : Database migrated from 4.4.0 to 4.4.1
>>         (OpenNebula
>>         4.4.1) by onedb command.
>>         Local tables  4.4.1 : Database migrated from 4.4.0 to 4.4.1
>>         (OpenNebula
>>         4.4.1) by onedb command.
>>
>>         MySQL dump stored in
>>         /var/lib/one/4.6.0/var/mysql___localhost_opennebula.sql
>>         Use 'onedb restore' or restore the DB using the mysql command:
>>         mysql -u user -h server -P port db_name < backup_file
>>
>>
>>           >>> Running migrators for shared tables
>>             > Running migrator
>>         /var/lib/one/4.6.0/lib/ruby/__onedb/shared/4.4.1_to_4.5.80.__rb
>>         undefined method `create_cdata' for
>>         #<Nokogiri::XML::Document:__0x7fb442dba0d0>
>>
>>         The database will be restored
>>         MySQL DB opennebula at localhost restored.
>>
>>
>>     _________________________________________________
>>     Users mailing list
>>     Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>>     http://lists.opennebula.org/__listinfo.cgi/users-opennebula.__org
>>     <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>>
>>
>




More information about the Users mailing list