Skip to content

vsphere unsupported disk type #429

@daomah

Description

@daomah

General information:

  • Operating System: arch linux
  • Terracognita version / tag: v0.8.4.r11.g802bd4b52f
  • Did you build Terracognita from sources or did you use the Docker image: yay

Describe the bug:

Unsupported disk type

Log message

could not import from vsphere: could not import resource vsphere_virtual_machine with id /datacenter/vm/folder/vm_name: disk.1: unsupported disk type at scsi:1:0 (expected flat VMDK version 2, got *types.VirtualDiskRawDiskMappingVer1BackingInfo)

Additional context

This particular VM has a number of disks. One of them is "Thick Provision Lazy Zeroed" while all the others are "RDM." I presume it's the RDM disks that are causing the issue and is related, in some degree, to vmware/terraform-provider-vsphere#397.

If adding RDM support is out of scope, it would be nice to be able to exclude VMs like this so that I can at least build tfs for the bulk of my environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions