<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Carlos,<br>
<br>
Apologies for the late response. During the migration, the script
"/usr/lib/one/ruby/onedb/2.9.80_to_2.9.85.rb" produces a sqlite
related error. We figured that the script was unable to write into
the database. I had to comment out Line 51-52 of the said script.
I also had to do this for the 2.9.90_to_3.0.0.rb script.
Commenting out line 40-41 and manually editing the tm_mad elements
from the database to reflect the new schema of OpenNebula 3.0
(tm_nfs -> tm_shared). So far, we're now running OpenNebula 3.0
but can't query information regarding existing VM images thus we
cannot create new VM instances. Inspecting the new database
schema, I'm missing the value for the "SIZE" element. <br>
<br>
As for issuing "oneimage list -x", it outputs the resources in XML
format, as expected. :) <br>
<br>
Thanks, <br>
Bert. <br>
<br>
<br>
<br>
</tt>On 11/05/2011 12:26 AM, Carlos Martín Sánchez wrote:
<blockquote
cite="mid:CAEPYvFLd5qMwFVBQpGCvyKNPzQ5ktD+PhD_ZZJBbZ5SdJURbQQ@mail.gmail.com"
type="cite">Hi Bert,<br>
<br>
Maybe the migration process failed and the XML for the image
objects is missing some new mandatory elements.<br>
<br>
What do you mean by "after much tinkering with the database
migration codes"? Did you find any bug? How did you solve it?<br>
<br>
Can you provide any error messages from /var/log/one/oned.log ?<br>
I would also find useful the output of "oneimage list -x"<br>
<br>
Regards.<br clear="all">
<span style="border-collapse:collapse;color:rgb(136, 136,
136);font-family:arial,sans-serif;font-size:13px">--<br>
Carlos Martín, MSc<br>
Project Engineer<br>
OpenNebula - The Open Source Toolkit for Data Center
Virtualization<br>
<a moz-do-not-send="true" href="http://www.OpenNebula.org"
target="_blank">www.OpenNebula.org</a> | <a
moz-do-not-send="true" href="mailto:cmartin@opennebula.org"
target="_blank">cmartin@opennebula.org</a> | <a
moz-do-not-send="true" href="http://twitter.com/opennebula"
target="_blank">@OpenNebula</a></span><span
style="border-collapse:collapse;color:rgb(136, 136,
136);font-family:arial, sans-serif;font-size:13px"></span><br>
<br>
<br>
<div class="gmail_quote">On Thu, Nov 3, 2011 at 11:05 AM, MENDOZA,
John Robert T. <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:bert@asti.dost.gov.ph">bert@asti.dost.gov.ph</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<br>
<br>
I have recently upgraded our OpenNebula deployment from 2.2.1
to 3.0. I've successfully migrated the database (after much
tinkering with the database migration codes.) and have started
one daemon. My problem is, whenever I'm issuing the command
oneimage show <some_image_id>, it prints this error
"[ImageInfo] Error getting image [some_image_id]." Also, in
sunstone, whenever I'm selecting one image from the image
pool, it outputs an error about the method "ImageInfo". Our
current setup is:<br>
<br>
OS: CentOS 5.6<br>
Ruby: ruby 1.8.6 (2010-02-05 patchlevel 399) [x86_64-linux]<br>
DB: Sqlite<br>
<br>
Is "oneimage show" broken?<br>
<br>
Thanks,<br>
Bert<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org"
target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</blockquote>
</div>
<br>
</blockquote>
</body>
</html>