vmware / vmware/pyvmomi

How to apply storage profile after update it

Open
#859 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Python
Stars
2.3k
Forks
763
PR merge metrics
No merged PRs in 30d

Description

I have a scenario to apply the storage profile after the update.

In the earlier version 6.7.0, we can apply the storage profile after update using the ProfileManger.PbmApplyProfile method

But in 6.7.3, there is no such method to apply the storage profile

pbm_content.profileManager
pbm_content.profileManager.PbmAssignDefaultRequirementProfile( pbm_content.profileManager.PbmQueryAssociatedProfile(
pbm_content.profileManager.PbmCreate( pbm_content.profileManager.PbmQueryAssociatedProfiles(
pbm_content.profileManager.PbmDelete( pbm_content.profileManager.PbmQueryDefaultRequirementProfile(
pbm_content.profileManager.PbmFetchCapabilityMetadata( pbm_content.profileManager.PbmQueryDefaultRequirementProfiles(
pbm_content.profileManager.PbmFetchCapabilitySchema( pbm_content.profileManager.PbmQueryProfile(
pbm_content.profileManager.PbmFetchResourceType( pbm_content.profileManager.PbmQuerySpaceStatsForStorageContainer(
pbm_content.profileManager.PbmFetchVendorInfo( pbm_content.profileManager.PbmResetDefaultRequirementProfile(
pbm_content.profileManager.PbmFindApplicableDefaultProfile( pbm_content.profileManager.PbmResetVSanDefaultProfile(
pbm_content.profileManager.PbmQueryAssociatedEntities( pbm_content.profileManager.PbmRetrieveContent(
pbm_content.profileManager.PbmQueryAssociatedEntity( pbm_content.profileManager.PbmUpdate(

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the generated ProfileManager bindings between versions 6.7.0 and 6.7.3, focusing on PbmApplyProfile and the methods listed from pbm_content.profileManager. Confirm whether the method was removed from the API or is missing from the bindings; done means documenting or restoring the supported way to apply an updated storage profile.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.