apache / apache/cloudstack

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

Đang mở
#9,477 9 bình luận 0 reaction 1 người được giao Được @nvazquez nhận Xem trên GitHub
component:management-server Severity:Minor type:bug
Ngôn ngữ chính
Java
Star
3.1k
Fork
1.4k
Merge trung bình
6 ngày 19 giờ
Pull request đã merge (30 ngày)
32

Mô tả

##### 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
~~~

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.