Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: initiators didnt add to igroup #274

Open
holylai830830 opened this issue Aug 23, 2024 · 3 comments
Open

[Bug]: initiators didnt add to igroup #274

holylai830830 opened this issue Aug 23, 2024 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@holylai830830
Copy link

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

@holylai830830 holylai830830 added the bug Something isn't working label Aug 23, 2024
@carchi8py
Copy link
Contributor

@holylai830830 if you run

igroup initiators show -vserver svm_DR

Does it appear?

@holylai830830
Copy link
Author

Error: "initiators" is not a recognized command

@holylai830830
Copy link
Author

igroup created , but corrspondeing initaitor didnt added to the igroup

@carchi8py carchi8py added this to the 2.0.1 milestone Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 2.0.1
Development

No branches or pull requests

2 participants