My Oracle Support Banner

OCI Weblogic Stack Provisioning Fails with Error - Service error:EntityAlreadyExists. Dynamic group '<Stack Prefix>-wlsc-principal-group' already exists. (Doc ID 2676974.1)

Last updated on JUNE 10, 2020

Applies to:

Oracle WebLogic Server for Oracle Cloud Infrastructure - Version N/A to N/A
Information in this document applies to any platform.

Symptoms

In OCI Marketplace ,Provisioning of Weblogic stack fails.  One can see below error in webLogic Stack provisioning logs : 

module.provisioners.null_resource.status_check[0] (remote-exec): <May 29, 2020 12:10:07 AM GMT> <INFO> <db.py> <(<hostname>) - <WLSC-VM-INFO-0141> : Generated DB connect string: [//DBSCAN URL:1521/PDBNAME.<hostname>]>

module.provisioners.null_resource.status_check[0] (remote-exec): <May 29, 2020 12:10:08 AM GMT> <ERROR> <wls_credentials.py> <(<hostname>) - <WLSC-VM-ERROR-0119> : Failed to get secret content for [ocid1.vaultsecret.oc1.phx.alphanumericstring]: [{'status': 404, 'message': u'Authorization failed or requested resource not found.', 'code': u'NotAuthorizedOrNotFound', 'opc-request-id': 'alphanumericstring'}]>

module.provisioners.null_resource.status_check[0] (remote-exec): <May 29, 2020 12:10:08 AM GMT> <ERROR> <initial.py> <(<hostname>) - <WLSC-VM-ERROR-0049> : Error retrieving %s password from Secret Vault. [%s]>

module.provisioners.null_resource.status_check[0] (remote-exec): <May 29, 2020 12:10:08 AM GMT> <ERROR> <initial.py> <(<hostname>) - <WLSC-VM-ERROR-0006> : Failed in create domain due to exception [Failed to retrieve Database Admin Password from Secrets Vault]>

module.provisioners.null_resource.status_check[0] (remote-exec): <May 29, 2020 12:10:08 AM GMT> <ERROR> <terraform_init.sh> <(<hostname>) - <WLSC-VM-ERROR-0069> : Domain Creation failed. Please check the logs>

-

Error: error executing "/tmp/terraform_1731009946.sh": Process exited with status 255
Error: Service error:EntityAlreadyExists. Dynamic group '<Stack Prefix>-wlsc-principal-group' already exists. http status code: 409. Opc request id:alphanumericstring
  on modules/policies/groups.tf line 8, in resource "oci_identity_dynamic_group" "wlsc_instance_principal_group" 
  8: resource "oci_identity_dynamic_group" "wlsc_instance_principal_group"

Changes

User created a weblogic Stack with a prefix name and it failed. Due to recent changes in WebLogic Stack provisioning , new Dynamic group will be created automatically with "Stack prefix name-wlsc-principal-group " . When user applies same Terraform , it fails with above mentioned error.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.