[Users] Cannot stop or restart container

2010-03-30 Thread Gregor at HostGIS
Hey guys. I reported a bug some months ago, not being able to stop and 
restart a container, getting a timeout instead. When I reported the bug 
months ago, I was unable to replicate it at the time. But here it is 
once again: I cannot stop or restart the VE.


This clip shows the results which I see:

# vzctl restart Customer
Restarting container
Stopping container ...
Unable to stop container: operation timed out

# vzlist Customer
CTID  NPROC STATUS  IP_ADDR HOSTNAME
  84  3 running -   Customer

The 3 processes, I don't know what they are but they may be related to 
this, and may be a clue: After the initial vzctl restart, it got down to 
1 process before it timed out. I ran vzctl exec Customer ps ax and now 
I notice that the NPROC increments each time I do this. However from the 
HN, ps ax | grep ps only shows the one 'ps' which I am running, not 
the ones in the VE.


Any thoughts on how I can finally stop this thing and restart it? Note 
that this is a production HN with production VEs, so rebooting it is not 
an attractive option.


HN OS is Fedora 9
Kernel is 2.6.24.ovz009.1
vzctl-3.0.23-1.x86_64
vzctl-lib-3.0.23-1.x86_64

--
HostGIS, Open Source solutions for the global GIS community
Greg Allensworth - SysAdmin, Programmer, GIS Person, Security
   Network+   Server+   A+   Security+   Linux+
   PHP   PostgreSQL   MySQL   DHTML/JavaScript/AJAX

No one cares if you can back up — only if you can recover.

___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] Cannot stop or restart container

2010-03-30 Thread John Drescher
 I recently had a similar result from an Archlinux template, however I would
 need to know more about the container to be able to relate it to my case.

 Can you vzctl enter it?


I have a restart problem on a self made gentoo container however I
know the cause. It gets locked up trying to stop nfsmount. I believe
the problem is the virtual nic is down before the nfsmount tries to
stop and nfsmount waits forever to close the connection to the
server..

John
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] Cannot stop or restart container

2010-03-30 Thread Thorsten Schifferdecker
Hi,

and any entries logged in kern.log/dmesg as well ?

Bye,
Thorsten

Steven Crothers schrieb:
 What template are you using and where did you get it from?
 
 I recently had a similar result from an Archlinux template, however I would
 need to know more about the container to be able to relate it to my case.
 
 Can you vzctl enter it?
 
 -Original Message-
 From: users-boun...@openvz.org [mailto:users-boun...@openvz.org] On Behalf
 Of Gregor at HostGIS
 Sent: Tuesday, March 30, 2010 3:53 PM
 To: OpenVZ Maling List
 Subject: [Users] Cannot stop or restart container
 
 Hey guys. I reported a bug some months ago, not being able to stop and 
 restart a container, getting a timeout instead. When I reported the bug 
 months ago, I was unable to replicate it at the time. But here it is 
 once again: I cannot stop or restart the VE.
 
 This clip shows the results which I see:
 
 # vzctl restart Customer
 Restarting container
 Stopping container ...
 Unable to stop container: operation timed out
 
 # vzlist Customer
 CTID  NPROC STATUS  IP_ADDR HOSTNAME
84  3 running -   Customer
 
 The 3 processes, I don't know what they are but they may be related to 
 this, and may be a clue: After the initial vzctl restart, it got down to 
 1 process before it timed out. I ran vzctl exec Customer ps ax and now 
 I notice that the NPROC increments each time I do this. However from the 
 HN, ps ax | grep ps only shows the one 'ps' which I am running, not 
 the ones in the VE.
 
 Any thoughts on how I can finally stop this thing and restart it? Note 
 that this is a production HN with production VEs, so rebooting it is not 
 an attractive option.
 
 HN OS is Fedora 9
 Kernel is 2.6.24.ovz009.1
 vzctl-3.0.23-1.x86_64
 vzctl-lib-3.0.23-1.x86_64

___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] Cannot stop or restart container

2010-03-30 Thread Gregor at HostGIS

It gets locked up trying to stop nfsmount. I believe
the problem is the virtual nic is down before the nfsmount tries to
stop and nfsmount waits forever to close the connection to the
server..


Interesting. No connections made here, though; no NFS or similar.

Would that apply to open listening sockets as well, e.g. httpd still 
running?


