Libvirt / esx suport

Good Evening Foreman Users,

I am trying to connect to add a hypervisor entry for esx server.

I have libvirt compiled and ruby bindings configured.

When I try to add I get the following message -

Unable to connect to Hypervisor: Call to virConnectOpen failed:
invalid argument in Missing or invalid auth pointer

The URI is formatted as follows -

esx://hostname.mydomain.com

As far as I undestand, I don't need libvirtd running to connect to
esx. (at least virsh doesn't require it)?

Please let me know if ESX is not supported or if there is something
obvious I am missing?

Thanks~!

Hi Gerhard,

> Good Evening Foreman Users,
>
> I am trying to connect to add a hypervisor entry for esx server.
>
> I have libvirt compiled and ruby bindings configured.
>
> When I try to add I get the following message -
>
> Unable to connect to Hypervisor: Call to virConnectOpen failed:
> invalid argument in Missing or invalid auth pointer
>
> The URI is formatted as follows -
>
> esx://hostname.mydomain.com
>
> As far as I undestand, I don't need libvirtd running to connect to
> esx. (at least virsh doesn't require it)?
that's correct.
>
> Please let me know if ESX is not supported or if there is something
> obvious I am missing?
As far as I'm aware, someone did had it working for a while, but that
required modifying the templates (in vendor/plugins/virt/templates).

nevertheless, I believe that supporting ESX directly is not good
enough (if you just want to run a simple hypervisor, why not using kvm
/ libvirt instead which is free and works better imho), rather we want
to support 'cloud like' deployments, where the cloud (vshpere, rhevm,
ec2 etc) knows where to run the instance.

we already started some work on it, as last week i got a test machine
to play with vsphere.

in the meanwhile, your best bet is to using libvirt / kvm, as that has
been tested and probably the most popular/usable solution at the
moment.

if you are willing to play with the virt gem directly
(https://github.com/ohadlevy/virt) and utilize esx, that would be
awesome.

cheers,
Ohad

··· On Mon, Aug 1, 2011 at 5:03 AM, GerHard wrote:

Thanks~!


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en.

Ohad,

Did you know you can run ESX, ESXi as a virtual machine on your desktop?

I run ESXi 4 on my mac laptop under vmware fusion.

Corey

··· On Aug 1, 2011, at 10:12 AM, Ohad Levy wrote:

Hi Gerhard,

On Mon, Aug 1, 2011 at 5:03 AM, GerHard gerschwab@gmail.com wrote:

Good Evening Foreman Users,

I am trying to connect to add a hypervisor entry for esx server.

I have libvirt compiled and ruby bindings configured.

When I try to add I get the following message -

Unable to connect to Hypervisor: Call to virConnectOpen failed:
invalid argument in Missing or invalid auth pointer

The URI is formatted as follows -

esx://hostname.mydomain.com

As far as I undestand, I don’t need libvirtd running to connect to
esx. (at least virsh doesn’t require it)?
that’s correct.

Please let me know if ESX is not supported or if there is something
obvious I am missing?
As far as I’m aware, someone did had it working for a while, but that
required modifying the templates (in vendor/plugins/virt/templates).

nevertheless, I believe that supporting ESX directly is not good
enough (if you just want to run a simple hypervisor, why not using kvm
/ libvirt instead which is free and works better imho), rather we want
to support ‘cloud like’ deployments, where the cloud (vshpere, rhevm,
ec2 etc) knows where to run the instance.

we already started some work on it, as last week i got a test machine
to play with vsphere.

in the meanwhile, your best bet is to using libvirt / kvm, as that has
been tested and probably the most popular/usable solution at the
moment.

if you are willing to play with the virt gem directly
(GitHub - ohadlevy/virt: Simple to use ruby interface to libvirt) and utilize esx, that would be
awesome.

cheers,
Ohad

Thanks~!


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en.


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en.