[chef] Re: "knife-vsphere vm vmdk add" cannot find VM


Chronological Thread 
  • From: Anna Redding < >
  • To: " " < >
  • Subject: [chef] Re: "knife-vsphere vm vmdk add" cannot find VM
  • Date: Mon, 17 Mar 2014 12:25:56 -0500

Hello all, 

I have not heard anything back so re-posting.  

I 'really' need to get this resolved (see atached email) as the automation 
code I've written needs to be used to build out an environment tomorrow or 
Wed. We will have to have manual intervention if I don't get this working and 
that is what we are trying to eliminate. 

So ANY' ideas are most welcome!!!!

I've tried putting the VM directly under the data center level; I've tried 
referencing via  IPaddr; I've tried the long form of the hostname; I've 
verified spelling; I've verified the VM is really on the data store I'm 
pointing to on the command line... no matter what, I receive the same error 
indicating it cannot find the VM...yet it was created using the "knife 
vsphere vm clone" command. 

What else can it be???

Even if you think it's an 'obvious' answer, please run it past me.  

Thank you in advance. 
Anna

 
Sent from my iPhone

On Mar 14, 2014, at 11:14 AM, Anna Redding 
< >
 wrote:

> All
> 
> Once again, I am perplexed. After cloning my VMs from template (via a 
> script using 'knife vsphere vm clone...'), I am trying to add additional 
> vmdks to each VM so we can create additional mount points on different 
> virtual disks. 
> 
> Again, I am using 'knife vsphere' but with the vm vmdk add' arguments. It 
> is erroring stating it cannot find the VM. 
> 
> I have verified the VM is on the data store.  I have verified in vcenter, 
> the VM is under the expected folder. 
> 
> When I issue the command 'knife vsphere vm vmdk list --recursive ...', I 
> see the VM and it is under the expected folder (called VMbuildout)....
> But when I execute the command:
> 'knife vsphere vm vmdk add  <VM>...'
> It errors with "Cannot find <VM>"
> 
> Oh, also, there are NO special characters in the VM's name.  
> 
> So...what am I missing here???
> 
> Thanks in advance,
> Anna
> 
> 
> Sent from my iPhone



Archive powered by MHonArc 2.6.16.

§