Post

3 followers Follow
0
Avatar

vCenter Customization Specfications failing

Hello, has anyone been able to successfully use vcenter customization specifications with vSphere 6.5 U1?  The setup is as follows:

vSphere 6.5 U1 Enterprise Plus and all guest network is going through a virtual distributed switch.

vOneCloud Appliance version 3.4

I have built my vm templates within vCenter with the following:

VMware Tools - Windows
Open-VM-Tools - Linux
Contextualization Packages 
VMXNet3 (vnic)

I imported the templates into vonecloud and then set the vmware customization specification that I want.  I go to do a test provision and the vNIC always comes up "disconnected" and the custom spec fails.  I looked in the 

/var/log/vmware-imc/toolsDeployPkg.log

 

and i see error finding the specified NIC for MAC address = [mac address]

 

please help!

 
Ky Tran

Please sign in to leave a comment.

4 comments

0
Avatar

Hi, does the vmware customization specification work if you deploy a vm directly from vcenter with that template?

mouyaq 0 votes
Comment actions Permalink
0
Avatar

Hi Mouyaq!  Yes, the vmware customization spec works when I deploy a VM directly from vCenter using the template.  The custom spec I have is setup to rename the hostname to match the virtual machine name and then enable the NIC for DHCP.

 

When I deploy directly from vCenter using the template and customizing with the custom spec it successfully changes the hostname and the VMXNET3 nic powers up on a "connected" state and gets an IP from DHCP.

 

When I try to deploy from vOneCloud using the same template and vmware customization spec.  The hostname will get renamed with one-##-hostname,but then the VMXNET3 nic will power on "disconnected" and in the event logs it will show that the customization spec has failed.  

Ky Tran 0 votes
Comment actions Permalink
0
Avatar

I am experiencing this same issue. It appears to be related to vOneCloud changing the MAC address of the VM (via the virtual network address range). Here is my .vmtx file:

 

.encoding = "UTF-8"
config.version = "8"
virtualHW.version = "13"
nvram = "test_template.nvram"
pciBridge0.present = "TRUE"
svga.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
hpet0.present = "TRUE"
floppy0.present = "FALSE"
svga.vramSize = "8388608"
numvcpus = "2"
memSize = "8192"
sched.cpu.units = "mhz"
sched.cpu.affinity = "all"
sched.cpu.latencySensitivity = "normal"
powerType.powerOff = "default"
powerType.suspend = "default"
powerType.reset = "default"
tools.upgrade.policy = "manual"
scsi0.virtualDev = "pvscsi"
scsi0.present = "TRUE"
sata0.present = "TRUE"
scsi0:0.deviceType = "scsi-hardDisk"
scsi0:0.fileName = "test_template.vmdk"
sched.scsi0:0.shares = "normal"
sched.scsi0:0.throughputCap = "off"
scsi0:0.present = "TRUE"
ethernet0.virtualDev = "vmxnet3"
ethernet0.dvs.switchId = "68 6f 3c 50 5b 6a 01 92-03 c2 79 32 87 3d 3c a4"
ethernet0.dvs.portId = "32191"
ethernet0.dvs.portgroupId = "dvportgroup-29567"
ethernet0.dvs.connectionId = "757724196"
ethernet0.shares = "normal"
ethernet0.addressType = "vpx"
ethernet0.uptCompatibility = "TRUE"
ethernet0.present = "TRUE"
sata0:0.startConnected = "FALSE"
sata0:0.deviceType = "cdrom-raw"
sata0:0.clientDevice = "TRUE"
sata0:0.fileName = "emptyBackingString"
sata0:0.present = "TRUE"
displayName = "test_template"
guestOS = "rhel7-64"
toolScripts.afterPowerOn = "TRUE"
toolScripts.afterResume = "TRUE"
toolScripts.beforeSuspend = "TRUE"
toolScripts.beforePowerOff = "TRUE"
uuid.bios = "42 3c 7b ae e3 f1 b9 83-df 6c 2f 2f 23 5f f5 89"
vc.uuid = "50 3c 8c e8 ed a6 fa af-95 33 96 1f 73 a7 db c0"
vm.createDate = "1571155629039908"
migrate.hostLog = "test_template-5272a17b.hlog"
sched.cpu.min = "0"
sched.cpu.shares = "normal"
sched.mem.min = "0"
sched.mem.minSize = "0"
sched.mem.shares = "normal"
migrate.encryptionMode = "opportunistic"
numa.autosize.vcpu.maxPerVirtualNode = "2"
numa.autosize.cookie = "20001"
sched.swap.derivedName = "/vmfs/volumes/ed636930-ac020643/test_template/test_template-8515c527.vswp"
scsi0:0.redo = ""
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
scsi0.pciSlotNumber = "160"
ethernet0.pciSlotNumber = "192"
vmci0.pciSlotNumber = "32"
sata0.pciSlotNumber = "33"
scsi0.sasWWID = "50 05 05 6e e3 f1 b9 80"
vmci0.id = "593491337"
monitor.phys_bits_used = "43"
vmotion.checkpointFBSize = "8388608"
vmotion.checkpointSVGAPrimarySize = "8388608"
cleanShutdown = "TRUE"
softPowerOff = "TRUE"
svga.guestBackedPrimaryAware = "TRUE"
tools.syncTime = "FALSE"
ethernet0.generatedAddress = "00:50:56:bc:68:b7"

Ryan Collins 0 votes
Comment actions Permalink