DarkAssassinator opened a new issue, #12425:
URL: https://github.com/apache/dolphinscheduler/issues/12425

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   When we create a new tenant, but storge has some exception such as connect 
refuse. The UI alert will show create tenant failed, but it will be created in 
DB and can show in UI. And then use cannot delete this wrong tenant, because 
cannot delete it in storge.
   But due to my PC env, i cannot show the screenshot. But we can check the 
source code.
   **_Create:_** 
   
![image](https://user-images.githubusercontent.com/20518339/196452687-dca00ae7-fa2d-43dc-b111-9e8bfae7a903.png)
    **_Delete:_**
   
![image](https://user-images.githubusercontent.com/20518339/196453206-10e72d3e-3327-4fd5-bc1e-1b8ee66fe6b4.png)
   
   
   ### What you expected to happen
   
   If db or storge has exception, ds cannot create a tenant.
   
   ### How to reproduce
   
   1. Config the `resource.storage.type=HDFS`
   2. Create a new tenant
   3. Delete this new tenant.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   dev
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to