mdzidic / ovz-web-panel

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

IP is lost on existing VPS save #199

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce:
1. create a vps from this default config:

---start default config---
VERSION="2"

ONBOOT="no"

# UBC parameters (in form of barrier:limit)
# Primary parameters
AVNUMPROC="unlimited"
NUMPROC="unlimited"
NUMTCPSOCK="1801439850948198"
NUMOTHERSOCK="1801439850948198"
VMGUARPAGES="unlimited"
# Secondary parameters
KMEMSIZE="unlimited"
#TCPSNDBUF="2147483647:2147483647"
TCPSNDBUF="4611686018427387903:9223372036854775807"
TCPRCVBUF="4611686018427387903:9223372036854775807"
OTHERSOCKBUF="4611686018427387903:9223372036854775807"
DGRAMRCVBUF="unlimited"
OOMGUARPAGES="unlimited"
# Auxiliary parameters
LOCKEDPAGES="unlimited"
SHMPAGES="unlimited"
PRIVVMPAGES="unlimited"
NUMFILE="unlimited"
NUMFLOCK="unlimited"
NUMPTY="unlimited"
NUMSIGINFO="unlimited"
DCACHESIZE="unlimited"

PHYSPAGES="0:unlimited"
NUMIPTENT="unlimited"

# Disk quota parameters (in form of softlimit:hardlimit)
DISK_QUOTA="no"
---end default config---

I used template ubuntu-10.04-x86_64. Other settings:
Disk space 20000
Memory 512
CPU Units 1000
Number of CPUs 1
CPU limit 100

2. After creation I've clicked change limits and saved (without any actual 
changes)
3. Checked the conf file on the server and there's no ip anymore, just ""

Actual result:
VPS ip is lost

Expected result:
Changed settings (if any) should be saved

Version of the product:
OpenVZ Web Panel 1.5 - r750

Server OS:
CentOS release 5.5 (Final)

Browser:
Google Chrome 7.0.517.44, Firefox 3.6.12

Additional information:
The problem started, if i remember correctly, sometime after updating to r724. 
Don't know if it's related in any way or if that's just when i've noticed the 
problem.

Original issue reported on code.google.com by vlad.nedelcu on 5 Nov 2010 at 3:42

GoogleCodeExporter commented 9 years ago
Guess that your problem was fixed in r732. I can't reproduce the problem on 
latest snapshot (r750). Can you confirm that there is no problem anymore, if 
you create new VPS again and repeat described steps?

Original comment by sibprogrammer on 6 Nov 2010 at 4:08

GoogleCodeExporter commented 9 years ago

Original comment by sibprogrammer on 6 Nov 2010 at 4:08

GoogleCodeExporter commented 9 years ago
Your're right. I did an update to 750 but forgot to restart :|
It's working perfectly now, thx

Original comment by vlad.nedelcu on 6 Nov 2010 at 8:44

GoogleCodeExporter commented 9 years ago

Original comment by sibprogrammer on 6 Nov 2010 at 10:29