Juju does not allocate swap for ubuntu on vmware
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
When deploying on vmware (here vsphere 6.7), nagios complains of 0 swap for all machines, because juju does not allocate any when it deploys the units. A simple check shows that there is indeed no swap allocated to any units :
ubuntu@
total used free shared buff/cache available
Mem: 985 309 185 2 490 524
Swap: 0 0 0
nagios-
CRITICAL 2020-04-20 17:03:04 0d 4h 39m 52s 4/4 SWAP CRITICAL - 0% free (0 MB out of 0 MB) - Swap is either disabled, not present, or of zero size.
The model deployed was a lma stack and a charmed-kubernetes bundle.
It seems that when we are defining images for ubuntu on vsphere we are missing something to configure swap.