Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GPU information to templates #240

Merged
merged 8 commits into from
Jul 31, 2023
Merged

Add GPU information to templates #240

merged 8 commits into from
Jul 31, 2023

Conversation

enolfc
Copy link
Contributor

@enolfc enolfc commented Jul 26, 2023

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 errors


Related issue : #239

@enolfc
Copy link
Contributor Author

enolfc commented Jul 26, 2023

Need to be tested with actual sites

@enolfc enolfc mentioned this pull request Jul 26, 2023
@enolfc
Copy link
Contributor Author

enolfc commented Jul 26, 2023

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

@enolfc enolfc marked this pull request as ready for review July 26, 2023 14:47
@enolfc enolfc requested a review from gwarf July 26, 2023 14:51
@enolfc enolfc changed the title Add information GPU to templates Add GPU information to templates Jul 27, 2023
Copy link
Member

@gwarf gwarf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@enolfc enolfc merged commit 96e2b46 into EGI-Federation:main Jul 31, 2023
13 checks passed
@enolfc enolfc deleted the gpu branch July 31, 2023 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants