kiranchavala opened a new issue, #10599:
URL: https://github.com/apache/cloudstack/issues/10599
### problem
If a template is present in both the zone,
Currently cloudstack shows the created time and zone details for only one
zone in the UI
### 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, check the created time
```
(localcloud) 🐱 > list templates templatefilter=all filter=name,created,zoneid
{
"count": 6,
"template": [
{
"created": "2025-03-21T05:22:19+0000",
"name": "testtemplate",
"zoneid": "eff9566c-42ba-4948-9356-c3d6f3f6b00e"
},
```
3. Copy the template to Zone 2 , check the created timefpr zone 2
```
(localcloud) 🐱 > list templates templatefilter=all filter=name,created,zoneid
{
"count": 6,
"template": [
{
"created": "2025-03-21T05:22:19+0000",
"name": "testtemplate",
"zoneid": "eff9566c-42ba-4948-9356-c3d6f3f6b00e"
},
{
"created": "2025-03-21T05:26:04+0000",
"name": "testtemplate",
"zoneid": "daced343-0efd-4f52-9fa6-85e21507a47f"
},
```
```
mysql> select * from template_zone_ref where template_id=208;
+----+---------+-------------+---------------------+---------------------+---------------------+
| id | zone_id | template_id | created | last_updated |
removed |
+----+---------+-------------+---------------------+---------------------+---------------------+
| 33 | 1 | 208 | 2025-03-21 05:22:19 | 2025-03-21 05:22:19 |
NULL |
| 34 | 2 | 208 | 2025-03-21 05:26:27 | 2025-03-21 05:26:27 |
NULL |
+----+---------+-------------+---------------------+---------------------+---------------------+
```

### What to do about it?
Actual Behaviour
Currently cloudstack shows the created time of the template for zone 2
Expected Behaviour
Cloudstack should show both zones created time in the UI and also zone
details
--
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]