<html>
<head>
<meta content="text/html; charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,
<br>
I am experiencing some issues after the update from 3.7 to 4.2
(frontend on a CentOS 6.4 and hosts with KVM virt manager), this is
what I did :
<br>
<br>
- Stopped one and sunstone and backed up /etc/one
<br>
- yum localinstall opennebula-4.2.0-1.x86_64.rpm
opennebula-java-4.2.0-1.x86_64.rpm
opennebula-ruby-4.2.0-1.x86_64.rpm
opennebula-server-4.2.0-1.x86_64.rpm
opennebula-sunstone-4.2.0-1.x86_64.rpm
<br>
- duplicated im and vmm for kvm mads as specified here <a
class="moz-txt-link-freetext"
href="http://opennebula.org/documentation:archives:rel4.0:upgrade#driver_names">http://opennebula.org/documentation:archives:rel4.0:upgrade#driver_names</a>
<br>
- checked for other mismatch in one.conf but actually I found
nothing to be fixed
<br>
- onedb upgrade -v --sqlite /var/lib/one/one.db (no errors, just a
few warning about manual fixes needed - that I did)
<br>
- moved vm description files from <i class="moz-txt-slash"><span
class="moz-txt-tag">/</span>var/lib/one<span class="moz-txt-tag">/</span></i>[0-9]*
to <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>var/lib/one/vms<span
class="moz-txt-tag">/</span></i>
<br>
<br>
Then I tried to fsck the sqlite db but got the following error :
<br>
--------------
<br>
onedb fsck -f -v -s /var/lib/one/one.db
<br>
Version read:
<br>
4.2.0 : Database migrated from 3.7.80 to 4.2.0 (OpenNebula 4.2.0) by
onedb command.
<br>
<br>
Sqlite database backup stored in /var/lib/one/one.db.bck
<br>
Use 'onedb restore' or copy the file back to restore the DB.
<br>
> Running fsck
<br>
<br>
Datastore 0 is missing fom Cluster 101 datastore id list
<br>
Image 127 is missing fom Datastore 101 image id list
<br>
undefined method `elements' for nil:NilClass
<br>
Error running fsck version 4.2.0
<br>
The database will be restored
<br>
Sqlite database backup restored in /var/lib/one/one.db
<br>
-----------
<br>
<br>
I also tried to reinstall ruby gems with /usr/share/one/install_gems
but still got the same issue.
<br>
<br>
After a few searching, I tried to start one and sunstone-server
anyway, and this is the result :
<br>
- I can do "onevm list" and "onehost list" correctly
<br>
- When I do a "onevm show" on a terminated vm it shows me the
correct information
<br>
- When I do a "onevm show" (on a running vm) or "onehost show", it
returns a "[VirtualMachineInfo] Error getting virtual machine
[312]." or either "[HostInfo] Error getting host [30]."
<br>
<br>
In the log file (/var/log/oned.log) I can see the following errors,
when issuing those commands :
<br>
----------
<br>
Tue Aug 6 12:49:40 2013 [ONE][E]: SQL command was: SELECT body FROM
host_pool WHERE oid = 30, error: callback requested query abort
<br>
Tue Aug 6 12:49:40 2013 [ONE][E]: SQL command was: SELECT body FROM
vm_pool WHERE oid = 312, error: callback requested query abort
<br>
------------
<br>
<br>
I am still able to see datastores informations and the overall
situation of my private cloud through the sunstone dashboard, but it
seems I cannot access informations related to running vms and hosts:
it leads to an unusable private cloud (can't stop vms, can't run a
new one, etc...)
<br>
<br>
Any clues ?
<br>
<br>
Federico.
<br>
</body>
</html>