[ 
https://issues.apache.org/jira/browse/SUBMARINE-842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chi-Sheng Liu resolved SUBMARINE-842.
-------------------------------------
    Resolution: Fixed

https://github.com/apache/submarine/pull/606

Fixed by pull request 606. We put the submarine CR and the resources created by 
operator in the same namespace temporarily.

> Race condition when creating namespace in controller
> ----------------------------------------------------
>
>                 Key: SUBMARINE-842
>                 URL: https://issues.apache.org/jira/browse/SUBMARINE-842
>             Project: Apache Submarine
>          Issue Type: Bug
>          Components: Cloud-native Deployment
>            Reporter: Chi-Sheng Liu
>            Assignee: Chi-Sheng Liu
>            Priority: Major
>
> In the syncHandler function in submarine-cloud-v2/controller.go, we will 
> create a namespace "submarine-user-test" and then create other resources on 
> that namespace. However we do not wait until the namespace is created, so 
> sometimes the operator will find the namespace does not exist and will crash.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to