Loading

×Sorry to interrupt
This page has an error. You might just need to refresh it.
[NoErrorObjectAvailable] Uncaught ReferenceError: addCTracking is not defined
Failing descriptor: {markup://c:KM_ArticleThemeLayout}

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

Requests on a deployment fail when the current owner user account has been modified, deleted, or disabled in Active Directory. (57627)

Last Updated: 6/30/2020Categories: TroubleshootingTotal Views: 7210Language:
English

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

There are two known cases for this issue effecting vRealize Automation 7.2 through 7.4:

Both Cases follow these similar symptoms:

The deployment owner no longer has a user account in Active Directory.

The deployment owner's user account has been disabled in Active Directory.

The deployment owner's user principal name (UPN) has been modified in Active Directory.

Case #1 Unique Symptoms:

The provisioning request fails when the request has an approval policy with the missing user as part of the approvers with messages similar to:

"The Request approval has returned with an Error"

/var/log/vmware/vcac/catalina.out contains messages similar to:

2018-02-07 08:50:09,114 vcac: [component="cafe:approvals" priority="INFO" thread="queue-pool-executer-2" tenant="" context="DZzuUSMb" parent="dbpZxbsb" token="gNaDHLoy"] com.vmware.vcac.core.approvals.service.evaluation.ApprovalEvaluator.evaluate:35 - Starting evaluation of requested item approval 75e75057-cfe7-407f-b161-30ec0641671f

2018-02-07 08:50:09,141 vcac: [component="cafe:approvals" priority="INFO" thread="queue-pool-executer-2" tenant="" context="DZzuUSMb" parent="dbpZxbsb" token="gNaDHLoy"] com.vmware.vcac.core.approvals.service.evaluation.ApprovalLevelEvaluator.evaluate:61 - Criteria met for Level#1: My approval

2018-02-07 08:50:09,198 vcac: [component="cafe:identity" priority="ERROR" thread="tomcat-http--47" tenant="vsphere.local" context="DZzuUSMb" parent="umS5SPpT" token="FFg3ohxu"] com.vmware.vcac.authentication.service.impl.PrincipalWrapperFactoryImpl.create:60 - Could not find principal [email-masked]' in tenant 'someTenant'

2018-02-07 08:50:09,200 vcac: [component="cafe:catalog" priority="ERROR" thread="tomcat-http--9" tenant="vsphere.local" context="DZzuUSMb" parent="gNaDHLoy" token="umS5SPpT"] com.vmware.vcac.platform.content.data.provider.CompositeDataProvider.getData:60 - Error retrieving data from component provider with prefix: organization.subTenant~

Case #2 Unique Symptoms:

The change ownership request fails. The owner of the machine/deployment cannot be changed.

/var/log/vmware/vcac/catalina.out contains messages similar to:

[UTC:2018-06-27 08:33:36,581 Local:2018-06-27 10:33:36,581] vcac: [component="cafe:catalog" priority="INFO" thread="queue-pool-executer-2" tenant="generic" context="WmJfzDgK" parent="WmJfzDgK" token="uG1zyFHg"] com.vmware.vcac.catalog.service.impl.RequestServiceImpl.init:371 - ResourceActionRequest [RequestId ="8d60967a-7382-4b23-b14f-9765c9800728" RequestNumber="25090" RequestedBy="someRequester@someDomain" RequestedFor="someRequester@someDomain" ResourceId="51314937-403d-4d16-9de8-385f0352b86d" ResourceName="UUICSV1015" ResourceActionId= "58b618c0-bc8e-4e0f-be1b-5699241adc8e" ResourceActionName="[email-masked]}" TenantName="Generic" SubtenantName="SomeBusinessGroup"] : Initializing request at provider

[UTC:2018-06-27 08:33:36,852 Local:2018-06-27 10:33:36,852] vcac: [component="cafe:composition-service" priority="INFO" thread="tomcat-http--14" tenant="generic" context="WmJfzDgK" parent="uG1zyFHg" token="SafM8Vzh"] com.vmware.vcac.composition.service.impl.AbstractLifecycleActionRequestHandler.setRequestedFor:399 - CatalogPrincipal[ref: [email-masked], tenantName: someTenantName, type: USER, value: import admin] is an owner (of 1) of deployment cafeResourceId: 51314937-403d-4d16-9de8-385f0352b86d selected as the requestedFor for BR id: 8825ce0e-d8f3-4689-a2a8-97a8a8a72829

[UTC:2018-06-27 08:33:37,078 Local:2018-06-27 10:33:37,078] vcac: [component="cafe:catalog" priority="ERROR" thread="tomcat-http--31" tenant="generic" context="WmJfzDgK" parent="SafM8Vzh" token="igOKRcFb"] com.vmware.vcac.catalog.suite.impl.AuthenticationServiceGatewayImpl.lookupTugUser:437 - User [Name = "" TenantName ="" PrincipalId ="[email-masked]"] : Unable to retrieve user by id org.springframework.web.client.HttpClientErrorException: 404

Cause

The deployment owner's account has been modified, disabled, or deleted in Active Directory.

The provisioning request fails because the Approval level cannot be evaluated.

Resolution

This issue is resolved in vRealize Automation 7.5.

Workaround

Determine whether the deployment owner's user account was deleted or disabled in Active Directory.

Note: If the user is disabled, re-enabling the user account temporarily in order to change the deployment owner in vRealize Automation.

If the user account has been deleted from Active Directory, run the below queries on the vRealize Automation vPostgres database

Take a full backup of the vPostgres database.

How to export embedded Postgres DB from vRealize Automation appliance (KB2074214)

SSH to the vRealize Automation Appliance

Login to the vPostgres Database

su postgres

psql

\c vcac

Case #1:

Isolate the principalid of the offending user in the logs:

Execute the below statements using the offending user's principalid

select * from subtenantrole_principalid where principalid = [email-masked]';
delete from subtenantrole_principalid where principalid = [email-masked]';

select * from cat_entitlement_principals where principal_id = (select id from cat_principal where ref = [email-masked]';
delete from cat_entitlement_principals where principal_id = (select id from cat_principal where ref = [email-masked]';

Case #2:

Ensure that the new owner of the deployment has a record in the catalog's table.

SELECT COUNT(id) FROM cat_principal WHERE ref = [email-masked]';

If the new owner does not have a records in this table, create a temporary Entitlement:

Open the Administration Tab > Catalog Management > Entitlement:

Select New

Change the Status to Active

Select the Business Group that the new owner is member of

Uncheck "All Users and Groups"

Search for the user and add the user to the Entitlement.

Add the target user under the "Users and Groups" section.

Select Next and Finish

Rerun the query to confirm the new owner has a record in the catalog's table::  SELECT COUNT(id) FROM cat_principal WHERE ref = [email-masked]';

Delete the entitlement once the user is found in the cat_principal table

Replace all resources owned by the current owner with the new owner.

UPDATE cat_resource_owners SET "owner_id" = (SELECT id FROM cat_principal WHERE ref = [email-masked]') WHERE "owner_id" = (SELECT id FROM cat_principal WHERE ref = [email-masked]');

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

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 Aria Automation

Related Versions:

VMware vRealize Automation 7.4.x

VMware vRealize Automation 7.3.x

VMware vRealize Automation 7.2.x

Take Our Survey

Support Assistant