-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Once we create the project with the Prov-app successfully, we can see in the logs that it tries to create it again and the preconditions fail as it has already been created.
To Reproduce
Steps to reproduce the behavior:
- Deploy prov-app from 4.x tag in Dockerhub
- Create a project with specialPermissionSet=true (with groups for read, write, admin and cdUser)
- Check the logs
Expected behavior
After the project creation, the prov-app sholuld not try to create the project again
Affected version:
- OpenShift: [4.8]
- OpenDevStack [4.x]
Log Output
2022-01-18 16:24:59 loggerFileName=DUMS2 [http-nio-8080-exec-6] DEBUG o.o.p.c.ProjectApiController - Project DUMS2 successfully stored: /opt/provision/history/20220118162459-DUMS2.txt
2022-01-18 16:24:59 loggerFileName=DUMS2 [http-nio-8080-exec-6] DEBUG o.o.provision.services.MailAdapter - Mail for project: DUMS2 sent
2022-01-18 16:24:59 loggerFileName=DUMS2 [http-nio-8080-exec-10] DEBUG o.o.p.s.CrowdProjectIdentityMgmtAdapter - existsGroupWithName by Name took (ms): 513
2022-01-18 16:24:59 loggerFileName=DUMS2 [http-nio-8080-exec-10] DEBUG o.o.p.s.CrowdProjectIdentityMgmtAdapter - findPrincipal by Name took (ms): 494
2022-01-18 16:24:59 loggerFileName=DUMS2 [http-nio-8080-exec-10] DEBUG o.o.p.s.CrowdProjectIdentityMgmtAdapter - identityCheck Name took (ms): 2006
2022-01-18 16:24:59 loggerFileName=DUMS2 [http-nio-8080-exec-10] INFO o.o.provision.services.JiraAdapter - checking create project preconditions for project 'DUMS2'!
2022-01-18 16:25:02 loggerFileName=DUMS2 [http-nio-8080-exec-10] INFO o.o.p.c.ProjectApiController - Done with all create project preconditions checks for project but some checks failed! [project=DUMS2, failures=[CheckPreconditionFailure{error-code='PROJECT_EXISTS', detail='ProjectKey 'DUMS2' already exists in 'jira'!'}, CheckPreconditionFailure{error-code='PROJECT_EXISTS', detail='Project/Space 'DUMS2' already exists in 'confluence'!'}, CheckPreconditionFailure{error-code='PROJECT_EXISTS', detail='project 'DUMS2' already exists in bitbucket!'}]]!
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working