I don’t think it’s a good idea deleting the database.
I made a backup of the database. My goal was to see if it would work if I started from clean slate. Doesn’t Something is very broken with my system.
Check /var/log/one/oned.log and check for errors
I’ve been monitoring that log the whole time. Nothing valuable there, even in debug mode.
Make sure you can ssh using oneadmin to localhost. I think you’ve already done this but just double check
check.
Make sure libvirt is running and oneadmin can execute commands:
$ virsh -c qemu:///system list
returns empty
Now I just installed a clean Centos 6.6 on another machine with Opennebula 4.10 on it (because 4.12 doesn’t have a Quick Start Guide for Centos 6). It works. Looks my main system is messed up very badly by the last Centos update, although it was minor and I had done such minor updates many times.
Anyway, I think I’m going to have to re-install the OS and everything. Please, point me to some steps how to restore my VMs. All I have about them is their disk images, which are persistent, so everything is there (or IS IT?)
Other than that, I have detailed notes about the network setup and I can re-create the Opennebula configuration pretty quickly. My main concern is how to import a pre-existing image when creating images in the new installation. The GUI doesn’t seem to have such an option. For example, my current datastores folder looks like this:
[oneadmin@saturn ~]$ ls -lath datastores/1/
total 238G
-rw-r--r-- 1 oneadmin oneadmin 830M 6 апр 20,38 8fd3c7c3f660d6b5bd0e7a539cba1c71
-rw-r--r-- 1 oneadmin oneadmin 8,2G 6 апр 19,37 58842014eed4089fcf2a44bada846b8c
-rw-r--r-- 1 oneadmin oneadmin 9,8G 6 апр 19,35 c03b8ce194e975bdcc4c01220e6f680d
-rw-r--r-- 1 oneadmin oneadmin 103G 6 апр 19,35 02c50b301cb36cc082d6941408953354
-rw-r--r-- 1 oneadmin oneadmin 2,0G 6 апр 19,31 6a9db6566c6a545bf617cd29df52329f
-rw-r--r-- 1 oneadmin oneadmin 9,6G 6 апр 19,30 9910c1789c30a1a272fa6133848fc7cd
-rw-r--r-- 1 oneadmin oneadmin 98G 6 апр 19,30 6dae21596c8e6b0ba4c6aec1dd5e193d
-rw-r--r-- 1 oneadmin oneadmin 42G 6 апр 19,23 a8ca53e71c599eff61cb0ffbdeea44f2
-rw-r--r-- 1 oneadmin oneadmin 830M 31 мар 12,38 bdfe99869ac7916512d85b6c5921bc34
-rw-r--r-- 1 oneadmin oneadmin 34G 11 мар 13,58 e1bd39cbdad22b61f330bb3d684fdcb8
drwxr-x--- 2 oneadmin oneadmin 4,0K 10 мар 1,43 .
drwxr-x--- 7 oneadmin oneadmin 4,0K 10 мар 1,43 ..
-rw-r--r-- 1 oneadmin oneadmin 5,0G 29 окт 12,49 1b7ea8c333d77e388c856d00b94dc231
-rw-r--r-- 1 oneadmin oneadmin 716M 27 окт 18,07 750b0fd912a4a0664a1c59e1cce0ca02
-rw-r--r-- 1 oneadmin oneadmin 9,8G 27 окт 15,15 e8a8fb380f9494c4ca2dd31a0101a580
-rw-r--r-- 1 oneadmin oneadmin 1,9G 24 окт 14,24 2394552db652a714466c331f4a4c6263
-rw-r--r-- 1 oneadmin oneadmin 2,6G 24 окт 12,45 ea25699b922a47c7bbe68ccaf2386a48
-rw-r--r-- 1 oneadmin oneadmin 566M 19 сеп 2014 35a09ce63724f7a58fb4cc8ddfca5a5a
-rw-r--r-- 1 oneadmin oneadmin 398M 19 сеп 2014 efa94df4fc1e6bd8b2989ba3c2030bf7
Can I re-use those disk images in any way? They are all I have about my precious VMs
Thanks!