[K8s over openstack] GPU Tests will skip GPU nodes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charmed Kubernetes Testing |
Triaged
|
Medium
|
Unassigned |
Bug Description
Filed by Peter De Sousa. Since it was filed against FCE the bug was marked Proprietary. I can't change that to Public and assign it here, so here's a copy/paste of it. I'm closing the FCE one.
---
Hi,
The validation suite for Kubernetes currently picks the first worker node and determines whether this node is a GPU node, if it is not, it skips despite the fact other nodes might be.
The workaround dirty here is to change one line to check all the nodes, but this can be slow.
### Validation.py
### def test_gpu_support
---- change ---
action = await workers.
nvidia = (
True if action.
)
---- to ----
nvidia = False
for unit in workers.units:
action = await unit.run("lspci -nnk")
nvidia = nvidia or (True if action.
There might be a better way of doing this.
Cheers,
Peter
Changed in charmed-kubernetes-testing: | |
importance: | Undecided → Medium |
status: | New → Triaged |