VMware Cloud Community
HassanAlKak88
Expert
Expert

Failed to enable workload management

Failed to enable workload management in vCenter 7.0 U1 with NSX-T 3.1.2 getting the following error:

2021-05-07T09:10:37.223Z error wcp [opID=6093d36b] Error occurred sending Principal Identity request to NSX: principal identity already created

2021-05-07T09:10:37.223Z error wcp [opID=6093d36b] Failed to create PI in NSX managers. Err: principal identity already created

2021-05-07T09:10:37.224Z debug wcp [opID=6093d36b] WCP service principal identity already created.

2021-05-07T09:10:37.271Z debug wcp [opID=6093d36b] NSX HTTP Request is: &{Method:POST URL:https://10.192.8.9:443/api/v1/trust-management/token-principal-identities/ Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[] Body:{Reader:{"description":"Principal Identity for WCP cluster service account: wcp-cluster-user-domain-c1006-b51a2b43-f599-458f-8fb4-b675979ef22b","display_name":"wcp-cluster-user-domain-c1006-b51a2b43-f599-458f-8fb4-b675979ef22b","id":"wcp-cluster-user-domain-c1006-b51a2b43-f599-458f-8fb4-b675979ef22b","name":"wcp-cluster-user-domain-c1006-b51a2b43-f599-458f-8fb4-b675979ef22b","node_id":"wcp-cluster-user-domain-c1006-b51a2b43-f599-458f-8fb4-b675979ef22b"}} GetBody:0x843110 ContentLength:449 TransferEncoding:[] Close:false Host:10.192.8.9:443 Form:map[] PostForm:map[] MultipartForm:<nil> Trailer:map[] RemoteAddr: RequestURI: TLS:<nil> Cancel:<nil> Response:<nil> ctx:0xc0000c6000}

2021-05-07T09:10:37.403Z debug wcp [opID=6093d9b0] Getting HOK signer; store: wcp, alias: wcp

2021-05-07T09:10:37.427Z debug wcp [opID=6093d36b] NSX HTTP Response is: &{409  409 HTTP/1.1 1 1 map[Cache-Control:[no-cache, no-store, max-age=0, must-revalidate] Content-Type:[application/json] Date:[Fri, 07 May 2021 09:10:38 GMT] Expires:[0] Keep-Alive:[timeout=60] Pragma:[no-cache] Server:[NSX] Set-Cookie:[JSESSIONID=A385FDE02762FB470296ECFB7F04FA3F; Path=/; Secure; HttpOnly] Strict-Transport-Security:[max-age=31536000 ; includeSubDomains] Vary:[accept-encoding] X-Content-Type-Options:[nosniff] X-Frame-Options:[SAMEORIGIN] X-Nsx-Requestid:[f3107c9c-e2ce-40e2-be93-925536859d66] X-Xss-Protection:[1; mode=block]] 0xc00226b6a0 -1 [chunked] false true map[] 0xc001b15000 0xc0022f6370}, {

  "httpStatus" : "CONFLICT",

  "error_code" : 2039,

  "module_name" : "internal-framework",

  "error_message" : "Principal TokenBasedPrincipalIdentityEntity{schemaValue=, identifier=null/null, touched=false, revision=0, displayName=wcp-cluster-user-domain-c1006-b51a2b43-f599-458f-8fb4-b675979ef22b, description=Principal Identity for WCP cluster service account: wcp-cluster-user-domain-c1006-b51a2b43-f599-458f-8fb4-b675979ef22b, createUser=null, lastModifiedUser=null, createTime=null, lastModifiedTime=null, systemResourceFlag=false, tags=[], name=wcp-cluster-user-domain-c1006-b51a2b43-f599-458f-8fb4-b675979ef22b, nodeId=wcp-cluster-user-domain-c1006-b51a2b43-f599-458f-8fb4-b675979ef22b, dataProtected=true} already exists."

}

Please advise,


If my reply was helpful, I kindly ask you to like it and mark it as a solution

Regards,
Hassan Alkak
0 Kudos
0 Replies