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

Add support for datastore selection #1893

Closed
4 tasks done
nikfot opened this issue May 3, 2023 · 5 comments · Fixed by #1896
Closed
4 tasks done

Add support for datastore selection #1893

nikfot opened this issue May 3, 2023 · 5 comments · Fixed by #1896
Labels
area/storage Area: Storage enhancement Type: Enhancement

Comments

@nikfot
Copy link
Contributor

nikfot commented May 3, 2023

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.

Description

There is no support for selecting datatore for a VM based on the datastore statistics. Even SDRS is not an absolute way on defining the specific datastore to use for a vm.

Moreover there is no access to datastore elements besides name and ID. You cannot get the numbers concerning a datastore using terraform data.

Use Case(s)

If a VM cluster has access to more than one datastores it would be very usefull if you did not have to hardcode the datastore, but instead instruct terraform to use the datastore with the less used space.

SDRS is using its own criteria to manage vms which - as long as our experiments go - it does not seem to conform fully with our own criteria ( please let me know If I am missing something ).

Potential Terraform Provider Configuration

We could add an capacity object on the vsphere_datastore and use it in a vsphere_datastore_policy attribute.

References

No response

@nikfot nikfot added the enhancement Type: Enhancement label May 3, 2023
@github-actions
Copy link

github-actions bot commented May 3, 2023

Hello, nikfot! 🖐

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.

@tenthirtyam tenthirtyam added this to the Backlog milestone May 4, 2023
@nikfot
Copy link
Contributor Author

nikfot commented Aug 1, 2023

Hello,

Any updates on this issue & its merge request?

@tenthirtyam tenthirtyam added the area/storage Area: Storage label Aug 7, 2023
Copy link

github-actions bot commented Feb 4, 2024

Marking this issue as stale due to inactivity in the past 180 days. This helps us focus on the active issues. If this issue is reproducible with the latest version of the provider, please comment. If this issue receives no comments in the next 30 days it will automatically be closed.
If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!

@github-actions github-actions bot added the stale Status: Stale label Feb 4, 2024
@nikfot
Copy link
Contributor Author

nikfot commented Feb 4, 2024

This issue is not stale, there is an open PR waiting for review.

@github-actions github-actions bot removed the stale Status: Stale label Feb 4, 2024
@tenthirtyam tenthirtyam removed this from the Backlog milestone Mar 6, 2024
Copy link

github-actions bot commented Apr 6, 2024

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/storage Area: Storage enhancement Type: Enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants