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

Template settings are lost when its deleted in one zone #10600

Open
kiranchavala opened this issue Mar 21, 2025 · 0 comments
Open

Template settings are lost when its deleted in one zone #10600

kiranchavala opened this issue Mar 21, 2025 · 0 comments

Comments

@kiranchavala
Copy link
Contributor

problem

Template details are lost when the template is deleted from one zone

versions

Cloudstack version 4.19,4.20

The steps to reproduce the bug

  1. Have a Cloudstack environment with 2 zones

  2. Register a template in Zone 1 and a setting to the template for example UEFI=secure

mysql> select * from vm_template_details where template_id=208;
+----+-------------+------+--------+---------+
| id | template_id | name | value  | display |
+----+-------------+------+--------+---------+
|  4 |         208 | UEFI | SECURE |       1 |
+----+-------------+------+--------+---------+
1 row in set (0.00 sec)

  1. Copy the template to Zone 2.

  2. Delete the template in zone2

  3. Check the Template setting in zone 1

mysql> select * from vm_template_details where template_id=208;
Empty set (0.00 sec)

What to do about it?

Actual Behaviour

Currently cloudstack deletes the template settings if its deleted in one zone

Expected Behaviour

Cloudstack should not delete the template settings if its deleted in one zone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants