I was able to create my frontend, so now I added a host and that went ok
oneadmin@intrepid:~$ onehost create intrepid -i kvm -v kvm -n dummy
ID: 0
oneadmin@intrepid:~$ onehost list
ID NAME CLUSTER RVM ALLOCATED_CPU ALLOCATED_MEM STAT
0 intrepid - 0 - - init
This didn’t (below) work but I was able to add it via the gui
oneadmin@intrepid:/tmp$ onevnet create /tmp/mynetwork.one
command create: argument 0 must be one of file
So I have my network ip leases assigned:
Then I restarted the fronend gui
root@intrepid:~# /etc/init.d/opennebula-sunstone restart * Restarting Sunstone Web interface sunstone-server sunstone-server stopped
VNC proxy started
sunstone-server started
[ OK ]
Then I synced everything
oneadmin@intrepid:~$ onehost sync --force
Adding intrepid to upgrade
[========================================] 1/1 intrepid
All hosts updated successfully.
Now I am getting this in the frontend
Information
id 0
Name intrepid
Cluster -
State ERROR
IM MAD kvm
VM MAD kvm
VN MAD dummy
Capacity
Allocated Memory
0KB / -
Allocated CPU
0 / -
Real Memory
0KB / -
Real CPU
0 / -
Running VMs 0
Attributes
ERROR Mon Sep 14 09:07:26 2015 : Error monitoring Host intrepid (0): Error executing probes
I looked at another post here and tried everything they suggest and it didn’t work. I am finally getting this somewhere after a week of futility.
I am looking to see what to do but I can’t find anything to help me resolve this. Any ideas?
You may check oned.log, information about the error should be clearer there with the output of the monitor command. Usually it is because of a connectivity problem (ssh related) or missing packages in the host (e.g. ruby)
root@intrepid:~# apt-get install ruby
Reading package lists… Done
Building dependency tree
Reading state information… Done
ruby is already the newest version.
ruby set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 109 not upgraded.
I don’t mean to be a bother but this is a bit frustrating. Thank you for your help.
Can you execute the following, in intrepid as oneadmin ?
# Make sure you are oneadmin
# And that you are in intrepid:
/var/tmp/one/im/kvm.d/../run_probes kvm-probes /var/lib/one//datastores 4124 20 0 intrepid
By the way, it’s true that the debugging info for errors in the probes is totally lacking. I have opened a ticket to see this through. It will be implemented for this release (4.14).
So i removed the ID 0 host and readded the host and now I am able to see it in my OpenNebula Console this is awesome. Now I have to figure out how to get the VMs that were already there to populate. Thanks Jaime you are awesome