--
HostGIS, Open Source solutions for the global GIS community
Greg Allensworth - SysAdmin, Programmer, GIS Person, Security
   Network+   Server+   A+   Security+   Linux+
   PHP   PostgreSQL   MySQL   DHTML/JavaScript/AJAX

No one cares if you can back up — only if you can recover.

___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] Cannot stop or restart container

2010-03-30 Thread John Drescher
On Tue, Mar 30, 2010 at 4:42 PM, Gregor at HostGIS gre...@hostgis.com wrote:
 It gets locked up trying to stop nfsmount. I believe
 the problem is the virtual nic is down before the nfsmount tries to
 stop and nfsmount waits forever to close the connection to the
 server..

 Interesting. No connections made here, though; no NFS or similar.

 Would that apply to open listening sockets as well, e.g. httpd still
 running?


I believe that is doubtful.

BTW, if you open a second terminal and vzctl enter you can see what's
going on. That is how I determined the cause of my problem..

John
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Cannot start container, error -12

2010-03-30 Thread Gregor at HostGIS

What does this mean?
CT: 85: failed to start with err=-12

I see that -12 is ENOMEM. Does this really indicate that my HN is full 
and can't run anymore VEs?


Also, can someone explain to me the proper usage of vzmemcheck and how 
to interpret its output?


--
HostGIS, Open Source solutions for the global GIS community
Greg Allensworth - SysAdmin, Programmer, GIS Person, Security
   Network+   Server+   A+   Security+   Linux+
   PHP   PostgreSQL   MySQL   DHTML/JavaScript/AJAX

No one cares if you can back up — only if you can recover.

___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] libvirt progress

2010-03-30 Thread Nathan Stratton


Is there anyone on this list that can update me on the progress of libvirt 
integration with openvz? With the latest libvirt I am able to start and 
stop a domain that is defined with a openvz config file, but I have not 
yet been able to migrate to full libvirt control As an example migration 
does not seam to work at all.


Any help would be greatly appreciated, in fact, we are willing to pay to 
get this fixed.





Nathan StrattonCTO, BlinkMind, Inc.
nathan at robotics.net nathan at blinkmind.com
http://www.robotics.nethttp://www.blinkmind.com
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


RE: [Users] libvirt progress

2010-03-30 Thread Steven Crothers
Perhaps this question is better suited to the libvirt list? Since OpenVZ
does nothing to support libvirt afaik...

-Original Message-
From: users-boun...@openvz.org [mailto:users-boun...@openvz.org] On Behalf
Of Nathan Stratton
Sent: Tuesday, March 30, 2010 9:41 PM
To: users@openvz.org
Subject: [Users] libvirt progress


Is there anyone on this list that can update me on the progress of libvirt 
integration with openvz? With the latest libvirt I am able to start and 
stop a domain that is defined with a openvz config file, but I have not 
yet been able to migrate to full libvirt control As an example migration 
does not seam to work at all.

Any help would be greatly appreciated, in fact, we are willing to pay to 
get this fixed.


Nathan StrattonCTO, BlinkMind, Inc.
nathan at robotics.net nathan at blinkmind.com
http://www.robotics.nethttp://www.blinkmind.com
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users

___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


RE: [Users] libvirt progress

2010-03-30 Thread Nathan Stratton

On Tue, 30 Mar 2010, Steven Crothers wrote:


Perhaps this question is better suited to the libvirt list? Since OpenVZ
does nothing to support libvirt afaik...


I have actually, the problem is libvirt already supports all of this, the 
issue is on the interfacing with OpenVZ side of things just like with Xen 
and KVM.



-Original Message-
From: users-boun...@openvz.org [mailto:users-boun...@openvz.org] On Behalf
Of Nathan Stratton
Sent: Tuesday, March 30, 2010 9:41 PM
To: users@openvz.org
Subject: [Users] libvirt progress


Is there anyone on this list that can update me on the progress of libvirt
integration with openvz? With the latest libvirt I am able to start and
stop a domain that is defined with a openvz config file, but I have not
yet been able to migrate to full libvirt control As an example migration
does not seam to work at all.

Any help would be greatly appreciated, in fact, we are willing to pay to
get this fixed.




Nathan StrattonCTO, BlinkMind, Inc.
nathan at robotics.net nathan at blinkmind.com
http://www.robotics.nethttp://www.blinkmind.com
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users

___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users