Closed enolfc closed 1 year ago
Need to be tested with actual sites
Tested with IISAS, see sample flavor:
dn: GLUE2ResourceID=6a146cb9-0904-4a0d-b61f-a2f56e968280,GLUE2ShareID=https://cloud.ui.savba.sk:5000/v3/_cloud.compute_share_vo.access.egi.eu_71dc9c3785cc4876bfb1a4bfc681e0f3,GLUE2ServiceID=https://cloud.ui.savba.sk:5000/v3/_cloud.compute,GLUE2GroupID=resource,o=glue
objectClass: GLUE2Entity
objectClass: GLUE2Resource
objectClass: GLUE2CloudComputingInstanceType
GLUE2ResourceID: 6a146cb9-0904-4a0d-b61f-a2f56e968280
GLUE2EntityCreationTime: 2023-07-26T14:26:45.949088
GLUE2EntityValidity: 3600
GLUE2EntityName: g1.c08r30-K20m
GLUE2CloudComputingInstanceTypeTemplateID: 6a146cb9-0904-4a0d-b61f-a2f56e968280
GLUE2ResourceManagerForeignKey: https://cloud.ui.savba.sk:5000/v3/_cloud.compute_manager
GLUE2CloudComputingInstanceTypeCloudComputingShareForeignKey: https://cloud.ui.savba.sk:5000/v3/_cloud.compute_share_vo.access.egi.eu_71dc9c3785cc4876bfb1a4bfc681e0f3
GLUE2CloudComputingInstanceTypeCloudComputingManagerForeignKey: https://cloud.ui.savba.sk:5000/v3/_cloud.compute_manager
GLUE2CloudComputingInstanceTypeCloudComputingEndpointForeignKey: https://cloud.ui.savba.sk:5000/v3/_OpenStack_v3_oidc
GLUE2CloudComputingInstanceTypePlatform: amd64
GLUE2CloudComputingInstanceTypeCPU: 8
GLUE2CloudComputingInstanceTypeRAM: 30720
GLUE2CloudComputingInstanceTypeNetworkIn: UNKNOWN
GLUE2CloudComputingInstanceTypeNetworkOut: True
GLUE2CloudComputingInstanceTypeNetworkInfo: UNKNOWN
GLUE2CloudComputingInstanceTypeDisk: 80
GLUE2CloudComputingInstanceTypeCloudComputingVirtualAcceleratorForeingKey: 6a146cb9-0904-4a0d-b61f-a2f56e968280_gpu
dn: GLUE2ResourceID=6a146cb9-0904-4a0d-b61f-a2f56e968280_gpu,GLUE2ShareID=https://cloud.ui.savba.sk:5000/v3/_cloud.compute_share_vo.access.egi.eu_71dc9c3785cc4876bfb1a4bfc681e0f3,GLUE2ServiceID=https://cloud.ui.savba.sk:5000/v3/_cloud.compute,GLUE2GroupID=resource,o=glue
objectClass: GLUE2Entity
objectClass: GLUE2Resource
objectClass: GLUE2CloudComputingVirtualAccelerator
GLUE2ResourceID: 6a146cb9-0904-4a0d-b61f-a2f56e968280_gpu
GLUE2EntityCreationTime: 2023-07-26T14:26:45.949088
GLUE2EntityValidity: 3600
GLUE2EntityName: g1.c08r30-K20m_gpu
GLUE2CloudComputingVirtualAcceleratorCloudComputingInstanceTypeForeignKey: 6a146cb9-0904-4a0d-b61f-a2f56e968280
GLUE2CloudComputingVirtualAcceleratorType: GPU
GLUE2CloudComputingVirtualAcceleratorNumber: 1
GLUE2CloudComputingVirtualAcceleratorVendor: NVIDIA
GLUE2CloudComputingVirtualAcceleratorModel: Tesla K20m
GLUE2CloudComputingVirtualAcceleratorMemory: 5
GLUE2CloudComputingVirtualAcceleratorVirtualizationType: PCI passthrough
Summary
Improves the GPU information gathering for OpenStack and publishing via GLUE2.1. Uses the agreed flavor properties
Accelerator:XXX
as defaults Adds a simple test to check that the templates do not have syntax errorsRelated issue : #239