Details
Description
OpenVZ virtualization types have a specific requirement that the swap (burst) memory be equal to or greater than the memory being set. Because separate config options affect this, it is possible to set swap to a value less than memory, which causes an error.
The module should be updated for OpenVZ to set swap/burst as follows:
- Swap/Burst memory should always be set to the total memory. Total memory = plan memory + extra_memory (from the config option)
- If the config option for swap is set, Swap/Burst memory is equal to the total memory + extra_swap (from the config option)
Swap/burst for OpenVZ will then always be equal to or greater than the memory.
Issue Links
- relates to
-
CORE-1647 SolusVM: Change config options to add to plan values
- Closed
Activity
Tyson Phillips (Inactive)
created issue -
Tyson Phillips (Inactive)
made changes -
Tyson Phillips (Inactive)
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Tyson Phillips (Inactive)
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |