Is there API could help to get datastore file's lock info?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 763
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I found that the file on vmfs datastore may be locked when I tired to download it via the API. It could only be downloaded from the host who is the lock owner. Although the command on esxi host "vmfsfilelockinfo" could help lock owner's hostname, but it's an internal command.
So, is there any API could help to get vmfs datastore file's lock info?
Thanks so much.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the vSphere API areas exposed by pyvmomi for VMFS datastore files and compare them with the ESXi vmfsfilelockinfo command mentioned in the issue. Done means identifying a supported API that returns the lock owner for a datastore file, or documenting that no such API is available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100