HewlettPackard / terraform-provider-oneview

Automates the provisioning of physical infrastructure from a private cloud using templates from HPE OneView with Terraform
Apache License 2.0
49 stars 30 forks source link

Could not find Interconnect Type from name: Synergy 12Gb SAS Connection Module #428

Closed bangorango closed 2 years ago

bangorango commented 3 years ago

Setting this in logical interconnect template

interconnect_type_name = "Synergy 12Gb SAS Connection Module"

Is that not the correct setting to create a logical interconnect group with this interconnect type?

│ Error: Could not find Interconnect Type from name: Synergy 12Gb SAS Connection Module
│ 
│   with oneview_logical_interconnect_group.logical_interconnect_group_SAS,
│   on logical_interconnect_groups.tf line 72, in resource "oneview_logical_interconnect_group" "logical_interconnect_group_SAS":
│   72: resource "oneview_logical_interconnect_group" "logical_interconnect_group_SAS" {
│ 

Here is my version -

terraform {
  required_version = ">= 0.13"
  required_providers {
    oneview = {
      source = "hewlettpackard/oneview"
      version = "6.3.1-13"
    }
  }
}
nabhajit-ray commented 2 years ago

Can you please share the configuration file you are using?

bangorango commented 2 years ago
#
#
#
# Create Logical Interconnect Group for SAS
resource "oneview_logical_interconnect_group" "logical_interconnect_group_SAS" {
  type                 = "logical-interconnect-groupV8"
  name                 = "LIG_SAS"
  interconnect_bay_set = 3
  enclosure_indexes    = [1]
  redundancy_type      = "Redundant"
  interconnect_map_entry_template {
    enclosure_index        = 1
    bay_number             = 1
    interconnect_type_name = "Synergy 12Gb SAS Connection Module"
  }
  interconnect_map_entry_template {
    enclosure_index        = 1
    bay_number             = 4
    interconnect_type_name = "Synergy 12Gb SAS Connection Module"
  }

  igmp_settings {
    consistency_checking       = "ExactMatch"
    igmp_idle_timeout_interval = 260
    igmp_snooping              = true
    prevent_flooding           = true
    proxy_reporting            = true
  }
}

Gives this error when running terraform apply

│ Error: Could not find Interconnect Type from name: Synergy 12Gb SAS Connection Module
nabhajit-ray commented 2 years ago

Hi @bangorango ,

Right now the provider does not work properly with SAS interconnect types. We will take it in our backlog and fix it as per our priority

nabhajit-ray commented 2 years ago

Closing it as per previous comment