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

SSO Domain Repoint fails in 6.7 U2, Authz Data export fails (67942)

Last Updated: 10/31/2019Categories: TroubleshootingTotal Views: 11746Language:
English

5 like this article

Subscribe to get an email
newsletter with new updates

5 people found this helpful Please provide article feedback:

Symptoms

When performing any operation utilizing "cmsso-util domain-repoint", including repointing a VCSA from an existing SSO Domain to another SSO Domain, or to a new SSO Domain, the operation will fail during the Autz data export phase, with a message like:

Starting License export                                                         ... Done
Starting Authz Data export                                                      ... Failed
Repoint failed. Restore from backup

In the /var/log/vmware/cloudvm/domain_consolidator.log you see the following error:

2019-04-25T20:49:28.530Z INFO domain_consolidator Starting Authz Data export                                                      ...
2019-04-25T20:49:28.530Z INFO domain_consolidator Starting required services...
2019-04-25T20:49:28.531Z INFO domain_consolidator Executing command ['/bin/service-control', '--start', 'vmafdd', 'vmware-rhttpproxy', 'vmware-vpxd-svcs', 'vmware-vpostgres']
2019-04-25T20:49:29.215Z INFO domain_consolidator Started required services.
2019-04-25T20:49:29.659Z INFO domain_consolidator RC = 1
Stderr = Picked up JAVA_TOOL_OPTIONS: -Xms32M -Xmx128M
Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/context/support/AbstractApplicationContext
at com.vmware.vim.vmomi.core.types.VmodlContext.initContext(VmodlContext.java:61)
at com.vmware.vim.vmomi.core.types.VmodlContext.initContext(VmodlContext.java:42)
at com.vmware.vim.lookup.client.LookupUtil.ensureVmodlContextInit(LookupUtil.java:49)
at com.vmware.vim.lookup.client.LookupUtil.createVmomiClient(LookupUtil.java:185)
at com.vmware.vim.lookup.client.LookupUtil.createVmomiClient(LookupUtil.java:156)
at com.vmware.vim.lookup.client.LookupUtil.createVmomiClient(LookupUtil.java:93)
at com.vmware.vim.dataservices.ExportImportUtils.getQueryClientFromLS(ExportImportUtils.java:802)
at com.vmware.vim.dataservices.ExportImportUtils.createClient(ExportImportUtils.java:266)
at com.vmware.vim.dataservices.ExportAuthzData.main(ExportAuthzData.java:218)
Caused by: java.lang.ClassNotFoundException: org.springframework.context.support.AbstractApplicationContext
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 9 more

The pre-check mode also fails with the following error on screen:

Starting License pre-check                                                      ... Done
Starting Authz Data export                                                      ... Failed
Conflict data, if any, can be found under /storage/domain-data/Conflict*.json
Pre-checks failed.

The mentioned .json file will not exist unless it was previously there.  The end of the /var/log/vmware/cloudvm/domain_consolidator.log file will show the following error in pre-check mode:

2019-04-26T15:10:09.229Z INFO domain_consolidator Failed
2019-04-26T15:10:09.229Z INFO domain_consolidator Export of authz failed
2019-04-26T15:10:09.334Z INFO domain_consolidator Failed to execute script /usr/lib/repoint/authzservice_component_script.py
2019-04-26T15:10:09.334Z INFO domain_consolidator Conflict data, if any, can be found under /storage/domain-data/Conflict*.json
2019-04-26T15:10:09.335Z INFO domain_consolidator Failed executing <cis.component_data.DcComponentsPreCheck object at 0x7f7320ea05f8>
2019-04-26T15:10:09.335Z ERROR domain_consolidator Failed to run pre-checks for domain consolidation.
2019-04-26T15:10:09.335Z INFO domain_consolidator Cleaning up the temp directories
2019-04-26T15:10:09.336Z INFO domain_consolidator Successfully cleaned the storage directory
2019-04-26T15:10:09.337Z INFO domain_consolidator Pre-checks failed.

The log will still contain the previously mentioned Java error as well in pre-check mode.

Cause

This is caused by an update of the spring version in vCenter 6.7 U2 from 4.3.9 to 4.3.20.  The script /usr/lib/repoint/authzservice_component_script.py has hard set references to the 4.3.9 version, which is why we see the java.lang.NoClassDefFoundError as the 4.3.9 files no longer exist in /usr/lib/vmware/common-jars/.

Impact / Risks

All cmsso-util domain-repoint operations will fail, leaving the node in a failed state which will require a restore to backup or revert to snapshot from before the operation began.

Resolution

This has been resolved in 6.7 Update 3.

Workaround

Ensure that you have a backup of the system before modifying any files or starting the domain repoint.

The current workaround which has been tested in a lab and works is to edit the /usr/lib/repoint/authzservice_component_script.py script and find the following lines:

common_jars = ['spring-aop-4.3.9.RELEASE.jar',
'spring-beans-4.3.9.RELEASE.jar',
'spring-context-4.3.9.RELEASE.jar',
'spring-expression-4.3.9.RELEASE.jar',
'spring-web-4.3.9.RELEASE.jar',
'spring-webmvc-4.3.9.RELEASE.jar',
'spring-core-4.3.9.RELEASE.jar',
'spring-oxm-4.3.9.RELEASE.jar',
'spring-aop-4.3.9.RELEASE.jar'

Modify these entries to reference the 4.3.20 versions:

common_jars = ['spring-aop-4.3.20.RELEASE.jar',
'spring-beans-4.3.20.RELEASE.jar',
'spring-context-4.3.20.RELEASE.jar',
'spring-expression-4.3.20.RELEASE.jar',
'spring-web-4.3.20.RELEASE.jar',
'spring-webmvc-4.3.20.RELEASE.jar',
'spring-core-4.3.20.RELEASE.jar',
'spring-oxm-4.3.20.RELEASE.jar',
'spring-aop-4.3.20.RELEASE.jar'

This can be accomplished with the following command (take a backup of the file before editing):

sed -i 's/4.3.9/4.3.20/g' /usr/lib/repoint/authzservice_component_script.py

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
VMware vCenter Single Sign-On Server 5.5 常见问题 (2057799)

KB
•
Download and Install VMware Fusion (2014097)

KB
•
vRA VAMI 画面へのログイン時に、「ユーザーを認証できません。もう一度やり直してください (Unable to authenticate user. Please try again)」というエラーが表示される (2103604)

Results 1-4 of 4

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vCenter Server

Related Versions:

VMware vCenter Server 6.7.x

Take Our Survey

Support Assistant