Skip to content

VMs of instance type M are not schedulable due to lack of 2M pages #323

@DanielFroehlich

Description

@DanielFroehlich

Tried to schedule a VM of Instance Type "Memory Intensive - xlarge" (4 CPU, 32 Gi Memory=

Starting this VM results in ErrorUnschedulable.
Diagnostics shows:

0/13 nodes are available: 1 Insufficient memory, 10 Insufficient hugepages-2Mi, 3 node(s) had untolerated taint {node-role.kubernetes.io/master: }. preemption: 0/13 nodes are available: 10 No preemption victims found for incoming pod, 3 Preemption is not helpful for scheduling.

So it seems that M type VMs are pre-configure to consume 2Mi hugepages.
Looking at our nodes, those large pages are not configured:

% oc describe node/storm2
Capacity:
  ephemeral-storage:                      523506800Ki
  hugepages-1Gi:                          0
  hugepages-2Mi:                          0
  memory:                                 792486316Ki
  pods:                                   250

Simple workaround: go with U-type (general purpose VMs) - those work!

Metadata

Metadata

Labels

bugSomething isn't workingcluster/isarBareMetal COE Cluter

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions