Anyone using the knife-vsphere knife plugin?

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

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" vanfossr@oclc.org:

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****


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" ukio@gmx.de 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" vanfossr@oclc.org:

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

I have used it only in testing. It did not work perfectly with all of the options. I imagine it was designed to work in specific situations. I used it around February for those tests and Ezra Pagel, the maintainer, was very helpful. We are planning to start incorporating it into our operations within the coming months.

Ian

From: derukio@gmail.com [mailto:derukio@gmail.com] On Behalf Of Torben Knerr
Sent: Tuesday, April 03, 2012 1:39 AM
To: chef@lists.opscode.com
Subject: [chef] Re: Anyone using the knife-vsphere knife plugin ?

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” <vanfossr@oclc.orgmailto:vanfossr@oclc.org>:
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

Ian: Which options have you run into trouble with? The plugin needs a
lot of testing, and it would be great to get more input on
improvements necessary.

Randy: Have you had any progress getting your AD accounts to authenticate?
I did some testing on my machine, I am unable to authenticate using
domain\user, but I am able to authenticate with:
domain\user
user@domain
user

-Jesse