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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datastore not automounting on other cluster hosts. #2128

Open
4 tasks done
rmtilson opened this issue Feb 2, 2024 · 1 comment
Open
4 tasks done

Datastore not automounting on other cluster hosts. #2128

rmtilson opened this issue Feb 2, 2024 · 1 comment
Labels
bug Type: Bug needs-triage Status: Issue Needs Triage

Comments

@rmtilson
Copy link

rmtilson commented Feb 2, 2024

Community Guidelines

  • I have read and agree to the HashiCorp Community Guidelines .
  • 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

v1.6.2

Terraform Provider

v2.6.1

VMware vSphere

v7.0.3

Description

Datastore only mounted to host that was specified and not the other hosts in the cluster.

Affected Resources or Data Sources

vsphere_vmfs_datastore

Terraform Configuration

resource "vsphere_vmfs_datastore" "datastore" {
for_each = var.datastores

name = each.key
host_system_id = module.vsphere_host[var.ds_mount_host].vmw_host_id

datastore_cluster_id = try(vsphere_datastore_cluster.dsc[each.value.dsc_name].id, null)
disks = [each.value.naa]
}

Debug Output

no output

Panic Output

No response

Expected Behavior

All hosts in cluster get datastore.

Actual Behavior

Only host specified in host_system_id has the datastore mounted.

Steps to Reproduce

Add datastore

Environment Details

Using FC for the storage.

Screenshots

image

Mounted Host
image

Non-mounted Host
image

References

No response

@rmtilson rmtilson added bug Type: Bug needs-triage Status: Issue Needs Triage labels Feb 2, 2024
Copy link

github-actions bot commented Feb 2, 2024

Hello, rmtilson! 馃枑

Thank you for submitting an issue for this provider. The issue will now enter into the issue lifecycle.

If you want to contribute to this project, please review the contributing guidelines and information on submitting pull requests.

@hashicorp hashicorp deleted a comment from rmtilson Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type: Bug needs-triage Status: Issue Needs Triage
Projects
None yet
Development

No branches or pull requests

1 participant