- From: Jesse Campbell <
>
- To:
- Subject: [chef] Re: Re: Anyone using the knife-vsphere knife plugin ?
- Date: Tue, 3 Apr 2012 09:33:43 -0400
I use it a little with my 300vm infrastructure, and I'm one of the
contributors to the plugin.
We also run AD and I login without trouble as an AD user.
I do not specify the domain anywhere in the configuration, it appears
to use the default AD domain of the vcenter server. I specify the
username as:
username
Here's the appropriate section of my knife.rb:
knife[:vsphere_host] = "192.168.10.70"
knife[:vsphere_user] = "jesse"
knife[:vsphere_pass] = "password"
knife[:vsphere_dc] = "datacenter"
-Jesse
On Apr 3, 2012 1:39 AM, "Torben Knerr"
<
>
wrote:
>
>
Hi Randy,
>
>
I've had "knife vsphere template list" working with a local user. Apart
>
from that test I haven't really used it yet, but that was my plan at least
>
(don't have the time to work in that currently)...
>
>
So I would also be interested in other peoples experience with it.
>
>
BTW: did you create the vm templates manually? I've been setting up some
>
Vagrant baseboxes using VeeWee and and wanted to use the same mechanism for
>
creating vsphere vm templates, but somehow I couldn't get it to work that
>
way...
>
>
Cheers,
>
Torben
>
>
Am 02.04.2012 17:54 schrieb "Van Fossan,Randy"
>
<
>:
>
>
>
> Anyone using the knife-vsphere knife plugin? I am trying to use it
>
> without success. We have a large Virtual environment with 3000+ VM’s
>
> with many Virtual Center Servers, Data Centers and clusters. Some are
>
> geographically dispersed.
>
>
>
>
>
>
>
> We are using Active Directoy integration with ESXi and Virtual Center.
>
> The documentation refers to named user authentication, so a domain user in
>
> the format domain\username should work?
>
>
>
>
>
>
>
> I always get the following whe running a “knife vsphere template list”
>
>
>
> ERROR: RbVmomi::Fault: InvalidLogin: Cannot complete login due to an
>
> incorrect user name or password.
>
>
>
>
>
>
>
> I suppose the next step is to create local accounts on a Virtual Center
>
> server and re-test???
>
>
>
>
>
>
>
> Thanks
>
>
>
> Randy
>
>
>
>
Archive powered by MHonArc 2.6.16.