vmware / vmware/pyvmomi

pyvmomi 6.0 how to create vm with iscsi disk

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

Nobody has claimed this yet.

question sample request
Dominant language
Python
Stars
2.3k
Forks
763
PR merge metrics
No merged PRs in 30d

Description

add disk error
pyVmomi.VmomiSupport.InvalidController: (vim.fault.InvalidController) {
dynamicType = ,
dynamicProperty = (vmodl.DynamicProperty) [],
msg = "The device '2' is referring to a nonexisting controller '1,000'.",
faultCause = ,
faultMessage = (vmodl.LocalizableMessage) [],
property = u'virtualDeviceSpec.operation',
deviceIndex = 2,
controllerKey = 1000

Contributor guide

Open the contributing guide

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 at the VM creation and device-spec construction path that produces pyVmomi.VmomiSupport.InvalidController, using virtualDeviceSpec.operation and controllerKey=1000 as trace points. Reproduce the iSCSI-disk add operation and establish what valid controller reference is required before the disk is added.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, infrastructure
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.