[one-users] ERROR after create a Host over Sunstone or over front-end
Tino Vazquez
tinova at opennebula.org
Fri Mar 2 05:29:22 PST 2012
Hi Oemer,
You need to create the VMs *through* OpenNebula, otherwise you won't
be able to manage them.
Hope it helps,
-Tino
--
Constantino Vázquez Blanco, MSc
Project Engineer
OpenNebula - The Open-Source Solution for Data Center Virtualization
www.OpenNebula.org | @tinova79 | @OpenNebula
On Fri, Mar 2, 2012 at 2:16 PM, Oemer Suermen <Oemer.Suermen at easynet.com> wrote:
> Hello Tino,
>
> No, I do not have VM's on opennebula generated.
> I will not create VM's with opennebula.
>
> I have ready VM's that I created on the ESXi host.
> Now I want the esxi-hosts and vm´s centrally managing with opennebula.
>
> If this works, I will 16 other esxi-hosts add on the front-end.
>
> Of your question again, if I have created the vm's with opennebula?
> No I don´t do it.
>
> I want only see the excisting vm´s on my esxi-host in the sunstone, not more.
>
> Hopefully I can describe my problem now a little bit better.
>
> Nice greetings,
> Ömer
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Tino Vazquez [mailto:tinova at opennebula.org]
> Gesendet: Freitag, 2. März 2012 11:54
> An: Oemer Suermen
> Cc: users
> Betreff: Re: [one-users] ERROR after create a Host over Sunstone or over front-end
>
> Hi Oemer,
>
> Did you create those VMs through OpenNebula?
>
> Regards,
>
> -Tino
>
> --
> Constantino Vázquez Blanco, MSc
> Project Engineer
> OpenNebula - The Open-Source Solution for Data Center Virtualization www.OpenNebula.org | @tinova79 | @OpenNebula
>
>
>
> On Thu, Mar 1, 2012 at 4:17 PM, Oemer Suermen <Oemer.Suermen at easynet.com> wrote:
>> Hello Tino,
>>
>>
>>
>> for the case, you did not get the mail.
>>
>>
>>
>> Nice greetings,
>>
>> Ömer
>>
>>
>>
>> Von: Oemer Suermen
>> Gesendet: Dienstag, 28. Februar 2012 16:24
>> An: 'Tino Vazquez'
>> Betreff: AW: [one-users] ERROR after create a Host over Sunstone or
>> over front-end
>>
>>
>>
>> Hi Tino!
>>
>>
>>
>> Unfortunately I have not until now been able, the ESXi hosts with the
>> VM's running on it
>>
>> to get displayed in the Sunstone GUI.
>>
>>
>>
>> If you give me maybe a little help, I'd be very grateful.
>>
>>
>>
>> For test, I have create a esxi server via the command onehost create
>> over CLI (as oneadmin).
>>
>> The Server will shown in the Sunstone, but without the 4 VM´s on it.
>>
>>
>>
>> What can I do, that the running VM's on the ESXi-server displayed in
>> the sunstone.
>>
>> What do I need to set and configure, or run, so that the vms display
>> in the sunstone.
>>
>> I want not create a new VM with opennebula at the moment.
>>
>>
>>
>> I'm slightly desperate at L.
>>
>>
>>
>> Maybe you can help me with this problem.
>>
>>
>>
>> Nice greetings,
>>
>> Ömer
>>
>>
>>
>>
>>
>>
>>
>> Von: Tino Vazquez [mailto:tinova at opennebula.org]
>>
>> Gesendet: Dienstag, 28. Februar 2012 11:33
>> An: Oemer Suermen
>> Cc: users
>> Betreff: Re: [one-users] ERROR after create a Host over Sunstone or
>> over front-end
>>
>>
>>
>> Dear Vladimir,
>>
>>
>>
>> On Mon, Feb 27, 2012 at 3:33 PM, Oemer Suermen
>> <Oemer.Suermen at easynet.com>
>> wrote:
>>
>> Hello Tino,
>>
>>
>>
>> i can connect without problems over telnet (port 443) to the ESXi-Host.
>>
>>
>>
>> These are will be shown, if I type the virsh -c command:
>>
>>
>>
>> opennebula.local.de:~ # virsh -c esx://esxi01.local.de/?no_verify=1
>> --readonly nodeinfo
>>
>> Enter username for esxi01.local.de [root]: oneadmin
>>
>> Enter oneadmin's password for esxi01.local.de:
>>
>> CPU model: Intel Xeon CPU X5450 @ 3.00GHz
>>
>> CPU(s): 8
>>
>> CPU frequency: 3000 MHz
>>
>> CPU socket(s): 2
>>
>> Core(s) per socket: 4
>>
>> Thread(s) per core: 1
>>
>> NUMA cell(s): 1
>>
>> Memory size: 33551960 kB
>>
>>
>>
>> Good
>>
>>
>>
>>
>>
>> My problem is that the VM´s, which running on the ESXi-Host, before I
>> beginning the work with opennebula, will not shown.
>>
>>
>>
>> Can opennebula the existing VMs on the ESXi-Host, which before was
>> creates with the vSphere from vmware, in opennebula shown?
>>
>>
>>
>> Nope, OpenNebula assumes an exclusive management of resources, and it
>> won't import them automatically.
>>
>>
>>
>> Is it possible that I all my ESXi-hosts and the VM´s on it, centrally
>> can administrating with opennebula?
>>
>>
>>
>>
>>
>> Certainly, but you need to create them through OpenNebula.
>>
>>
>>
>> Regards,
>>
>>
>>
>> -Tino
>>
>>
>>
>>
>>
>> I unfortunately will not help if I can just create VM´s on opennebula
>> via templates, i hope it is not so.
>>
>>
>>
>> Find also nothing in the mail archives.
>>
>>
>>
>> Thanks for your help.
>>
>>
>>
>> Nice greetings,
>>
>> Ömer
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Von: Tino Vazquez [mailto:tinova at opennebula.org]
>> Gesendet: Donnerstag, 23. Februar 2012 12:24
>> An: Oemer Suermen
>> Cc: users
>>
>>
>> Betreff: Re: [one-users] ERROR after create a Host over Sunstone or
>> over front-end
>>
>>
>>
>> Dear Omer,
>>
>>
>>
>> That looks like a network connectivity problem, not related to
>> OpenNebula configuration. Please make sure that you can telnet the 443
>> from the front-end to the ESX host.
>>
>>
>>
>> Regards,
>>
>>
>>
>> -Tino
>>
>>
>> --
>> Constantino Vázquez Blanco, MSc
>> Project Engineer
>> OpenNebula - The Open-Source Solution for Data Center Virtualization
>> www.OpenNebula.org | @tinova79 | @OpenNebula
>>
>> On Thu, Feb 23, 2012 at 11:37 AM, Oemer Suermen
>> <Oemer.Suermen at easynet.com>
>> wrote:
>>
>> Hi Tino,
>>
>>
>>
>> here the output from virsh -c
>>
>>
>>
>> opennebula.local.de.easynet.net:/etc/one # virsh -c
>> gsx://esxi01.local.de.easynet.net/?no_verify=1 --readonly nodeinfo
>>
>> Enter username for esxi01.local.de.easynet.net [root]:
>> myusername
>>
>> Enter oneadmin's password for esxi01.local.de.easynet.net:
>>
>> error: internal error curl_easy_perform() returned an error:
>> Couldn't connect to server (7) : couldn't connect to host
>>
>> error: failed to connect to the hypervisor
>>
>>
>>
>>
>>
>> ++++ Here my vmwarerc ++++
>>
>>
>>
>> # User configurable variables (Ruby syntax)
>>
>> LIBVIRT_URI = "esx://esxi01.local.de.easynet.net/?no_verify=1"
>>
>> QEMU_PROTOCOL = "qemu"
>>
>>
>>
>> # Username and password of the VMware hypervisor
>>
>> USERNAME = "oneadmin"
>>
>> PASSWORD = "mypassword"
>>
>> DATACENTER = "Datacenter" #only for
>> vMotion
>>
>> VCENTER = "vCenter"
>> #only for vMotion
>>
>>
>>
>>
>>
>>
>>
>> # Loading the vmware library for mads
>>
>> # Please leave this uncommented
>>
>> ONE_LOCATION=ENV["ONE_LOCATION"] if !defined?(ONE_LOCATION)
>>
>>
>>
>> if !ONE_LOCATION
>>
>> LIB_LOCATION = "/usr/lib/one" if !defined?(LIB_LOCATION)
>>
>> else
>>
>> LIB_LOCATION = ONE_LOCATION+"/lib" if !defined?(LIB_LOCATION)
>>
>> end
>>
>>
>>
>> load LIB_LOCATION + "/ruby/vmwarelib.rb"
>>
>>
>>
>> ENV['LANG']='C'
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Thanks for your help.
>>
>>
>>
>> Greetings,
>>
>> Ömer
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Tino Vazquez [mailto:tinova at opennebula.org]
>> Gesendet: Freitag, 17. Februar 2012 15:26
>> An: Oemer Suermen
>> Cc: users at lists.opennebula.org
>> Betreff: Re: [one-users] ERROR after create a Host over Sunstone or
>> over front-end
>>
>>
>>
>> Dear Omer,
>>
>>
>>
>> What is the output of "virsh -c
>>
>> gsx://esxi01.local.de.easynet.net/?no_verify=1 --readonly nodeinfo"?
>>
>> If there seems to be a connectivity problem, please make sure that
>> your network configuration allows the connection between the ONE
>> front-end and "esxi01.local.de.easynet.net".
>>
>>
>>
>> Regards,
>>
>>
>>
>> -Tino
>>
>>
>>
>> --
>>
>> Constantino Vázquez Blanco, MSc
>>
>> Project Engineer
>>
>> OpenNebula - The Open-Source Solution for Data Center Virtualization
>> www.OpenNebula.org | @tinova79 | @OpenNebula
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Thu, Feb 16, 2012 at 1:54 PM, Oemer Suermen
>> <Oemer.Suermen at easynet.com>
>> wrote:
>>
>>> Hi guys,
>>
>>>
>>
>>> i have a new problem.
>>
>>>
>>
>>> I try to create a new Host over the sunstone gui and over the
>>> front-end but always in ERROR.
>>
>>>
>>
>>> Here is a little snapshot from the oned.log with this ERROR, maybe
>>> you can help to resolve this problem.
>>
>>>
>>
>>> Thu Feb 16 14:21:10 2012 [AuM][I]: ExitCode: 0
>>
>>> Thu Feb 16 14:21:10 2012 [AuM][D]: Message received:
>>
>>> AUTHENTICATE SUCCESS 2 -
>>
>>>
>>
>>> Thu Feb 16 14:21:10 2012 [ReM][D]: HostInfo method invoked
>>
>>> Thu Feb 16 14:21:12 2012 [ReM][D]: HostInfo method invoked
>>
>>> Thu Feb 16 14:21:15 2012 [InM][I]: Monitoring host
>>
>>> esxi01.local.de.easynet.net (17)
>>
>>> Thu Feb 16 14:21:17 2012 [InM][I]: Command execution fail:
>>
>>> /var/lib/one/remotes/im/run_probes vmware 17
>>
>>> esxi01.local.de.easynet.net
>>
>>> Thu Feb 16 14:21:17 2012 [InM][I]: [VMWARE] cmd failed
>>> [/usr/bin/tty_expect -u oneadmin -p XXX virsh -c
>>> gsx://esxi01.local.de.easynet.net/?no_verify=1 --readonly nodeinfo]. Stderr:
>>
>>> Thu Feb 16 14:21:17 2012 [InM][I]: error: internal error
>>
>>> curl_easy_perform() returned an error: Couldn't connect to server (7)
>>
>>> : couldn't connect to host
>>
>>> Thu Feb 16 14:21:17 2012 [InM][I]: error: failed to connect to
>>
>>> the hypervisor
>>
>>> Thu Feb 16 14:21:17 2012 [InM][I]: . Stdout: ExitCode: 1
>>
>>> Thu Feb 16 14:21:17 2012 [InM][I]: ./vmware.rb:72: private
>>
>>> method `split' called for 1:Fixnum (NoMethodError)
>>
>>> Thu Feb 16 14:21:17 2012 [InM][E]: Error executing vmware.rb
>>
>>> Thu Feb 16 14:21:17 2012 [InM][I]: ExitCode: 1
>>
>>> Thu Feb 16 14:21:17 2012 [InM][E]: Error monitoring host 17 :
>>
>>> MONITOR FAILURE 17 Error executing vmware.rb
>>
>>>
>>
>>>
>>
>>> Here a message from the Sunstone GUI:
>>
>>>
>>
>>> Host template
>>
>>> ERROR
>>
>>>
>>
>>> TIMESTAMP Thu Feb 16 14:21:17 2012
>>
>>> MESSAGE Error monitoring host 17 : MONITOR FAILURE 17
>>
>>> Error executing vmware.rb
>>
>>>
>>
>>> Status = Error
>>
>>> State = Error
>>
>>>
>>
>>> I thank you in advance for your help, you responds very quickly,
>>> which work with the opennebula agreeably.
>>
>>> Even if there are problems here and there.
>>
>>>
>>
>>> Regards,
>>
>>> Ömer
>>
>>>
>>
>>> _______________________________________________
>>
>>> Users mailing list
>>
>>> Users at lists.opennebula.org
>>
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>>
>>
More information about the Users
mailing list