Hi Carlos,
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.
As for issuing "oneimage list -x", it outputs the resources in XML
format, as expected. :)
Thanks,
Bert.
On 11/05/2011 12:26 AM, Carlos Martín Sánchez wrote:
Hi Bert,
Maybe the migration process failed and the XML for the image objects
is missing some new mandatory elements.
What do you mean by "after much tinkering with the database migration
codes"? Did you find any bug? How did you solve it?
Can you provide any error messages from /var/log/one/oned.log ?
I would also find useful the output of "oneimage list -x"
Regards.
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org <http://www.OpenNebula.org> |
cmar...@opennebula.org <mailto:cmar...@opennebula.org> | @OpenNebula
<http://twitter.com/opennebula>
On Thu, Nov 3, 2011 at 11:05 AM, MENDOZA, John Robert T.
<b...@asti.dost.gov.ph <mailto:b...@asti.dost.gov.ph>> wrote:
Hi all,
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:
OS: CentOS 5.6
Ruby: ruby 1.8.6 (2010-02-05 patchlevel 399) [x86_64-linux]
DB: Sqlite
Is "oneimage show" broken?
Thanks,
Bert
_______________________________________________
Users mailing list
Users@lists.opennebula.org <mailto:Users@lists.opennebula.org>
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org