k8s gate tests don't wait for the actual pods to be scheduled
Bug #1645715 reported by
Mathieu Velten
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
In Progress
|
Undecided
|
yatin |
Bug Description
Currently the gate is basically just testing that the API server is answering.
Fixing by waiting for the pods to be running will make the gate a lot slower since the scheduler & controller manager use hyperkube container, which needs 30mn to be pulled in non accelerated VMs.
Let's see if the jobs don't time out before.
Changed in magnum: | |
assignee: | Mathieu Velten (matmaul) → Spyros Trigazis (strigazi) |
Changed in magnum: | |
assignee: | Spyros Trigazis (strigazi) → Mathieu Velten (matmaul) |
Changed in magnum: | |
assignee: | Mathieu Velten (matmaul) → Spyros Trigazis (strigazi) |
Changed in magnum: | |
assignee: | Spyros Trigazis (strigazi) → Mathieu Velten (matmaul) |
Changed in magnum: | |
assignee: | Mathieu Velten (matmaul) → Spyros Trigazis (strigazi) |
Changed in magnum: | |
assignee: | Spyros Trigazis (strigazi) → Mathieu Velten (matmaul) |
Changed in magnum: | |
assignee: | Mathieu Velten (matmaul) → Spyros Trigazis (strigazi) |
Changed in magnum: | |
assignee: | Spyros Trigazis (strigazi) → Mathieu Velten (matmaul) |
Changed in magnum: | |
assignee: | Mathieu Velten (matmaul) → Spyros Trigazis (strigazi) |
Changed in magnum: | |
assignee: | Mathieu Velten (matmaul) → Spyros Trigazis (strigazi) |
Changed in magnum: | |
assignee: | Spyros Trigazis (strigazi) → yatin (yatinkarel) |
To post a comment you must log in.
We need to check when a pod reaches the state.phase = 'Running' with a loop. The current test only checks if the pod is created, not it the pod it's running.
Here: /github. com/openstack/ magnum/ blob/master/ magnum/ tests/functiona l/python_ client_ base.py# L422
https:/