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] vcsim: ExtensionManager:ExtensionManager does not implement: FindExtension #2644

Closed
Geairare opened this issue Oct 29, 2021 · 5 comments · Fixed by #3390
Closed

[BUG] vcsim: ExtensionManager:ExtensionManager does not implement: FindExtension #2644

Geairare opened this issue Oct 29, 2021 · 5 comments · Fixed by #3390

Comments

@Geairare
Copy link

Hello

From a Java VSphere client I'm trying to connect to a mocked VCenter I'm getting this exception:

com.vmware.vim25.MethodNotFound

On vcsim output the message is:

yyyy/mm/dd HH:MM:SS ExtensionManager:ExtensionManager does not implement: FindExtension

My code use

com.vmware.vim25.mo.ExtensionManager em ;
com.vmware.vim25.Extension extension  = em.findExtension("com.vmware.vcDr");

Something wrong somewhere ?

@github-actions
Copy link
Contributor

Howdy 🖐   Geairare ! Thank you for your interest in this project. We value your feedback and will respond soon.

If you want to contribute to this project, please make yourself familiar with the CONTRIBUTION guidelines.

@embano1
Copy link
Contributor

embano1 commented Oct 30, 2021

This functionality is currently not implemented in vcsim

@elad-eyal
Copy link

@embano1 can you give some guidelines on how one would implement ExtensionManager on vcsim ?

@github-actions
Copy link
Contributor

This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Mark as fresh by adding the comment /remove-lifecycle stale.

@dougm
Copy link
Member

dougm commented Mar 19, 2024

Sorry for the years delay @elad-eyal , we just added ExtensionManager in #3388 , will open another PR to add the FindExtension method.

dougm added a commit to dougm/govmomi that referenced this issue Mar 19, 2024
d9af2a2 added simulator.ExtensionManager but did not included this method.

govc: use ExtensionManager.FindExtension when given a single KEY arg,
rather than fetch the entire list.

Closes vmware#2644
dougm added a commit to dougm/govmomi that referenced this issue Apr 12, 2024
d9af2a2 added simulator.ExtensionManager but did not included this method.

govc: use ExtensionManager.FindExtension when given a single KEY arg,
rather than fetch the entire list.

Closes vmware#2644
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants