Skip to content

scsi_bus_sharing and scsi_type options changes detected during plan on NVME-only virtual machines #2633

@msproul-onezero

Description

@msproul-onezero

Code of Conduct

  • I have read and agree to the Code of Conduct.
  • Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
  • Do not leave "+1" or other comments that do not add relevant information or questions.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Terraform

OpenTofu 1.9.0

Terraform Provider

2.15.0

VMware vSphere

8.0.3.0

Description

When executing a plan against virtual machines that lack a SCSI storage controller, but have an NVME storage controller, changes are detected in the scsi_bus_sharing and scsi_type options. Running an apply does not cause any changes to the virtual machines and does not prevent these changes from being detected on future plans.

Affected Resources or Data Sources

resource/vsphere_virtual_machine

Terraform Configuration

Create VM with nvme_controller_count >= 1 and scsi_controller_count = 0. Re-run the plan after applying.

Debug Output

No response

Panic Output

No response

Expected Behavior

Plan detects no changes.

Actual Behavior

Plan detects changes in scsi_bus_sharing and scsi_type when no changes have been made.

Steps to Reproduce

Execute a plan against an existing virtual machine that has an NVME controller, but no SCSI controller.

Environment Details

No response

Screenshots

No response

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions