Open holylai830830 opened 2 months ago
1.1.3
resource "netapp-ontap_protocols_san_igroup_resource" "protocols_san_igroups"
expected initiator name" = "iqn.2005-03.org.open-iscsi:host-246e965dc31c" will be added to igroup
SangFor-Lab::> igroup show -vserver svm_DR Vserver Igroup Protocol OS Type Initiators
svm_DR SANGFOR mixed vmware -
No response
resource "netapp-ontap_protocols_san_igroup_resource" "protocols_san_igroups" {
cx_profile_name = "ontap_lab" name = var.igroup_name svm = { name = var.svm_name } initiators = toset([ { "comment" = "Node1" "name" = "iqn.2005-03.org.open-iscsi:host-246e965dc31c" } ]) os_type = "vmware" comment = "created by terraform" }
None
@holylai830830 if you run
igroup initiators show -vserver svm_DR
Does it appear?
Error: "initiators" is not a recognized command
igroup created , but corrspondeing initaitor didnt added to the igroup
Terraform Core Version
1.1.3
ONTAP Provider Version
1.1.3
Affected Resource(s)
resource "netapp-ontap_protocols_san_igroup_resource" "protocols_san_igroups"
Expected Behavior
expected initiator name" = "iqn.2005-03.org.open-iscsi:host-246e965dc31c" will be added to igroup
Actual Behavior
SangFor-Lab::> igroup show -vserver svm_DR Vserver Igroup Protocol OS Type Initiators
svm_DR SANGFOR mixed vmware -
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Create a protocols_san_igroup
resource "netapp-ontap_protocols_san_igroup_resource" "protocols_san_igroups" {
required to know which system to interface with
cx_profile_name = "ontap_lab" name = var.igroup_name svm = { name = var.svm_name } initiators = toset([ { "comment" = "Node1" "name" = "iqn.2005-03.org.open-iscsi:host-246e965dc31c" } ]) os_type = "vmware" comment = "created by terraform" }
Steps to Reproduce
Create a protocols_san_igroup
resource "netapp-ontap_protocols_san_igroup_resource" "protocols_san_igroups" {
required to know which system to interface with
cx_profile_name = "ontap_lab" name = var.igroup_name svm = { name = var.svm_name } initiators = toset([ { "comment" = "Node1" "name" = "iqn.2005-03.org.open-iscsi:host-246e965dc31c" } ]) os_type = "vmware" comment = "created by terraform" }
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None