wrewolf / ovz-web-panel

Automatically exported from code.google.com/p/ovz-web-panel
0 stars 0 forks source link

Incompatible with "new style" template values (0:128M instead of 0:131072) #410

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce:
1. Create a "new style" template with values such as
PHYSPAGES="0:512M"
SWAPPAGES="0:1024M"
KMEMSIZE="233M:256M"
DCACHESIZE="116M:128M"
LOCKEDPAGES="256M"

Sorry I dont know if there is a better name than "new style" for this style, it 
has been working with OVZ for quite some time now.

2. Open a VE in ovz-web-panel and pick this template.
3. Check the VE's .conf file now, it will have change to

< PHYSPAGES="0:131072"
< SWAPPAGES="0:262144"
< KMEMSIZE="244318208:268435456"
< DCACHESIZE="121634816:134217728"
< LOCKEDPAGES="65536"

Which is not anywhere near the correct values.

vzquota-3.0.12-1.x86_64
vzkernel-2.6.32-042stab049.6.x86_64
vzctl-3.0.30.2-1.x86_64
vzkernel-firmware-2.6.32-042stab049.6.noarch
vzctl-lib-3.0.30.2-1.x86_64

I don't intend to use ovz-web-panel to change templates so if it was possible 
to assign a user to a VE without forcing the setting of a template that would 
be a fine workaround for me.

Original issue reported on code.google.com by rene.dok...@gmail.com on 7 Mar 2012 at 10:48

GoogleCodeExporter commented 9 years ago

Original comment by sibprogrammer on 13 Mar 2012 at 12:44