apache / apache/cloudstack

Deleted userdata owned by a deleted account remains linked with the template

未關閉
#9,477 9 則留言 0 個 reaction 已指派 1 人 已被 @nvazquez 認領 在 GitHub 檢視
component:management-server Severity:Minor type:bug
主要語言
Java
星號
3.1k
分支
1.4k
平均合併
6 天 19 小時
30 天內合併 PR
32

描述

##### ISSUE TYPE

* Bug Report

##### COMPONENT NAME

~~~
Server
~~~

##### CLOUDSTACK VERSION

~~~
4.19 branch, most likely earlier versions
~~~

##### CONFIGURATION

NA

##### OS / ENVIRONMENT

NA

##### SUMMARY

Deleted userdata owned by a deleted account remains linked with the template. In UI it produces a 404 error. During VM deployment with the linked template it return error like,
`UserData linked to the template CentOS 5.6(64-bit) no GUI (XenServer) is not found`

##### STEPS TO REPRODUCE

~~~
1. As the admin, create a new user account
2. As the new user, register a userdata
3. As the admin, link the userdata to a template
4. As the admin, delete the new user
5. Observer userdata remains linked to the template
~~~

https://github.com/user-attachments/assets/7e97ae35-0875-4152-aaa0-1dab44e2148f

##### EXPECTED RESULTS

~~~
Maybe either an error while deleting the user account or the userdata that gets deleted is unlinked from the template
~~~

##### ACTUAL RESULTS

~~~
Delete userdata remains linked to the template
~~~

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。