VMware Tenant App/Chargeback: Failed to initialize Plugin
Hey Guys,
When I was trying to set up a brand new VMware Chargeback in 8.10.1 with Aria for Operaration 8.12 in back end and VMware Cloud Director 10.5 in front end with integrated plugin installed, I faced an error when I tried to install the plugin
Failed to initialized pluging was popping up on the Chargeback interface without any explanation.
People who work with Tenant App/Chargeback know how it’s complex to debug….
In the two last versions, first of all, you need to import the public certificate of VCD in PEM format.
Just go to Administration => Support and check the import certificate tab.
After that verify that the RMQ configuration is working point of view VMware Cloud Director.
Go in /provider Administration and extensibility check that your RMQ configuration is working.
Just to be clear; if you plan to use the VMware Chargeback plugin in VCD, the RMQ configuration is mandatory (SSL or NO).
If your RMQ configuration is working go back to VMware Chargeback and try to set up the plugin: Administration => Support => Configure With VCD Tenant UI.
You will need to fill the setup field:
- Director Host Name: Public FQDN of VCD
- User Name: a system admin service account (without @system)
- Password
- Tenant App Proxy: URL or IP where your plugin is available
For my use case; the process goes over the 6 steps on 7 and stops at the 7 with the error:
failed to initialized plugin
On the VCD Customize portal, I discover that the plugin was installed but faulty
Couldn’t fetch manifest file for plugin Operations Plugin. Error: Http failure response for https://vcdfqdn/manifest.json: 404 Not Found
Also, I deleted it from the Customize Portal.
In SSH, in the configuration file “/opt/vmware/conf/csp_api.properties” of Chargeback there is an advanced parameter
On this file, you can change the value of vcd.ip.resolvable:
- True for a dedicated VCD Certificate with IP and FQDN in Subject Alternative
- False for wildcard VCD Certificate
As this setup was made with a Wildcard, changing this value to False allows me to deploy the plugin.
Applying the parameter: docker restart tenant-app-ui
I hope that this post helps you in your setup of VMware Chargeback
0 Comments