Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Due to Changes in vCloud Director 9.1, Chargeback Manager versions 2.7.2 and 2.7.3 fail to authorize correctly for REST API Calls (56413)

Last Updated: 6/22/2018Categories: InformationalTotal Views: 3065Language:
Chinese (Simplified)English

6 like this article

Subscribe to get an email
newsletter with new updates

6 people found this helpful Please provide article feedback:

Details

As of vCloud Director 9.1 the usage of vcloud-token cookies for API call authorization has been removed.

Chargeback Manager uses API calls to fetch vCloud Director events to process and persist them in the relevant Chargeback database.

While executing an API call using a session object, a session time-out will occur for the current vCloud Director User.
Users will see a response from the API: 403 "Access to resource is forbidden" , when the session time-out occurs.
Because the session we are using is no longer valid, events will no longer be processed by Chargeback Manager.

Note:
The Chargeback Manager Installation Path will vary depending on whether the Product was freshly installed or upgraded.

Freshly Installed Installation Path: C:\Program Files\VMware\VMware vCenter Chargeback

Upgraded Installation Path:            C:\Program Files (x86)\VMware\VMware vCenter Chargeback

The following errors are seen in the Log:
<Chargeback Manager Installation Path>\VMware Cloud Director DataCollector-Embedded\logs\vCloud-DC_Errors.log

2018-04-12T12:43:10.821+0530 ERROR [eventProcessorTimer] [jobs.EventProcessorJob] 6563: Chargeback API failed exception caught while running com.vmware.chargeback.integration.vcloud.jobs.EventProcessorJob
com.vmware.chargeback.integration.commons.exception.ChargebackApiFailedException: responseStatus=403

Solution

Starting with version 9.1, Chargeback Manager is required to explicitly include either the traditional x-vcloud-authorization header or the new JWT Authorization header when authorizing REST API calls with vCloud Director.

A Hot Patch for this is available for the following versions of Chargeback Manager:

Chargeback Manager v2.7.2

Chargeback Manager v2.7.3

The steps to install the Hot Patch involve replacing the existing vcenter-cbm-integration-vcloud-2.7.x jar with the one included in this KB, relative to your Chargeback Manager version.

Please follow the below steps to install the attached Hot Patch jar:

Required path to jar file for Chargeback Manager 2.7.2 and 2.7.3 version:
<Chargeback Manager Installation Path>\VMware Cloud Director DataCollector-Embedded\lib\

To Install the Hot Patch Jar
1. Stop all Chargeback Manager services.
2. Take backup of the original vcenter-cbm-integration-vcloud-2.7.x jar in the correct path for your version which you can find above.
3. Download the attached vcenter-cbm-integration-vcloud-2.7.x jar , ensuring to download the respective jar which is valid and correct for your Chargeback Manager version.
4. Copy this jar to the path used in Step 2 as above.
5. Start all Chargeback Manager services.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)English

Attachments

vcenter-cbm-integration-vcloud-2.7.2.jar

vcenter-cbm-integration-vcloud-2.7.3.jar

Additional Resources

No results for undefined

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vCenter Chargeback Manager for Service Provider

VMware Cloud Director for Service Provider

VMware Cloud Director

Related Versions:

VMware vCenter Chargeback Manager for Service Provider 2.7.x

VMware Cloud Director for Service Provider 9.x

Take Our Survey

Support Assistant