slavkap commented on issue #71:
URL:
https://github.com/apache/cloudstack-cloudmonkey/issues/71#issuecomment-730958287
Hi all, I have tested this on CS 4.15 with cloudmonkey 5.3.3 and 6.0.0 and
the problem did not appear
cloudmonkey 6.0.0 - one of the details isn't shown when listing resource
details because its display option is set to false
```
(localcloud) 🐱 > list resourcedetails
resourceid=4914ee9a-6bee-47c0-baf6-ebe9e718d2cc resourcetype=template
count = 3
resourcedetail:
+------------+---------------------+--------------------------------------+--------------+---------------------+
| FORDISPLAY | KEY | RESOURCEID |
RESOURCETYPE | VALUE |
+------------+---------------------+--------------------------------------+--------------+---------------------+
| true | rootDiskController | 4914ee9a-6bee-47c0-baf6-ebe9e718d2cc |
Template | osdefault |
| true | TestDisplayDetails3 | 4914ee9a-6bee-47c0-baf6-ebe9e718d2cc |
Template | TestDisplayDetails3 |
| true | TestDisplayDetails1 | 4914ee9a-6bee-47c0-baf6-ebe9e718d2cc |
Template | TestDisplayDetails1 |
+------------+---------------------+--------------------------------------+--------------+---------------------+
(localcloud) 🐱 > list templates id=4914ee9a-6bee-47c0-baf6-ebe9e718d2cc
filter=details,id,name, templatefilter=all
template:
count = 1
+---------------------------------------------+--------------------------------------+---------+
| DETAILS | ID
| NAME |
+---------------------------------------------+--------------------------------------+---------+
| map[TestDisplayDetails1:TestDisplayDetails1 |
4914ee9a-6bee-47c0-baf6-ebe9e718d2cc | Centos8 |
| TestDisplayDetails2:TestDisplayDetails2 |
| |
| TestDisplayDetails3:TestDisplayDetails3 |
| |
| rootDiskController:osdefault] |
| |
+---------------------------------------------+--------------------------------------+---------+
```
and Cloudmonkey 5.3.3 result
```
(local) 🐵 > list resourcedetails
resourceid=4914ee9a-6bee-47c0-baf6-ebe9e718d2cc resourcetype=template
{
"count": 3,
"resourcedetail": [
{
"fordisplay": true,
"key": "rootDiskController",
"resourceid": "4914ee9a-6bee-47c0-baf6-ebe9e718d2cc",
"resourcetype": "Template",
"value": "osdefault"
},
{
"fordisplay": true,
"key": "TestDisplayDetails3",
"resourceid": "4914ee9a-6bee-47c0-baf6-ebe9e718d2cc",
"resourcetype": "Template",
"value": "TestDisplayDetails3"
},
{
"fordisplay": true,
"key": "TestDisplayDetails1",
"resourceid": "4914ee9a-6bee-47c0-baf6-ebe9e718d2cc",
"resourcetype": "Template",
"value": "TestDisplayDetails1"
}
]
}
(local) 🐵 >list templates id=4914ee9a-6bee-47c0-baf6-ebe9e718d2cc
templatefilter=all filter=details,id,name,
{
"count": 1,
"template": [
{
"details": {
"TestDisplayDetails1": "TestDisplayDetails1",
"TestDisplayDetails2": "TestDisplayDetails2",
"TestDisplayDetails3": "TestDisplayDetails3",
"rootDiskController": "osdefault"
},
"id": "4914ee9a-6bee-47c0-baf6-ebe9e718d2cc",
"name": "Centos8"
}
]
}
```
I have tested it also on CS branch 4.14 again with cloudmonkey 5.3.3/6.1.0
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]