pyvmomi 6.0 how to create vm with iscsi disk
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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