OpenVZ Forum

Home » General » Support » Openvz 7 Mount Script not working?
Openvz 7 Mount Script not working? [message #52912] Sun, 06 August 2017 00:21
nebulatic is currently offline  nebulatic
Messages: 1
Registered: August 2017
Junior Member
From: *
I'm using Openvz 7 and have started the process of moving from venet to veth interfaces using the documentation, however I'm stuck at getting the script provided in the docs to work. First off, CTID.mount is supposedly where the script goes, but it did not get run in the location the docs indicated it should go. After a little digging I discover that the script MOUNT in the containers private script directory does get run, but seems to get locked up. The bash script waits for the container to complete its start so it can then assign the route to the interface in CT0, but the container never completes because it oddly waits for the script to end - the MOUNT script becomes a zombie process. If I kill the script that is waiting for completion then the container startup script finishes its job and the container is started, but of course there's now no script waiting to assign the route. In other words, I can't see any way to make use of the veth setup unless I manually set the CT0 interfaces, which in the case of a power cycle leaves all the containers without any network.

I'm sure I'm missing something here, but this seems like it should have been resolved already?
Previous Topic: how to optimize my vps host node performance
Next Topic: Creating Centos 7.3 template
Goto Forum:

Current Time: Tue Oct 22 22:56:21 GMT 2019