Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The creation fails if there is an Annotation on the VM #2

Open
k4cy opened this issue Nov 18, 2017 · 2 comments
Open

The creation fails if there is an Annotation on the VM #2

k4cy opened this issue Nov 18, 2017 · 2 comments

Comments

@k4cy
Copy link

k4cy commented Nov 18, 2017

I've got VMs and one with this annotation :

mkdir -p /vmfs/volumes/LUN-DM2/DOMEDIA01
vmkfstools -i \

/vmfs/volumes/LUN-TPL1/TPL-CENTOS6-x86_64/TPL-CENTOS6-x86_64.vmdk \

/vmfs/volumes/LUN-DM2/DOMEDIA01/DOMEDIA01.vmdk -d thin

rm DOMEDIA01-flat.vmdk DOMEDIA01.vmdk vmware.log DOMEDIA01.nvram DOMEDIA01.vmsd DOMEDIA01.vmxf

The script was failing with this message :

[root@master01 esxi-vm-create]# ./esxi-vm-create -n testvm01
The Error is <type 'exceptions.IndexError'>

I've been able to create the VM removing the annotation

My ESXI version :

VMware ESXi 6.0.0 build-3029758
VMware ESXi 6.0.0 Update 1

@josenk
Copy link
Owner

josenk commented Nov 20, 2017

How did you add the annotation? Can you send me a copy of your config file... (remember to remove your password!)
$ cat ~/.esxi-vm.yml

@k4cy
Copy link
Author

k4cy commented Feb 15, 2018

I've added the annotation using the vSphere Client (sorry for the delay for the answer)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants