-
Notifications
You must be signed in to change notification settings - Fork 15
Description
VDisk can be selected from the list on the Storage - Groups page to navigate to its page.
When full information about the VDisk is available, everything works correctly and a proper link is generated.
link - https://XXXX/vDisk?nodeId=82&pDiskId=1051&vDiskSlotId=1003&backend=https://oidc-proxy.XXXX/XXXx:8765&clusterName=XXXX
vdisk info in /groups handler
{ //GOOD "VDiskId": "2181042170-3-0-1-0", "NodeId": 82, "AllocatedSize": "1903773614080", "Status": "READY", "DiskSpace": "Green", "PDisk": { "PDiskId": "82-1051", "Path": "XXXX", "Type": "hdd", "Guid": "XXXX", "TotalSize": "14000500768768", "AvailableSize": "6813017702400", "Status": "ACTIVE", "DiskSpace": "Green", "DecommitStatus": "DECOMMIT_NONE", "SlotSize": "1746466242560", "Whiteboard": { "PDiskId": 1051, "ChangeTime": "1745922838757", "Path": "XXXX", "Guid": "XXXX", "Category": "0", "AvailableSize": "6813017702400", "TotalSize": "14000500768768", "State": "Normal", "Device": "Green", "Realtime": "Green", "SerialNumber": "", "SystemSize": "817889280", "LogUsedSize": "1226833920", "LogTotalSize": "27262976000", "ExpectedSlotCount": 8, "EnforcedDynamicSlotSize": "1746466242560", "NumActiveSlots": 6 } }, "Whiteboard": { "VDiskId": { "GroupID": 2181042170, "GroupGeneration": 3, "Ring": 0, "Domain": 1, "VDisk": 0 }, "ChangeTime": "1745922839550", "PDiskId": 1051, "VDiskSlotId": 1003, "Guid": "XXXX", "Kind": "0", "VDiskState": "OK", "DiskSpace": "Green", "SatisfactionRank": { "FreshRank": { "Flag": "Green" }, "LevelRank": { "Flag": "Green" } }, "Replicated": true, "UnsyncedVDisks": "1", "AllocatedSize": "1903773614080", "AvailableSize": "0", "HasUnreadableBlobs": false, "IncarnationGuid": "XXXX", "InstanceGuid": "XXXX", "FrontQueues": "Green", "StoragePoolName": "XXXX", "ReadThroughput": "0", "WriteThroughput": "4194319" } },When the VDisk information is incomplete, a broken link is generated, and it's not possible to view the VDisk details.
link - https://XXXX/node/7/structure?vdiskId=&backend=https://oidc-proxy.XXXX/XXXX:8765&clusterName=XXXX
It is very important for operations to pass the VDisk identifier in the format 2181042681-3-0-1-0
, even if some information is unavailable, and to allow performing evict on the VDisk page (evict handler).
vdisk info in /groups handler
{
//BAD
"VDiskId": "2181042170-3-0-0-0",
"NodeId": 7,
"AllocatedSize": "2201076367360",
"Status": "ERROR",
"PDisk": {
"PDiskId": "7-1038",
"Path": "XXXX",
"Type": "hdd",
"Guid": "XXXX",
"TotalSize": "14000500768768",
"AvailableSize": "7342055751680",
"Status": "FAULTY",
"DecommitStatus": "DECOMMIT_NONE",
"SlotSize": "1746466242560"
}
},