unmk2 / ovz-web-panel

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

Unable to delete some virtual servers #393

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce:

1. Access the ovz-web-panel (http://myhostdomain:3000)
2. Insert: admin and my password.
3. Physical Server > lnx-vps-01 > Select all VPS > Remove Virtual Server

Actual result: Unable to delete some virtual servers

Expected result: Delete all virtual servers

Version of the product: OpenVZ Linux Kernel 2.6.18-274.7.1.el5.028stab095.1 i686

Server OS: Linux CentOS 5.7

Browser: Google Chrome, Mozilla Firefox and Internet Explorer.

Additional information:

# tail -f /var/log/vzctl.log
2012-01-13T12:52:32-0200 vzctl : CT 11100101 : Stopping container ...
2012-01-13T12:53:37-0200 vzctl : CT 11100101 : Container was stopped
2012-01-13T12:53:37-0200 vzctl : CT 11100101 : Container is unmounted
2012-01-13T12:53:46-0200 vzctl : CT 11100101 : Container is not running
2012-01-16T09:48:47-0200 vzctl : CT 11100101 : Destroying container private 
area: /vz/private/11100101
2012-01-16T09:48:49-0200 vzctl : CT 11100101 : Container private area was 
destroyed                                                                   
2012-01-16T09:48:59-0200 vzctl : CT 11100101 : Container config file does not 
exist
2012-01-16T11:01:12-0200 vzctl : CT 11100101 : Container config file does not 
exist

# vzlist -a

      CTID      NPROC STATUS    IP_ADDR         HOSTNAME
Nothing to see...

Ever that I try delete my VPS in ovz-web-panel, I received this message in my 
log file: Container config file does not exist
I understand that my VPS (CT 11100101) has been destroyed.

Guys,

Sorry for the post a new issue, but I don't found something like.

Original issue reported on code.google.com by vinicius...@hotmail.com on 16 Jan 2012 at 4:16

Attachments:

GoogleCodeExporter commented 9 years ago
Go to physical servers list, select the server and click Sync button. This 
should solve your problem.

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

GoogleCodeExporter commented 9 years ago

Original comment by sibprogrammer on 1 May 2012 at 9:27

GoogleCodeExporter commented 9 years ago
First unmount the virtual server

CID = Container ID

ssh and type in the following command
mkdir /vz/root/<CID>
vzctl umount <CID>

Then, you should be able to delete that.

Original comment by newfo...@gmail.com on 6 Feb 2013 at 1:24

GoogleCodeExporter commented 9 years ago
Workaround was added. See 
https://github.com/sibprogrammer/owp/commit/fbb2efdec454447575e40cc3299db6c84b7c
4529

Original comment by sibprogrammer on 9 Feb 2013 at 2:40