Hey guys, I have quiet the odd issue today. haha What do you think of this...
We recently moved our storage over to an NFS server and connected it up as a symlink. However, this broke the system, and it took me a bit to track it down. The problem appears to be that VMware sees the created vmguest as the literal link, as shown below: >>>>> [root@server15 Virtual Machines]# vmware-vim-cmd vmsvc/getallvms >>>>> Vmid Name >>>>> File Guest OS Version >>>>> Annotation >>>>> 192 vmwarelinux-CentOSBase-v0 [standard] >>>>> vmwarelinux-CentOSBase-v0/vmwarelinux-CentOSBase-v0.vmx redhatGuest >>>>> vmx-04 >>>>> 432 vmwarewin7-base-v1 [standard] >>>>> vmwarewin7-base-v1/vmwarewin7-base-v1.vmx >>>>> winLonghorn64Guest vmx-07 >>>>> 944 vmguest-6:vmwarelinux-CentOSBase-v0 [] /mnt/massive03/b/Virtual >>>>> Machines/vmguest-6_5-v0/vmguest-6_5-v0.vmx otherLinuxGuest vmx-07 This causes a problem in the code as it is looking for the standard path. From what I know about symlinks, they shouldn't be aware of the hard path, so I'm not sure why this is happening. Below is a sample from the vcld.log. Any ideas? Kindest Regards, Patrick Sigmon |7880|106:106|new| ---- WARNING ---- |7880|106:106|new| 2011-02-07 14:51:46|7880|106:106|new|VMware.pm:_get_datastore_name(5737)|unable to determine datastore name from path: '[standard] vmwarelinux-CentOSBase-v0/vmwarelinux-CentOSBase-v0 .vmx', path does not begin with any of the datastore paths: |7880|106:106|new| ( 0) VMware.pm, _get_datastore_name (line: 5737) |7880|106:106|new| (-1) VMware.pm, _get_datastore_root_normal_path (line: 5574)|7880|106:106|new| (-2) VMware.pm, _get_normal_path (line: 5664) |7880|106:106|new| (-3) VIM_SSH.pm, _get_vm_list (line: 264) |7880|106:106|new| (-4) VIM_SSH.pm, get_registered_vms (line: 826) |7880|106:106|new| (-5) VMware.pm, is_vm_registered (line: 3681) |7880|106:106|new| ---- WARNING ---- |7880|106:106|new| 2011-02-07 14:51:46|7880|106:106|new|VMware.pm:_get_datastore_root_normal_path(5576)|failed to determine datastore root normal path, unable to determine datastore name: [standard] vm warelinux-CentOSBase-v0/vmwarelinux-CentOSBase-v0.vmx |7880|106:106|new| ( 0) VMware.pm, _get_datastore_root_normal_path (line: 5576) |7880|106:106|new| (-1) VMware.pm, _get_normal_path (line: 5664) |7880|106:106|new| (-2) VIM_SSH.pm, _get_vm_list (line: 264) |7880|106:106|new| (-3) VIM_SSH.pm, get_registered_vms (line: 826) |7880|106:106|new| (-4) VMware.pm, is_vm_registered (line: 3681) |7880|106:106|new| (-5) VIM_SSH.pm, vm_register (line: 1079) |7880|106:106|new| ---- WARNING ---- |7880|106:106|new| 2011-02-07 14:51:46|7880|106:106|new|VMware.pm:_get_normal_path(5666)|unable to determine normal path, failed to determine datastore root normal path: [standard] vmwarelinux-CentOSBa se-v0/vmwarelinux-CentOSBase-v0.vmx |7880|106:106|new| ( 0) VMware.pm, _get_normal_path (line: 5666) |7880|106:106|new| (-1) VIM_SSH.pm, _get_vm_list (line: 264) |7880|106:106|new| (-2) VIM_SSH.pm, get_registered_vms (line: 826) |7880|106:106|new| (-3) VMware.pm, is_vm_registered (line: 3681) |7880|106:106|new| (-4) VIM_SSH.pm, vm_register (line: 1079) |7880|106:106|new| (-5) VMware.pm, load (line: 401) |7880|106:106|new| ---- WARNING ---- |7880|106:106|new| 2011-02-07 14:51:46|7880|106:106|new|VIM_SSH.pm:_get_vm_list(266)|unable to determine normal path: [standard] vmwarelinux-CentOSBase-v0/vmwarelinux-CentOSBase-v0.vmx |7880|106:106|new| ( 0) VIM_SSH.pm, _get_vm_list (line: 266) |7880|106:106|new| (-1) VIM_SSH.pm, get_registered_vms (line: 826) |7880|106:106|new| (-2) VMware.pm, is_vm_registered (line: 3681) |7880|106:106|new| (-3) VIM_SSH.pm, vm_register (line: 1079) |7880|106:106|new| (-4) VMware.pm, load (line: 401) |7880|106:106|new| (-5) new.pm, reload_image (line: 687) |7880|106:106|new| ---- WARNING ---- |7880|106:106|new| 2011-02-07 14:51:46|7880|106:106|new|VIM_SSH.pm:get_registered_vms(828)|unable to retrieve registered VMs, failed to retrieve list of registered VMs and their IDs |7880|106:106|new| ( 0) VIM_SSH.pm, get_registered_vms (line: 828) |7880|106:106|new| (-1) VMware.pm, is_vm_registered (line: 3681) |7880|106:106|new| (-2) VIM_SSH.pm, vm_register (line: 1079) |7880|106:106|new| (-3) VMware.pm, load (line: 401) |7880|106:106|new| (-4) new.pm, reload_image (line: 687) |7880|106:106|new| (-5) new.pm, process (line: 282)
