lamw / lamw/vmware-scripts

vmdkManagement.pl fail to share the disk

Open
#83 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Perl
Stars
951
Forks
504
PR merge metrics
No merged PRs in 30d

Description

Dear William,
I using vmdkManagement.pl in share disk to the guest in vcenter 5.1. It works properly.
Recently, I migrate the vm host to vcenter 6.0 and the vmdkManagement.pl fail to share disk to the guest with following error;
Can't call method "key" on an undefined value at /usr/local/sa/vmtools/vmdkManagement.pl line 131

How can I fix this issue.
thank you.

Regards
Ken

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting vmdkManagement.pl around line 131 and trace the value that is undefined when the script runs against vCenter 6.0. Compare this failure with the previously working vCenter 5.1 setup. Done means the script shares the disk successfully and no longer raises the reported undefined-value error.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
infrastructure, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.