rajujith commented on PR #7659:
URL: https://github.com/apache/cloudstack/pull/7659#issuecomment-1838088094
@BryanMLima I updated the rules for scenarios 3) and 4). Now they are
working fine.
list secondarystorageselectors zoneid=a2a9fafd-43fb-4508-915e-d3c836a7e972
{
"count": 2,
"heuristics": [
{
"created": "2023-12-04T08:39:01+0000",
"description": "KVMtemplatesonly-specific",
"heuristicrule": "function findStorageWithSpecificId(pool) { return
pool.id === '92dc82ff-c3cc-4756-928f-6802c358f599'; }
secondaryStorages.filter(findStorageWithSpecificId)[0].id",
"id": "2fa48314-1a01-4d17-a16f-78c4719fdc4c",
"name": "KVMtemplatesonly-specifc",
"type": "TEMPLATE",
"zoneid": "a2a9fafd-43fb-4508-915e-d3c836a7e972"
},
{
"created": "2023-12-04T08:45:23+0000",
"description": "MultiDomain",
"heuristicrule": "if (account.domain.id ==
'3df7450a-db07-4bfd-a54b-fa0716013917')
{'92dc82ff-c3cc-4756-928f-6802c358f599'} else if {account.domain.id ==
'7db040fa-1ebe-404e-b15c-fbc9c60118d4') {fc9f710e-452f-4233-aa51-91747e5bb071}",
"id": "7757ba9d-34e0-40e6-9e6a-47dac301cadb",
"name": "Multi-Domain-Dedication",
"type": "SNAPSHOT",
"zoneid": "a2a9fafd-43fb-4508-915e-d3c836a7e972"
}
]
}
--
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]