Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMDB不能销毁已被关联的CI数据 #207

Closed
yolanda0209 opened this issue Sep 18, 2019 · 2 comments
Closed

CMDB不能销毁已被关联的CI数据 #207

yolanda0209 opened this issue Sep 18, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@yolanda0209
Copy link

描述您遇到的bug
CMDB不能销毁已被关联的CI数据。

如该主机已经被运行实例关联,运行实例已经停止或销毁后。再点击“删除”按钮销毁主机,但是不允许销毁。

image

如何重现

预期行为
主机已经被运行实例关联,运行实例已经停止或销毁后。再点击“删除”按钮销毁主机,可以销毁主机。

截图

附加

@yolanda0209 yolanda0209 added the bug Something isn't working label Sep 18, 2019
@yolanda0209 yolanda0209 added this to To Do in CMDB开源版本 1.1 via automation Sep 18, 2019
@nevinxie
Copy link
Contributor

@chaneyliu 如果始终被关联,就不应该删除吧。这个需要超哥指导下

@chaneyliu
Copy link

1、所有关联主机的CI对象被删除或销毁,主机是可以被删除和销毁的。
2、关联CI对象删除销毁确认(confirm)后或同时,主机才可以被删除和销毁确认(confirm)。防止主机被销毁确认后,关联主机的CI在被恢复。
如果做不到2,至少需要做到1,如果存在2的情况发生,走异常处理流程。

@jordanzhangsz jordanzhangsz moved this from To Do to In progress in CMDB开源版本 1.1 Sep 19, 2019
jordanzhangsz added a commit that referenced this issue Sep 19, 2019
CMDB开源版本 1.1 automation moved this from In progress to Done Sep 20, 2019
@jordanzhangsz jordanzhangsz reopened this Sep 20, 2019
CMDB开源版本 1.1 automation moved this from Done to In progress Sep 20, 2019
@jordanzhangsz jordanzhangsz removed this from In progress in CMDB开源版本 1.1 Sep 22, 2019
@jordanzhangsz jordanzhangsz added this to Not Plan in CMDB开源版本1.2 & hot fix via automation Sep 22, 2019
@irvinezhao irvinezhao moved this from Not Plan to To Do in CMDB开源版本1.2 & hot fix Sep 23, 2019
@irvinezhao irvinezhao moved this from To Do to In Progress in CMDB开源版本1.2 & hot fix Sep 23, 2019
jordanzhangsz added a commit that referenced this issue Sep 23, 2019
junchensz added a commit that referenced this issue Sep 23, 2019
CMDB开源版本1.2 & hot fix automation moved this from In Progress to Done Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Development

No branches or pull requests

5 participants