Quantcast
Channel: VMware Communities : Discussion List - VMware {code}
Viewing all articles
Browse latest Browse all 2738

Unable to use HTML plugin-seed (v 0.9.5) with live data / Client ID unavailable from localhost vSphere client?

$
0
0

CONTEXT:

 

 

 

I have generated a plugin using the instructions in "HTML Client Plugin Seed v0.9.5" document, using command:

 

 

 

./plugin-seed/tools/generate-plugin.sh

 

 

 

(plugin name is "rcplugin")

 

 

 

This builds successfully. I have deployed the plugin package to the local Virgo server by copying the rcplugin-ui/target/rcplugin directory to $VSPHERE_SDK_HOME/vsphere-ui/plugin-packages, and restarted the Virgo server:

 

 

 

sh $VSPHERE_SDK_HOME/vsphere-ui/server/bin/startup.sh -debug

 

 

 

The server starts successfully, and I can access the local Virgo server from https://localhost:9443 with live VC data.

 

 

 

The plugin starts from "npm start":

 

Screen Shot 2017-04-27 at 10.13.57 am.png

 

The json server starts as expected:

 

Screen Shot 2017-04-27 at 10.18.01 am.png

 

I am able to access the plugin elements against mock data, as expected from http://localhost:4201 

 

 

 

Screen Shot 2017-04-27 at 10.04.28 am.png

 

ISSUE 1:

 

However, if I attempt to use live data (working against my local Virgo server) then I get a message "No hosts found":

 

Screen Shot 2017-04-27 at 10.24.52 am.png

 

I thought the "no hosts found" issue may be due to not setting the "client ID" in the settings for the seed-plugin, in the "Live Data setup". I have tried to set the client ID:

 

Screen Shot 2017-04-27 at 10.49.11 am.png

 

However this is not possible, as the plugin settings view does not show me the Client ID in the local vSphere client:

 

Screen Shot 2017-04-27 at 10.50.15 am.png

 

How do I provide the Client ID if I can't get it from the vSphere client? Is there some other way of getting it?

 

 

 

 

 

ISSUE 2:

 

 

 

Also - When viewing the monitor or Configure tab for a host from https://localhost:9443, no data is shown for the rcplugin:

 

Screen Shot 2017-04-27 at 11.20.27 am.png

 

 

 

 

 

Could these issues be interrelated?


Viewing all articles
Browse latest Browse all 2738

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>