[Users] spectre-attack

2018-01-04 Thread Benjamin Henrion
Hi,

This is a copy of the POC that was in the research paper:

https://github.com/Eugnis/spectre-attack

I am trying to modify it so that one container can put some data in
memory, and try to find it with another container.

Anybody wants to help?

Best,

--
Benjamin Henrion (zoobab)
Email: zoobab at gmail.com
Mobile: +32-484-566109
Web: http://www.zoobab.com
FFII.org Brussels
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


[Users] X86_BUG_CPU_INSECURE

2018-01-02 Thread Benjamin Henrion
Hi,

Just reading this:

https://amp.reddit.com/r/sysadmin/comments/7nl8r0/intel_bug_incoming/

Xen seems to have a pending patch to be release this week, but people
are speculating now that you could bypass the entire isolation process
provided by any hypervisor.

Wait and see how this will be exploited, but you can be sure there
will be exploits soon in the wild.

The patch for software mitigation seems to be big and performance impacting.

But that would probably mean that containers can be bypassed.

Wait and see,

--
Benjamin Henrion (zoobab)
Email: zoobab at gmail.com
Mobile: +32-484-566109
Web: http://www.zoobab.com
FFII.org Brussels
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


[Users] Kir going to Docker

2017-06-28 Thread Benjamin Henrion
Just to say goodbye to Kir, he is going to Docker:

https://twitter.com/kolyshkin/status/875179775450427392

-- 
Benjamin Henrion 
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] af_packet.c exploit

2016-12-06 Thread Benjamin Henrion
On Tue, Dec 6, 2016 at 1:51 PM, Vasily Averin <v...@virtuozzo.com> wrote:
>
> On 12/06/2016 01:25 PM, Konstantin Khorenko wrote:
>> Hi Benjamin,
>>
>> On 12/06/2016 11:32 AM, Benjamin Henrion wrote:
>>> Hi,
>>>
>>> Just reading this:
>>>
>>> https://news.ycombinator.com/item?id=13112418#13112706
>>>
>>> Any link to the GIT commit that fixes that important bug?
>>
>> Here is a commit message - with the patch:
>> https://lists.openvz.org/pipermail/devel/2016-December/069707.html
>>
>> And the kernel version with the fix is 3.10.0-327.36.1.vz7.20.12 as it's 
>> said the commit message.
>>
>> git will be automatically synced later.
>>
>> Binary vzkernel rpm will be available after midnight at
>> https://download.openvz.org/virtuozzo/factory/x86_64/os/Packages/v/
>>
>>
>> And yes, commercial Virtuozzo users are safe: ReadyKernel patch is available 
>> for several days already:
>> https://readykernel.com/patch/65/
>
> And  no, RHEL6 based kernels are not affected ^)

Good old kernels :-)

-- 
Benjamin Henrion 
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


[Users] af_packet.c exploit

2016-12-06 Thread Benjamin Henrion
Hi,

Just reading this:

https://news.ycombinator.com/item?id=13112418#13112706

Any link to the GIT commit that fixes that important bug?

And which kernel version is patched?

Best,

--
Benjamin Henrion 
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] Debian Jessie precompiled kernels

2015-11-07 Thread Benjamin Henrion
On Sat, Nov 7, 2015 at 6:57 PM, CoolCold <coolthec...@gmail.com> wrote:
> Hello!
> As I see there is https://download.openvz.org/debian/dists/jessie/ ,

I don't see any kernel on there, like for wheezy:

https://download.openvz.org/debian/dists/wheezy/main/binary-amd64/kernel/

-- 
Benjamin Henrion 
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


[Users] measuring IO inside an openvz container?

2015-09-04 Thread Benjamin Henrion
Hi,

I do have an account on an openvz server, but the IO provided is very
variable, sometimes my shell is fluid, sometimes it is really slow.

Is there a test I could run periodically to test the disk IO?

Best,

-- 
Benjamin Henrion 
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


[Users] Docker inside Openvz CT: equivalent to systemd params under sysv init?

2015-05-24 Thread Benjamin Henrion
Hi,

I am trying to make this work:

https://openvz.org/Docker_inside_CT

It mentions:


Configure custom cgroups in systemd:

systemd reads /proc/cgroups and mounts all cgroups enabled there,
though it doesn't know there's a restriction that only freezer,devices
and cpuacct,cpu,cpuset can be mounted in container, but not freezer,
cpu etc. separately
vzctl mount $veid
echo JoinControllers=cpu,cpuacct,cpuset freezer,devices 
/vz/root/$veid/etc/systemd/system.conf


I am trying to make it work with a Debian Wheezy CT without systemd,
any idea how to do the same with the old sysvinit?

Otherwise I am hitting that error in the docker daemon log:


ERRO[0040] Handler for POST /containers/{name:.*}/start returned
error: Cannot start container
197ffe32571575340ec3f399349d62c42818bb9c2a45656bfaafc22c68a55055: [8]
System error: mountpoint for cpu not found
ERRO[0040] HTTP Error: statusCode=500 Cannot start container
197ffe32571575340ec3f399349d62c42818bb9c2a45656bfaafc22c68a55055: [8]
System error: mountpoint for cpu not found


Best,

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] Debian 8 packages for OpenVZ as a HN?

2015-05-12 Thread Benjamin Henrion
On Sun, May 10, 2015 at 5:05 PM, Pavel Odintsov
pavel.odint...@gmail.com wrote:
 Well, well. But why my 2.6.32 kernel become broken after change
 Wheezy's init system to systemd? Standard 3.2 kernel from Debian works
 perfectly with systemd.

Because Systemd is tied to the kernel version. I had many problems
switching between different kernel versions, to find out at the end
that systemd is loosely coupled to the kernel.

Argh.

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


[Users] openwrt on openvz

2015-04-07 Thread Benjamin Henrion
Hi,

Are there any volunteers to test this:

https://github.com/zoobab/openwrt-openvz

See the small thread here:

https://forum.openwrt.org/viewtopic.php?pid=271565

I have tested venet0, but some vzctl changes might not be resistant.

Best,

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


[Users] Docker inside an OpenVZ container

2015-03-23 Thread Benjamin Henrion
Hi,

Anyone has tried this docker inside an OpenVZ container:

https://openvz.org/Docker_inside_CT

I discovered the page yesterday.

I tried to upgrade a Proxmox server with the OpenVZ kernel, did not
survived a reboot.

Will try to find some time today to give it a shot.

Best,

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


[Users] rowhammer exploit

2015-03-10 Thread Benjamin Henrion
Hi,

Could this be used to gain HN root access from a container:

http://googleprojectzero.blogspot.be/2015/03/exploiting-dram-rowhammer-bug-to-gain.html?m=1

best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software patents
in Europe, the patent establishment changed its strategy. Instead of
explicitly seeking to sanction the patentability of software, they are now
seeking to create a central European patent court, which would establish
and enforce patentability rules in their favor, without any possibility of
correction by competing courts or democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] Upstream kernel and vzctl updated documentation

2015-02-25 Thread Benjamin Henrion
On Wed, Feb 25, 2015 at 5:33 PM, Scott Dowdle dow...@montanalinux.org wrote:
 Greetings,

 - Original Message -
 Is there updated documentation on vzctl with the upstream kernel?

 No.  I don't think much additional effort has been put into making vzctl more 
 compatible with upstream kernels.  I could be wrong and would be happy to be. 
 :)

 We are expecting an EL7-based OpenVZ kernel branch to drop in the not too 
 distant future and if Kir's presentation description for LinuxFest Northwest 
 at the end of April is any indicator... running Docker within an OpenVZ 
 container as well as running Docker under an OpenVZ kernel... will be things 
 we learn about as well.  I think some of that will apply to the EL6-based 
 OpenVZ kernel as well but I'm not certain.

On that topic, I recently tried to run a docker on on openvz kernel
(proxmox kernel), hit a bug with udev that should be resolved in
docker 1.16.

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.

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


Re: [Users] The future of OpenVZ: Virtuozzo Core

2014-12-27 Thread Benjamin Henrion
On Sat, Dec 27, 2014 at 11:34 AM, Pavel Odintsov
pavel.odint...@gmail.com wrote:
 Awesome Is it possible to join to development committee?

Any chance to see openvz against mainline one day?

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] stab93.5 crashing processes

2014-12-10 Thread Benjamin Henrion
On Mon, Dec 8, 2014 at 2:00 PM, Vasily Averin v...@parallels.com wrote:
 Dear Benjamin,

 similar issues are processed in
 https://bugzilla.openvz.org/show_bug.cgi?id=3140

I have used this bashrc to display human timestamps in dmesg:

http://stackoverflow.com/questions/13890789/convert-dmesg-timestamp-to-custom-date-format

All my EXT4 warning-errors and warn_slowpath errors happens at 00:30,
when the daily vzdump backup is running.

Vzdump is using the LVM functionality, so lvm-snapshot should be
involved in there.

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] Ploop Vzdump

2014-10-02 Thread Benjamin Henrion
Wednesday, October 1, 2014, Matt matt.mailingli...@gmail.com wrote:
 Is there a command for backing up and restoring like vzdump that works
 with ploop?

the author of openvz-diff-backup is working on ploop support (sorry in
french):

http://projets.developpeur-neurasthenique.fr/boards/1/topics/137?r=142#message-142
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] Centos/RHEL 7

2014-07-08 Thread Benjamin Henrion
On Tue, Jul 8, 2014 at 12:08 AM, jjs - mainphrame j...@mainphrame.com wrote:
 I'm downloading Centos 7 now. Naturally I'm eager to run openvz. Is there
 any sort of road map or schedule for the availability of a RHEL 7 based OVZ
 kernel?

I guess many people are still waiting for an answer from the OpenVZ
devs regarding support of a more recent kernel then 2.6.32, in this
case 3.10 if I am not mistaken.

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] CentOS 7 OS Template now in contrib

2014-07-08 Thread Benjamin Henrion
On Mon, Jul 7, 2014 at 10:22 PM, Scott Dowdle dow...@montanalinux.org wrote:
 Greetings,

 CentOS sent out an announcement about the release of CentOS 7:
 http://lists.centos.org/pipermail/centos-announce/2014-July/020393.html

 I built a regular and a minimal OS Template and have uploaded it to contrib.  
 Inside of /root are the scripts to create the OS Template from scratch.  It 
 assumes it is being built from a CentOS 7 host/container that has the CentOS 
 repos configured correctly.

I think at some point Openvz.org should provide trusted builds like
docker is doing.

At least we could get good docs on how those images are built.

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.

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


Re: [Users] openvpn in openvz

2014-06-21 Thread Benjamin Henrion
On Sat, Jun 21, 2014 at 8:47 AM, Rene C. ope...@dokbua.com wrote:
 I got the openvpn part itself down, no problem, but getting it to work
 in a container is a lot of hassle. Many pages, but most are outdated
 and things keeps changing. Anyone know how to get it to work TODAY?

 The server is an otherwise normal server with public ip addresses and
 works with cpanel, no problem that far. The problem is getting an
 openvpn service to work in it.

 I've already added the tun device, and I can connect to the server
 with the openvpn client, just can't continue from there, so some
 routing is missing.

 I've followed the general routing instructions but because openvz
 doesn't support MASQ it doesn't work.

 - which modules to insmod on the hwnode

Just make sure tun is present in lsmod.

 - which modules to add into /etc/vz/vz.conf

The same. tun should be part of the list of modules in vz.conf, so
it gets loaded at vz start.

 - which modules to add into /etc/vz/ct.conf

And the for the CTID you want to run openvpn access in:

https://openvz.org/VPN_via_the_TUN/TAP_device#Granting_container_an_access_to_TUN.2FTAP

Can you provide openvpn-client debug messages?

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] CVE-2014-0196

2014-05-14 Thread Benjamin Henrion
On Tue, May 13, 2014 at 5:56 PM, Kir Kolyshkin k...@openvz.org wrote:
 We are receiving a lot of inquiries as to what is the status of OpenVZ
 kernel
 with respect to CVE-2014-0196. This email summarizes our knowledge as of
 now.

 1. RHEL5-based OpenVZ kernels (028stabXXX) are not affected.

 2. RHEL6-based OpenVZ kernels (042stabXXX) released during last 12 months
 are not affected.

 3. Older 042stab kernel are affected. Therefore, if you run kernel released
 older than May 2013 (see uname -v) please upgrade and reboot now.

 3. Both OpenVZ kernel team and Red Hat are still looking into the issue,
 an updated kernel might be available.

Can you tell me if 061.2 is affected?

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


[Users] Docker inside OpenVZ through UML

2014-05-05 Thread Benjamin Henrion
I found this hack this morning:

http://webcache.googleusercontent.com/search?q=cache:kxj3y_OTEksJ:https://gist.github.com/coderofsalvation/bbcad39ebe5c432ec851+cd=2hl=enct=clnkgl=be

It is a bit ugly, but it works on my side.

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


[Users] docker 0.9 claims openvz support

2014-03-10 Thread Benjamin Henrion
Hi,

Was just reading this:

http://blog.docker.io/2014/03/docker-0-9-introducing-execution-drivers-and-libcontainer/

They claim to support openvz. Anyone has time to try it out?

Best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software patents
in Europe, the patent establishment changed its strategy. Instead of
explicitly seeking to sanction the patentability of software, they are now
seeking to create a central European patent court, which would establish
and enforce patentability rules in their favor, without any possibility of
correction by competing courts or democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] Cloud Storage for OpenVZ Containers

2014-01-24 Thread Benjamin Henrion
On Fri, Jan 24, 2014 at 10:04 AM, Kirill Korotaev d...@parallels.com wrote:
 openvz.org and Parallels are pleased to announce availability of Parallels 
 Cloud Storage technology preview for all openvz users!

 Parallels Cloud Storage is a new Software Defined Storage solution (also 
 known as virtual SAN) which makes it possible to build a scalable distributed 
 storage for running your Containers on commodity hardware and SATA drives 
 with performance comparable to real HW SAN storage. It provides strong 
 consistency semantics required for running VMs, Containers and iSCSI targets, 
 has built-in automatic data replication and recovery, supports HDDs and nodes 
 hotplug, is highly available and scales to Petabytes.

 Virtualization running on top of Parallels Cloud Storage gains multiple 
 advantages like high availability, fast live migration across nodes (w/o 
 storage migration), benefiting from all HDDs performance potential and 
 utilizing otherwise idle HDDs in the cluster, no capacity limitations, grow 
 on demand and so on.

 See more details at https://openvz.org/Parallels_Cloud_Storage. Your feedback 
 is very much appreciated!

Can you point us to the source for those binaries:

http://download.openvz.org/pstorage/current/

Best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.

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


[Users] Gentoo vzdump-1.2 LVM bug

2013-12-17 Thread Benjamin Henrion
Hi,

Vzdump in gentoo has a bug in its current version, where it does not
detect correctly LVM partitions, which renders it useless for live LVM
snapshots.

The fix is here:

http://lowendtalk.com/discussion/15063/vzdump-snapshot-mode-not-working

I applied the fix for the gentoo ebuild here:

https://github.com/zoobab/overlay4gentoo/blob/master/app-backup/vzdump/files/vzdump-1.2-lvm-fix.patch

Best,

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


[Users] Fwd: Gentoo vzdump-1.2 LVM bug

2013-12-05 Thread Benjamin Henrion
FYI

-- Forwarded message --
From: Benjamin Henrion zoo...@gmail.com
Date: Thu, Dec 5, 2013 at 4:29 PM
Subject: Gentoo vzdump-1.2 LVM bug
To: p...@gentoo.org
Cc: andreis.vinograd...@gmail.com, OpenVZ users list. This is THE
list you need. users@openvz.org


Hi,

Vzdump in gentoo has a bug in its current version, where it does not
detect correctly LVM partitions, which renders it useless for live LVM
snapshots.

The fix is here:

http://lowendtalk.com/discussion/15063/vzdump-snapshot-mode-not-working

I applied the fix for the gentoo ebuild here:

https://github.com/zoobab/overlay4gentoo/blob/master/app-backup/vzdump/files/vzdump-1.2-lvm-fix.patch

Best,


-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] libvirt

2013-05-31 Thread Benjamin Henrion
On Thu, May 30, 2013 at 8:11 PM, Simon Boulet si...@nostalgeek.com wrote:
 The current OpenVZ Libvirt driver is very outdated and very slow (calls
 vzctl instead of talking to the OpenVZ ioctl, etc.). My need was to use
 Host-flow libvirt interface to monitor my OpenVZ hosts. I developed a few
 patches to the OpenVZ Libvirt driver (adding Vswap memory usage reporting
 support, configuration loading improvement by parsing vzctl JSON output,
 retrieving disk space usage and I/O bytes counters) but never ended up using
 or sending them upstream to Libvirt.

 I'd be interested to know if you have plans for updating the driver, and can
 share my patches for you to look at and perhaps submit upstream.

Can you publish them somewhere? Github or elsewhere...

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


[Users] Openvz template for Debian Wheezy

2013-05-06 Thread Benjamin Henrion
Hi,

I just updated my debian wheezy template with the debian release of
this weekend:

http://filez.zoobab.com/openvz/templates/debian-7.0-x86_64.tar.gz

I created it with:

https://github.com/zoobab/openvz-scripts/blob/master/create-template-debian-amd64.sh

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


[Users] Macvlan with openvz?

2013-04-18 Thread Benjamin Henrion
Hi,

I just played with LXC, they support macvlan, which does not force you
to use a bridge on the HN side, and it is quite straightforward to
setup.

lxc.network.type=macvlan
lxc.network.macvlan.mode=bridge
lxc.network.link=eth0
lxc.network.flags=up
lxc.network.hwaddr = 00:16:AA:BB:CC:DD

On the HN side, brctl show reports nothing, so it works without a bridge.

Any idea if this is supported under openvz?

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


[Users] Web server on demand with ckpnt/suspend?

2013-03-24 Thread Benjamin Henrion
Hi,

I was just reading this slashdot article about spawning a web server
within 2 seconds from Xen+Erlang:

http://tech.slashdot.org/story/13/03/24/0350217/a-glimpse-of-a-truly-elastic-cloud

Would it be possible to achieve the same results with ckpnt/suspend?

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


[Users] eth0 works, vzbr0 does not

2013-03-21 Thread Benjamin Henrion
Hi,

I have the following problem seting up a machine with vzbr0 as the
replacement of eth0.

Networking with eth0 works fine, but not when I setup the vzbr0 with
the public IP.

I see ping requests coming on the vzbr0 interface, but not leaving.

Any idea why?

Iptables is off, and sysctl.conf did not changed.

I suspect ARP config.

Anybody had already that kind of problem?

Best,

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


[Users] openvz veth and bridging HN bug

2013-02-14 Thread Benjamin Henrion
Hi,

I spent a day debugging why when I was restarting a VZ with veth the
HN was suddenly not pingable anymore.

Then I found this article:

http://notes.asd.me.uk/2011/01/31/openvz-bridge-vanishing-network-fix/

I put FE:FF:FF:FF:FF:FF as hostmac in all the VZ configs, and now it
works like a charm.

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


[Users] Dsiable venet0 when using bridges?

2013-01-23 Thread Benjamin Henrion
Hi,

I am looking for a solution on how to disable venet0 completely in the
CT, I found this hack:

http://wiki.openvz.org/Disable_venet_interface

There is no other mean to do not show it inside the CT?

Best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] Kernel crash when removing vznetdev module

2013-01-22 Thread Benjamin Henrion
On Tue, Jan 22, 2013 at 2:57 PM, Vladimir Davydov
vdavy...@parallels.com wrote:
 On Jan 22, 2013, at 5:33 PM, Benjamin Henrion b...@udev.org wrote:

 Hi,

 With a RH machine with the stable openvz kernel, I managed to crash
 the machine with this:

 root@203 /etc/vz/conf [26]# rmmod vznetdev
 ERROR: Module vznetdev is in use
 root@203 /etc/vz/conf [27]# /etc/init.d/vz stop
 Suspending CT 207
 Suspending CT 207
 Suspending CT 207
 Shutting down CT 207
 Bringing down interface venet0:[  OK  ]
 Stopping OpenVZ:   [  OK  ]
 root@203 /etc/vz/conf [28]# rmmod vznetdev
 ERROR: Module vznetdev does not exist in /proc/modules
 root@203 /etc/vz/conf [29]# /etc/init.d/vz start^C
 root@203 /etc/vz/conf [29]# vzctl set 207 --onboot no
 WARNING: Settings were not saved to config (use --save flag)
 root@203 /etc/vz/conf [30]# vzctl set 207 --onboot no --save
 CT configuration saved to /etc/vz/conf/207.conf
 root@203 /etc/vz/conf [31]# /etc/init.d/vz start
 Starting OpenVZ:   [  OK  ]
 Applying OOM adjustments:  [  OK  ]
 Bringing up interface venet0:  [  OK  ]
 root@203 /etc/vz/conf [32]# rmmod vznetdev
 root@203 /etc/vz/conf [33]# vzctl start 207
 Starting container...
 Container is mounted
 Setting CPU units: 1000

 -  Kernel panic

 Not very informative. Where is the kernel log?

Sorry, I was in SSH, will try to catch the kernel messages.

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] Add automatically veth101.1 to the vzbr0 bridge?

2013-01-22 Thread Benjamin Henrion
On Tue, Jan 22, 2013 at 4:06 PM, Benjamin Henrion b...@udev.org wrote:
 Hi,

 Is there an automatic method to add  veth101.1 to the vzbr0 bridge
 when I restart a CT?

 Some people are using the .mount script, but it looks like very hackish:

 http://forum.openvz.org/index.php?t=msggoto=39029;

 Any better way to do it?

More preciselly, I am looking to do the same as the Debian config on Redhat:

http://wiki.openvz.org/Virtual_Ethernet_device#Independent_Virtual_Ethernet_communication_through_the_bridge

auto vzbr0
iface vzbr0 inet static
bridge_ports eth0
bridge_fd 0
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.254

Any equivalent under RH63?

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] Add automatically veth101.1 to the vzbr0 bridge?

2013-01-22 Thread Benjamin Henrion
On Tue, Jan 22, 2013 at 4:14 PM, Benjamin Henrion b...@udev.org wrote:
 On Tue, Jan 22, 2013 at 4:06 PM, Benjamin Henrion b...@udev.org wrote:
 Hi,

 Is there an automatic method to add  veth101.1 to the vzbr0 bridge
 when I restart a CT?

 Some people are using the .mount script, but it looks like very hackish:

 http://forum.openvz.org/index.php?t=msggoto=39029;

 Any better way to do it?

 More preciselly, I am looking to do the same as the Debian config on Redhat:

 http://wiki.openvz.org/Virtual_Ethernet_device#Independent_Virtual_Ethernet_communication_through_the_bridge

 auto vzbr0
 iface vzbr0 inet static
 bridge_ports eth0
 bridge_fd 0
 address 192.168.1.100
 netmask 255.255.255.0
 gateway 192.168.1.254

 Any equivalent under RH63?

Sorry, the solution was just adding that file:

cat /etc/vz/vznet.conf

#!/bin/bash
EXTERNAL_SCRIPT=/usr/sbin/vznetaddbr

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


[Users] Libvirt slaves Jenkins plugin for openvz?

2013-01-21 Thread Benjamin Henrion
Hi,

Just wondering if there are users of Jenkins here who are using this plugin:

https://wiki.jenkins-ci.org/display/JENKINS/Libvirt+Slaves+Plugin
http://libvirt.org/drvopenvz.html

It allows to create openvz slaves at build time.

Very handy, but I wonder if someone has experiences with it.

I am giving it a try now, will give you my feedback.

Best,

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] Libvirt slaves Jenkins plugin for openvz?

2013-01-21 Thread Benjamin Henrion
On Mon, Jan 21, 2013 at 9:49 PM, Benjamin Henrion b...@udev.org wrote:
 Hi,

 Just wondering if there are users of Jenkins here who are using this plugin:

 https://wiki.jenkins-ci.org/display/JENKINS/Libvirt+Slaves+Plugin
 http://libvirt.org/drvopenvz.html

 It allows to create openvz slaves at build time.

 Very handy, but I wonder if someone has experiences with it.

 I am giving it a try now, will give you my feedback.

Very simple, the GUI only supports XEN/QEMU:

http://wiki.hudson-ci.org/download/attachments/42470710/libvirt-advanced-conf.jpg

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


[Users] Openvz Debian 7.0 wheezy template

2013-01-20 Thread Benjamin Henrion
Hi,

I made template of debian wheezy 7.0 with my debian generation script:

https://github.com/zoobab/openvz-scripts/blob/master/create-template-debian-amd64.sh

You can try it here:

http://filez.zoobab.com/openvz/templates/debian-7.0-x86_64.tar.gz

Best,

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
http://lists.openvz.org/mailman/listinfo/users


[Users] OpenVZ talk at FOSDEM with CRIU

2013-01-18 Thread Benjamin Henrion
https://fosdem.org/2013/schedule/event/criu_ckeckpoint_restore/

CRIU: Checkpoint and Restore (mostly) In Userspace
 Track: Virtualisation devroom
 Room: Chavanne
 Day: Saturday
 Start: 11:30
 End: 12:00

Checkpoint/restore is a feature that allows to freeze a set of running
processes and save their complete state to disk. This state can later
be restored and the processes are resumed exactly the way they were
running before. This feature opens a whole set of possibilities, from
doing a live migration to fast start of huge applications.
Unfortunately, many attempts to merge such functionality to the
upstream Linux kernel failed miserably, mostly for the code complexity
reasons. That leaves the Linux community with a poor option of using
the non-upstreamed kernel patches available from e.g. OpenVZ or Oren
Laadan. OpenVZ kernel developers team found a way to overcome this
inability to merge the code upstream, by implementing most of the
required pieces in userspace, with a minimal intervention into the
kernel. The project started about a year ago, but it’s already enough
powerful. Now CRIU is capable to dump an LXC container with Apache and
MySQL. This report will describe basic design of CRUI and and
highlight some interesting parts of it such as dumping and restoring
TCP connections. In addition it will describe some interesting usage
scenarios such as rebooting to a newer kernel in a few seconds without
losing state of processes and network connections. The report will be
interesting for system and distro developers, advanced users, and
anyone interested in containers, virtualization, and high
availability.

Speakers
Andrey Vagin

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.

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


[Users] redhat63 templates

2013-01-12 Thread Benjamin Henrion
Hi,

I am searching for redhat63 templates, anybody has made some?

Best;

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
http://lists.openvz.org/mailman/listinfo/users


Re: [Users] redhat63 templates

2013-01-12 Thread Benjamin Henrion
On Sat, Jan 12, 2013 at 5:43 PM, Todd Mueller toddmuel...@gmail.com wrote:
 What are you looking for that the stock template does not provide?

I can only find Centos ones.

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
http://lists.openvz.org/mailman/listinfo/users


Re: [Users] kernel panic of 2.6.32-042stab057.1

2012-12-11 Thread Benjamin Henrion
On Wed, Nov 21, 2012 at 1:40 PM, Aleksey Cheusov cheu...@tut.by wrote:
 Hi. After 78 days of uptime my system running 2.6.32-042stab057.1
 crashed. Screenshot of the kernel panic is below.

 http://mova.org/~cheusov/pub/screenshots/kernel_panic2.jpg

 Is this known problem already fixed in latest kernels?

Do you think it is similar to this one?

http://mirrors.ch3rry.be/openvz/old/genkernel-x86_64-2.6.32-openvz-057_crashlog.jpg

This one seemed to be about compilation with another gcc compiler
different then 4.4.

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
http://lists.openvz.org/mailman/listinfo/users


Re: [Users] vzlist command to show the second IP address of venet0:1?

2012-11-21 Thread Benjamin Henrion
On Fri, Nov 16, 2012 at 12:12 PM, Dragomir Zhelev dr...@delta.bg wrote:

 vzlist -o ip

vzlist -o ctid,hostname,ip -a

You will see both IPs if ip is the last argument of the options field.

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software patents in
Europe, the patent establishment changed its strategy. Instead of explicitly
seeking to sanction the patentability of software, they are now seeking to
create a central European patent court, which would establish and enforce
patentability rules in their favor, without any possibility of correction by
competing courts or democratically elected legislators.
___
Users mailing list
Users@openvz.org
http://lists.openvz.org/mailman/listinfo/users


[Users] vzlist command to show the second IP address of venet0:1?

2012-11-16 Thread Benjamin Henrion
Hi,

I am running an openvz container with venet0 and venet0:1 interfaces,
is there a way in vzlist to display the second IP address?

Best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
http://lists.openvz.org/mailman/listinfo/users


[Users] Fwd: [FOSDEM] Virtualization Devroom CFP @ FOSDEM 2013

2012-11-15 Thread Benjamin Henrion
Anyone coming to FOSDEM?

I am thinking about proposing a talk about some return of experience
over OpenVZ.

-- Forwarded message --
From: Lars Kurth lars.ku...@xen.org
Date: Thu, Nov 15, 2012 at 2:02 PM
Subject: [FOSDEM] Virtualization Devroom CFP @ FOSDEM 2013
To: fos...@lists.fosdem.org


Greetings,

The organizers of the Virtualization devroom at FOSDEM 2013
invite you to submit a session proposal. The purpose of this
devroom is to serve as a meeting point for virtualization
projects, including a unique opportunity for discussion and
collaboration between developers from different projects.

This devroom will focus on open source virtualization
projects. All developers who want to present their ideas and
software at Virtualization DevRoom 2013 are welcome, provided
that:

* Their project is related to virtualization
* They join the devroom as developers. Developers working for
  companies, public/private agencies or universities speak
  for themselves and not for their employer. OSVC2012 is
  about how to develop more effectivevirtualization
  solutions (ideas and code, not marketing)
* The code for their project must have been released under a
  free software or open source license (its license must meet
  the FSF definition of Free Software or the OSI definition
  of Open Source)

Topics covered will include, but not limited to:
* Machine virtualization (e.g. KVM, Xen, VirtualBox, ...)
* Network virtualization (e.g. openvstack, Open vSwitch,
  vale, vde, ...)
* Process level virtualization, flexible kernels (e.g. rump
  anykernel, view-os, ...)
* Virt management (e.g. ganeti, libvirt, ovirt, XCP, ...)

For more information see http://osvc.v2.cs.unibo.it

If you would like some help refining your proposal, or would
like to discuss what topics are most appropriate for this
devroom, please use the virt-devroom at lists.fosdem.org
https://lists.fosdem.org/listinfo mailing list.

The virt devroom will last for one day: Saturday, February 2,
2013. Talks will last 25 minutes (including QA) and will start
at every full half hour.

To submit a CFP send your proposal to virt-devroom at
lists.fosdem.org https://lists.fosdem.org/listinfo
and include the information listed in the requested in CFP
section of http://osvc.v2.cs.unibo.it to your proposal.

The deadline for submissions is Friday, December 16, 2012.

Thank you,

--
Virt Devroom Organizers
___
FOSDEM mailing list
fos...@lists.fosdem.org
https://lists.fosdem.org/listinfo/fosdem


-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
http://lists.openvz.org/mailman/listinfo/users


Re: [Users] OpenWRT OpenVZ containers

2012-11-05 Thread Benjamin Henrion
On Mon, Nov 5, 2012 at 3:12 PM, Benjamin Henrion b...@udev.org wrote:
 On Mon, Nov 5, 2012 at 2:48 PM, Kir Kolyshkin k...@openvz.org wrote:
 Benjamin,

 Could you send me a patch for this (against the latest vzctl git, preferably
 in a git format-patch format)? I will then review and merge.

 Will try this evening to install the latest GIT vzctl to test if it works...

Recompiled vzctl-, still works fine.

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
http://lists.openvz.org/mailman/listinfo/users


[Users] reboot in CT still does not work

2012-10-10 Thread Benjamin Henrion
Hi,

Does anybody who has the command reboot working inside a CT can post his config?

I have been trying ALLOWREBOOT=yes parameter, the CT does not come back.

Best,

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] reboot in CT still does not work

2012-10-10 Thread Benjamin Henrion
On Wed, Oct 10, 2012 at 5:29 PM, Kir Kolyshkin k...@openvz.org wrote:
 On 10/10/2012 05:46 PM, Benjamin Henrion wrote:

 Hi,

 Does anybody who has the command reboot working inside a CT can post his
 config?


 It is working for me, and I don't have any bug reports stating otherwise
 (except for one, see below).

 Since your report is a bit low on details, let's check it step by step
 together.

 1. If you have Fedora 17 inside your CT, this is a known issue, see bug
 #2336
 http://bugzilla.openvz.org/show_bug.cgi?id=2336

 2. Since vzctl version 3.0.25, released in December 2010, reboot is
 implemented via
 vzeventd daemon and a relevant kernel event mechanism. So, make sure that
 - kernel 028stab069.5 or later is used
 - vzeventd is running, and check its log (it writes to /var/log/vzctl.log
 with vzeventd prefix)


 3. If needed, you can run vzeventd in foreground with more verbose logging.
 See vzeventd(8) for more details.

This daemon was not running, so it works perfectly now!

Thanks again, maybe that would be worth to have it documented on the wiki.

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] porting openwrt to openvz

2012-09-30 Thread Benjamin Henrion
Hi,

I am having trouble to configure the venet0 interface inside an openwrt rootfs:

http://www.zoobab.com/openwrt-openvz-template

Any idea how to configure the venet0?

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Kernel crash 2.6.32.61.2

2012-09-21 Thread Benjamin Henrion
Hi,

I managed to have a kernel panic with the following kernel:

http://mirrors.ch3rry.be/openvz/kernel/packages/sys-kernel/linux-openvz-2.6.32.61.2.tbz2

I stopped the /etc/init.d/vz process, and then try to start a
container, and then the kernel crashes:


* 15:19 zoobab@hn-p104 ~% sudo zsh
* 15:19 root@hn-p104 /home/zoobab# /etc/init.d/vz stop
 * Shutting down CT 1042 ...
 * Shutting down CT 1041 ...

 * Bringing down interface venet0 ...

  [ ok ]
* 15:19 root@hn-p104 /home/zoobab#
* 15:19 root@hn-p104 /home/zoobab# vzctl start 1041
Starting container ...
Container is mounted
Adding IP address(es): 80.65.132.187
Unable to add IP 80.65.132.187: Inappropriate ioctl for device
Unable to del IP 80.65.132.187: Inappropriate ioctl for device
Container start failed (try to check kernel messages, e.g. dmesg | tail)
Stopping container ...


Message from syslogd@hn-p104 at Sep 21 15:20:00 ...
 kernel:[95079.766188] Kernel panic - not syncing: Fatal exception

Message from syslogd@hn-p104 at Sep 21 15:20:00 ...
 kernel:[95079.766188] Kernel panic - not syncing: Fatal exception


I will try to have the full console to see if I can grab more kernel messages.

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] Re: swap unlimited on the CT?

2012-09-19 Thread Benjamin Henrion
On Thu, Sep 13, 2012 at 5:36 PM, Kir Kolyshkin k...@openvz.org wrote:
 On 13 September 2012 17:20, Benjamin Henrion b...@udev.org wrote:
 On Thu, Sep 13, 2012 at 3:06 PM, Benjamin Henrion b...@udev.org wrote:
 Hi,

 I am struggling to setup a container with unlimited parameters,
 including the swap.

 I put in my config:

 PHYSPAGES=unlimited
 SWAPPAGES=unlimited

 Ok found the solution, apparently, commenting SWAPPAGES or removing it
 from the config makes the CT to have access to the whole swap of the
 HN.

 Which is different from setting it to unlimited. Strange, but it works...

 Strange indeed. Can you please revert back to config when it was not
 working as expected, restart CT and then provide the following:

 - cat /etc/vz/conf/$CTID.conf
 - cat /proc/bc/$CTID/resources
 - uname -a
 - vzctl --version

Here it is with 16G hardcoded, I would like to have it floating so
that I do not have to template it for all the hosts:
=
$ cat /etc/vz/conf/$CTID.conf
# 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:unlimited
TCPRCVBUF=4611686018427387903:unlimited
OTHERSOCKBUF=4611686018427387903:unlimited
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
SWAPPAGES=16G

# Disk quota parameters (in form of softlimit:hardlimit)
DISK_QUOTA=no
IP_ADDRESS=192.168.20.101
HOSTNAME=spear
VE_ROOT=/vz/root/$VEID
VE_PRIVATE=/vz/private/$VEID
OSTEMPLATE=openvz-20120912145112-stage3-amd64-20120614
ORIGIN_SAMPLE=unlimited
ONBOOT=yes
=
* 14:25 root@hn-101 /etc/vz# vzctl --version
vzctl version 3.0.29.3
* 14:25 root@hn-101 /etc/vz# uname -a
Linux hn-101 2.6.32-openvz-061.2 #1 SMP Tue Sep 11 09:11:46 UTC 2012
x86_64 Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz GenuineIntel GNU/Linux
=
* 14:26 root@hn-101 /etc/vz# cat /proc/bc/1011/resources
kmemsize141938497153149440
9223372036854775807  92233720368547758070
lockedpages 00
9223372036854775807  92233720368547758070
privvmpages  21028812 21323185
9223372036854775807  92233720368547758070
shmpages  5243528  5244184
9223372036854775807  92233720368547758070
numproc78  156
9223372036854775807  92233720368547758070
physpages   81651   106395
   0  92233720368547758070
vmguarpages 00
9223372036854775807  92233720368547758070
oomguarpages1979419794
9223372036854775807  92233720368547758070
numtcpsock 69   71
1801439850948198 18014398509481980
numflock1   11
9223372036854775807  92233720368547758070
numpty  15
9223372036854775807  92233720368547758070
numsiginfo  0   90
9223372036854775807  92233720368547758070
tcpsndbuf 1284152  1378024
4611686018427387903  92233720368547758070
tcprcvbuf 1130496  1171984
4611686018427387903  92233720368547758070
othersockbuf   191896   225968
4611686018427387903  92233720368547758070
dgramrcvbuf 033032
9223372036854775807  92233720368547758070
numothersock  233  256
1801439850948198 18014398509481980
dcachesize  114319192121356647
9223372036854775807  92233720368547758070
numfile   502 1100
9223372036854775807  92233720368547758070
numiptent  10   10
9223372036854775807  92233720368547758070
swappages   00
 4194304  4194304

[Users] swap unlimited on the CT?

2012-09-13 Thread Benjamin Henrion
Hi,

I am struggling to setup a container with unlimited parameters,
including the swap.

I put in my config:

PHYSPAGES=unlimited
SWAPPAGES=unlimited

But the swap stays at zero.

Any idea how to have all the swap of the HN on the CT, if possible by
not calculating the amount by hand?

Best,

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Re: swap unlimited on the CT?

2012-09-13 Thread Benjamin Henrion
On Thu, Sep 13, 2012 at 3:06 PM, Benjamin Henrion b...@udev.org wrote:
 Hi,

 I am struggling to setup a container with unlimited parameters,
 including the swap.

 I put in my config:

 PHYSPAGES=unlimited
 SWAPPAGES=unlimited

Ok found the solution, apparently, commenting SWAPPAGES or removing it
from the config makes the CT to have access to the whole swap of the
HN.

Which is different from setting it to unlimited. Strange, but it works...

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Looking for Gentoo ebuild for sys-kernel/openvz-sources-2.6.32.57.1

2012-08-31 Thread Benjamin Henrion
Hi,

I am looking for this openvz kernel ebuild for gentoo:

https://bugs.gentoo.org/show_bug.cgi?id=427286

Any idea where it is?

It builds this openvz kernel:

http://wiki.openvz.org/Download/kernel/rhel6/042stab057.1

Best,

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] wiki.openvz.org loads static.openvz.org, which requires a password

2012-08-23 Thread Benjamin Henrion
Hi,

wiki.openvz.org loads static.openvz.org, which requires a password,
and prompts my browser for a login/pwd.

Have you changed something?

Best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] vzdump exclude path syntax?

2012-07-11 Thread Benjamin Henrion
Hi,

I am tryin to dump a VZ without a certain directory /mydir with
vzdump, but none of my attempts to use the option --exclude-path
works:

$ vzdump --exclude-path '/var/lib/vz/private/30098594/db/' 30098594

Any idea what is the right syntax?

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] Re: cat: /proc/self/mountinfo: Cannot allocate memory

2012-07-10 Thread Benjamin Henrion
On Thu, Jun 7, 2012 at 5:30 PM, Benjamin Henrion b...@udev.org wrote:
 On Tue, Mar 13, 2012 at 11:20 AM, Andrew Vagin ava...@parallels.com wrote:

 Is this patch published somewhere in the GIT?

 It's published, but it's not in GIT. You can find this code in source rpms:
 http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab049.6/vzkernel-2.6.32-042stab049.6.src.rpm

 Thank you for not using GIT :-)

 Otherwise the bug is fixed in Debian kernel 2.6.32-45, I tried it with
 Sabayon openvz rootfs and Debian squeeze rootfs, locate and updatedb
 works now like a charm.

I was wrong, containers inside Debian kernel 2.6.32-45 still gives:

#  cat /proc/self/mountinfo
cat: /proc/self/mountinfo: Cannot allocate memory

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] Re: cat: /proc/self/mountinfo: Cannot allocate memory

2012-07-10 Thread Benjamin Henrion
On Tue, Jul 10, 2012 at 5:09 PM,  massimiliano.sciab...@kiiama.com wrote:
 Hi,
 maybe I missed the beginning of the thread...
 The Cannot allocate memory message may depend on a shortage of resources
 (kmemsize, vmguarpages, and others).
 Simply forgive me if this is not the case

No it is this bug:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655385

It has been fixed by a patch, but not applied to debian kernels.

I am trying this repo at the moment to see if it fixes my problem:

http://deb.clazzes.org/debian/sources.list.d/squeeze/squeeze-contrib-1.list

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] Re: cat: /proc/self/mountinfo: Cannot allocate memory

2012-07-10 Thread Benjamin Henrion
On Tue, Jul 10, 2012 at 5:27 PM, Benjamin Henrion b...@udev.org wrote:
 On Tue, Jul 10, 2012 at 5:09 PM,  massimiliano.sciab...@kiiama.com wrote:
 Hi,
 maybe I missed the beginning of the thread...
 The Cannot allocate memory message may depend on a shortage of resources
 (kmemsize, vmguarpages, and others).
 Simply forgive me if this is not the case

 No it is this bug:

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655385

 It has been fixed by a patch, but not applied to debian kernels.

 I am trying this repo at the moment to see if it fixes my problem:

 http://deb.clazzes.org/debian/sources.list.d/squeeze/squeeze-contrib-1.list

This kernel has the patch, while the debian one in squeeze does not have it.

It solved my problem, let's see if the debian guys can update.

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] ezvzdump+ccollect

2012-07-05 Thread Benjamin Henrion
Hi,

I have quickly hacked ezvzdump yesterday to add ccollect (some simpler
rsnapshot in bash) to snapshot CTs with rsync+hardlinks, where only
the changes are stored on the disk.

To quickly roll back to a previous snapshot of the VZ I have to create
a tar file of the directory, and use vzrestore.

If anyone interested by my hack I can try to push the changes to github.

My question is:

Is there a simpler alternative to vzrestore which would simply support
directories?

The time to tar/untar is a waste in my case.

Best,

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] Current status of ARM compatability

2012-07-04 Thread Benjamin Henrion
On Wed, Jul 4, 2012 at 3:47 PM, ROBBIE SIMPSON
07008...@student.gla.ac.uk wrote:
 Hi all,

 I'm currently attempting to get OpenVZ up and running on an ARM device (the 
 Raspberry Pi), but am encountering a number of difficulties.

 I started by downloading and attempting to compile the current version of the 
 kernel (vzkernel-2.6.32-042stab057.1) but encountered a number of errors 
 (missing arguments, duplicated declarations etc) which lead me to think the 
 ARM specific sections are not currently maintained. While investigating this 
 I also found a post stating that live migration (which we are particularly 
 interested in) is only supported on x86/x86-64.

 So therefore I would ask:

 a) Does the current version of the kernel actually support ARM? / Were any 
 previous kernel versions known to support ARM ?

 b) What level of effort (roughly) would be needed to enable live migration 
 support on ARM?

It is working on ARM for some older kernel versions:

http://openvz.livejournal.com/24651.html?thread=79947

I would ask what is the oldest kernel version pretty close to 2.6.32
that would compile for the Rpi?

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.

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


[Users] funtoo openvz images fails to work with vzctl enter

2012-06-18 Thread Benjamin Henrion
Hi,

Just filed this bug at Funtoo about their openvz images:

http://bugs.funtoo.org/browse/FL-33


http://ftp.heanet.ie/mirrors/funtoo/funtoo-stable/openvz/x86-64bit/funtoo-stable-generic_64-2012-01-22.tar.xz
http://ftp.heanet.ie/mirrors/funtoo/funtoo-current/openvz/x86-64bit/funtoo-current-generic_64-2012-05-22.tar.xz

Those images suffer from the fact that I cannot do vzctl enter 100.

Can anyone try to reproduce that?

On my debian HN, I made a symlink to gentoo.conf.

Best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] Re: cat: /proc/self/mountinfo: Cannot allocate memory

2012-06-07 Thread Benjamin Henrion
On Tue, Mar 13, 2012 at 11:20 AM, Andrew Vagin ava...@parallels.com wrote:

 Is this patch published somewhere in the GIT?

 It's published, but it's not in GIT. You can find this code in source rpms:
 http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab049.6/vzkernel-2.6.32-042stab049.6.src.rpm

Thank you for not using GIT :-)

Otherwise the bug is fixed in Debian kernel 2.6.32-45, I tried it with
Sabayon openvz rootfs and Debian squeeze rootfs, locate and updatedb
works now like a charm.

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] Re: cat: /proc/self/mountinfo: Cannot allocate memory

2012-03-13 Thread Benjamin Henrion
2012/3/13 Andrew Vagin ava...@parallels.com:
 Hello again

 This bug is fixed in latest OpenVZ RHEL6 kernel. Actually RHEL6 kernel is
 fully supported by OpenVZ team now, it has better performance and a few new
 features like vswap. Enjoy.

 [root@dhcp-10-30-22-214 /]# cat /proc/self/mountinfo
 33 26 0:21 /private/101 / rw,relatime - simfs /vz/private/101
 rw,usrquota,grpquota
 40 33 0:25 / /proc rw,relatime - proc proc rw
 41 33 0:23 / /sys rw,relatime - sysfs sysfs rw
 42 33 0:27 / /dev/pts rw,relatime - devpts none rw,mode=600,ptmxmode=000
 43 40 0:28 / /proc/sys/fs/binfmt_misc rw,relatime - binfmt_misc none rw
 [root@dhcp-10-30-22-214 /]# uname -a
 Linux dhcp-10-30-22-214.sw.ru 2.6.32-042stab049.6 #1 SMP Mon Feb 6 19:17:43
 MSK 2012 x86_64 x86_64 x86_64 GNU/Linux

 You can use latest RHEL6-based kernel builds on your Debian or Ubuntu
 machine. Here's how.

Can you give a pointer to the source patches fixing this bug?

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] Re: cat: /proc/self/mountinfo: Cannot allocate memory

2012-03-13 Thread Benjamin Henrion
2012/3/13 Andrew Vagin ava...@parallels.com:
 On 03/13/2012 01:09 PM, Benjamin Henrion wrote:

 2012/3/13 Andrew Vaginava...@parallels.com:

 Hello again

 This bug is fixed in latest OpenVZ RHEL6 kernel. Actually RHEL6 kernel is
 fully supported by OpenVZ team now, it has better performance and a few
 new
 features like vswap. Enjoy.

 [root@dhcp-10-30-22-214 /]# cat /proc/self/mountinfo
 33 26 0:21 /private/101 / rw,relatime - simfs /vz/private/101
 rw,usrquota,grpquota
 40 33 0:25 / /proc rw,relatime - proc proc rw
 41 33 0:23 / /sys rw,relatime - sysfs sysfs rw
 42 33 0:27 / /dev/pts rw,relatime - devpts none rw,mode=600,ptmxmode=000
 43 40 0:28 / /proc/sys/fs/binfmt_misc rw,relatime - binfmt_misc none rw
 [root@dhcp-10-30-22-214 /]# uname -a
 Linux dhcp-10-30-22-214.sw.ru 2.6.32-042stab049.6 #1 SMP Mon Feb 6
 19:17:43
 MSK 2012 x86_64 x86_64 x86_64 GNU/Linux

 You can use latest RHEL6-based kernel builds on your Debian or Ubuntu
 machine. Here's how.

 Can you give a pointer to the source patches fixing this bug?

Is this patch published somewhere in the GIT?

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] cat: /proc/self/mountinfo: Cannot allocate memory

2012-02-14 Thread Benjamin Henrion
Hi,

I am trying updatedb on a gentoo openvz container, the HN is a debian
squeeze kernel.

Updatedb segfaults, and when I strace it, I find that:

# cat /proc/self/mountinfo
cat: /proc/self/mountinfo: Cannot allocate memory

Any idea how to fix that?

There is a bug filed here:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655385

But I have no idea how to fix it.

Best,

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Re: cat: /proc/self/mountinfo: Cannot allocate memory

2012-02-14 Thread Benjamin Henrion
On Tue, Feb 14, 2012 at 11:26 AM, Benjamin Henrion b...@udev.org wrote:
 Hi,

 I am trying updatedb on a gentoo openvz container, the HN is a debian
 squeeze kernel.

 Updatedb segfaults, and when I strace it, I find that:

 # cat /proc/self/mountinfo
 cat: /proc/self/mountinfo: Cannot allocate memory

 Any idea how to fix that?

 There is a bug filed here:

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655385

 But I have no idea how to fix it.

I see there was a kernel crash here, that might explain something:

[9787206.796392] CT: 1004: started
[9787207.629687] [ cut here ]
[9787207.629721] WARNING: at
/build/buildd-linux-2.6_2.6.32-35-amd64-aZSlKL/linux-2.6-2.6.32/debian/build/source_amd64_openvz/mm/page_alloc.c:1828
__alloc_pages_nodemask+0x183/0x6ab()
[9787207.629795] Hardware name: MS-7522
[9787207.629817] Modules linked in: nf_conntrack_ipv4 nf_defrag_ipv4
xt_state nf_conntrack vzethdev vznetdev simfs vzrst vzcpt vzdquota
vzmon vzdev xt_tcpudp xt_length xt_hl xt_tcpmss xt_TCPMSS
iptable_mangle iptable_filter xt_multiport xt_limit xt_dscp ipt_REJECT
ip_tables x_tables acpi_cpufreq cpufreq_powersave cpufreq_userspace
cpufreq_conservative cpufreq_stats vzevent loop snd_hda_codec_atihdmi
radeon snd_hda_intel snd_hda_codec ttm snd_hwdep snd_pcm snd_timer snd
soundcore drm_kms_helper drm i2c_algo_bit pcspkr i2c_i801 i2c_core
evdev button wmi snd_page_alloc ext3 jbd mbcache dm_mod aacraid
3w_9xxx 3w_ raid10 raid456 async_raid6_recov async_pq raid6_pq
async_xor xor async_memcpy async_tx raid1 raid0 md_mod sata_nv
sata_sil sata_via sd_mod crc_t10dif ahci libata uhci_hcd scsi_mod
ehci_hcd r8169 mii usbcore nls_base thermal processor thermal_sys
[last unloaded: scsi_wait_scan]
[9787207.630273] Pid: 10521, comm: fuser Not tainted 2.6.32-5-openvz-amd64 #1
[9787207.630302] Call Trace:
[9787207.630326]  [810bcdd0] ? __alloc_pages_nodemask+0x183/0x6ab
[9787207.630355]  [810bcdd0] ? __alloc_pages_nodemask+0x183/0x6ab
[9787207.630385]  [8104e0ac] ? warn_slowpath_common+0x77/0xa3
[9787207.630415]  [810bcdd0] ? __alloc_pages_nodemask+0x183/0x6ab
[9787207.630445]  [81100141] ? __d_path+0x116/0x1e0
[9787207.630472]  [810bc291] ? __get_free_pages+0x9/0x38
[9787207.630501]  [810e8f29] ? __kmalloc+0x3f/0x17f
[9787207.630528]  [81108d40] ? seq_read+0x226/0x388
[9787207.630556]  [810f1b86] ? vfs_read+0xa6/0xff
[9787207.630582]  [810f1cf9] ? sys_read+0x49/0xc4
[9787207.630609]  [81010c12] ? system_call_fastpath+0x16/0x1b
[9787207.630637] ---[ end trace eeab2b2862ea622c ]---
[9787305.628531] CT: 1004: stopped

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Re: cat: /proc/self/mountinfo: Cannot allocate memory

2012-02-14 Thread Benjamin Henrion
On Tue, Feb 14, 2012 at 11:48 AM, Benjamin Henrion b...@udev.org wrote:
 On Tue, Feb 14, 2012 at 11:29 AM, Benjamin Henrion b...@udev.org wrote:
 On Tue, Feb 14, 2012 at 11:26 AM, Benjamin Henrion b...@udev.org wrote:
 Hi,

 I am trying updatedb on a gentoo openvz container, the HN is a debian
 squeeze kernel.

 Updatedb segfaults, and when I strace it, I find that:

 # cat /proc/self/mountinfo
 cat: /proc/self/mountinfo: Cannot allocate memory

 Any idea how to fix that?

 There is a bug filed here:

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655385

 But I have no idea how to fix it.

 I see there was a kernel crash here, that might explain something:

 In fact, the updatedb **triggered** the kernel module crash. Not the
 other way around.

I tried with the latest update from debian:

Linux version 2.6.32-5-openvz-amd64 (Debian 2.6.32-41) (b...@decadent.org.uk)

Same kernel crash.

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Openvz at FOSDEM video

2012-02-14 Thread Benjamin Henrion
Openvz at FOSDEM video:

http://ftp.heanet.ie/mirrors/fosdem-video/2012/maintracks/janson/Linux_containers_and_OpenVZ.webm

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] vzctl create 994 --ostemplate mycustomtemplate fails with Disk quota exceeded

2012-01-30 Thread Benjamin Henrion
Hi,

I am creating a new VZ with vzctl create 994 --ostemplate, and it
fails with this kind of error:

==
$ vzctl create 994 --ostemplate mycustomtemplate
tar: ./usr/lib/python2.6/dist-packages/IPython/frontend/process/__init__.py:
Cannot create symlink to
`../../../../../../share/pyshared/IPython/frontend/process/__init__.py':
Disk quota exceeded
==

Any idea?

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Change the size of /tmp in openvz?

2012-01-10 Thread Benjamin Henrion
Hi,

I am trying to change the size of the /tmp directory which is currently of 1GB:


root@bob /etc/vz/dists [41]# vzctl enter 998
entered into CT 998
root@testing:/# mount
/dev/simfs on / type simfs (rw,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,relatime,size=5120k,mode=755)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=490536k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=981072k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,relatime,size=981072k)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
root@testing:/#


Any idea where to change that value of 981072k? I am digging into
the config files and elsewhere, but I cannot figure out from where
this value comes from.

Best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Openvz at FOSDEM

2012-01-04 Thread Benjamin Henrion
Hi,

Just saw there will a talk about openvz at FOSDEM:

http://fosdem.org/2012/schedule/event/hypervisors_openvz

If you want to share experience with OpenVZ, maybe people of this list
can meet somewhere after the talk?

Best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Running puppetd in openvz displays a warning

2012-01-04 Thread Benjamin Henrion
Hi,

I am running puppet clients in openvz containers, but I get a warning
message like this:

=
sabayon / # puppetd --test
Could not retrieve selinux: Cannot allocate memory - /proc/self/mountinfo
Could not retrieve selinux: Cannot allocate memory - /proc/self/mountinfo
Could not retrieve selinux: Cannot allocate memory - /proc/self/mountinfo
Could not retrieve selinux: Cannot allocate memory - /proc/self/mountinfo
Could not retrieve selinux: Cannot allocate memory - /proc/self/mountinfo
Could not retrieve selinux: Cannot allocate memory - /proc/self/mountinfo
Could not retrieve selinux: Cannot allocate memory - /proc/self/mountinfo
info: Caching catalog for sabayon
info: Applying configuration version '1325668910'
notice: Finished catalog run in 0.01 seconds
=

I compiled puppetd without the selinux use flag, any idea how to get
rid of this warning?

Best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] /usr/sbin/vzctl: undefined symbol: get_set_opt..failed

2012-01-03 Thread Benjamin Henrion
Hi,

I am hiting a bug with vzctl, when I do a vzctl -a, it hangs, and a
similar behaviour when I restart /etc/init.d/vz:

==
root@molotov /etc/vz/dists [42]# /etc/init.d/vz restart
Bringing down interface venet0: ..done
Stopping OpenVZ: ..done
Starting OpenVZ: ..done
Bringing up interface venet0: ..done
- Warning: IP forwarding is not enabled
vzctl set 0 --cpuunits 1000 failed: /usr/sbin/vzctl: symbol lookup
error: /usr/sbin/vzctl: undefined symbol: get_set_opt..failed
^[[A
==

I reinstalled the openvz kernel, vzctl and vzdump, no change of behaviour.

Any idea what this might be?

Maybe a libc6 problem?

Best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Re: /usr/sbin/vzctl: undefined symbol: get_set_opt..failed

2012-01-03 Thread Benjamin Henrion
On Tue, Jan 3, 2012 at 2:50 PM, Benjamin Henrion b...@udev.org wrote:
 Hi,

 I am hiting a bug with vzctl, when I do a vzctl -a, it hangs, and a
 similar behaviour when I restart /etc/init.d/vz:

 ==
 root@molotov /etc/vz/dists [42]# /etc/init.d/vz restart
 Bringing down interface venet0: ..done
 Stopping OpenVZ: ..done
 Starting OpenVZ: ..done
 Bringing up interface venet0: ..done
 - Warning: IP forwarding is not enabled
 vzctl set 0 --cpuunits 1000 failed: /usr/sbin/vzctl: symbol lookup
 error: /usr/sbin/vzctl: undefined symbol: get_set_opt..failed
 ^[[A
 ==

 I reinstalled the openvz kernel, vzctl and vzdump, no change of behaviour.

 Any idea what this might be?

 Maybe a libc6 problem?

I recompiled a vzctl binary from the git master trunk, moved it to
/usr/sbin, and it works now.

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] virt-manager and openvz

2011-12-26 Thread Benjamin Henrion
Hi,

Does anybody on this list is using virt-manager and openvz?

I am trying on debian, ubuntu, kubuntu and gentoo, none of them
displays the openvz option.

Any idea?

Best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] Re: Question About Debian Squeeze OVZ Kernel

2011-11-10 Thread Benjamin Henrion
On Thu, Nov 10, 2011 at 11:52 AM, Kir Kolyshkin k...@openvz.org wrote:
 On 11/10/2011 03:28 AM, JR Richardson wrote:

 This was great feedback gentleman. I really appreciate your time.  I think
 I'm leaning toward using the RH kernel on Debian, checking out proxmox
 now.

 You can use latest RHEL6-based kernel builds on your Debian or Ubuntu
 machine. Here's how.


 1. Get the latest kernel from either Download/kernel/rhel6-testing or
 Download/kernel/rhel6. You need vzkernel and vzkernel-devel packages only,
 with the -devel being optional.

 2. Install fakeroot and alien:
  apt-get install alien fakeroot

 3. Convert these two rpms to debs using alien. This is
  fakeroot alien --to-deb --scripts --keep-version vzkernel-*.rpm

It would be better if the OpenVZ developers contribute patches to the
official debian kernel.

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.

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


[Users] Recompile the openvz debian kernel (2.6.32)?

2011-10-17 Thread Benjamin Henrion
Hi,

I am trying to recompile the debian kernel with openvz patches, but it
compiles me all the flavors of the kernel:

=
$ ls -1
firmware-linux-free_2.6.32-35_all.deb
linux-2.6-2.6.32
linux-2.6_2.6.32-35_amd64.build
linux-2.6_2.6.32-35_amd64.changes
linux-2.6_2.6.32-35.diff.gz
linux-2.6_2.6.32-35.dsc
linux-2.6_2.6.32.orig.tar.gz
linux-base_2.6.32-35_all.deb
linux-doc-2.6.32_2.6.32-35_all.deb
linux-headers-2.6.32-5-all_2.6.32-35_amd64.deb
linux-headers-2.6.32-5-all-amd64_2.6.32-35_amd64.deb
linux-headers-2.6.32-5-amd64_2.6.32-35_amd64.deb
linux-headers-2.6.32-5-common_2.6.32-35_amd64.deb
linux-headers-2.6.32-5-common-openvz_2.6.32-35_amd64.deb
linux-headers-2.6.32-5-common-vserver_2.6.32-35_amd64.deb
linux-headers-2.6.32-5-common-xen_2.6.32-35_amd64.deb
linux-headers-2.6.32-5-openvz-amd64_2.6.32-35_amd64.deb
linux-headers-2.6.32-5-vserver-amd64_2.6.32-35_amd64.deb
linux-headers-2.6.32-5-xen-amd64_2.6.32-35_amd64.deb
linux-image-2.6.32-5-amd64_2.6.32-35_amd64.deb
linux-image-2.6.32-5-amd64-dbg_2.6.32-35_amd64.deb
linux-image-2.6.32-5-openvz-amd64_2.6.32-35_amd64.deb
linux-image-2.6.32-5-openvz-amd64-dbg_2.6.32-35_amd64.deb
linux-image-2.6.32-5-vserver-amd64_2.6.32-35_amd64.deb
linux-image-2.6.32-5-vserver-amd64-dbg_2.6.32-35_amd64.deb
linux-image-2.6.32-5-xen-amd64_2.6.32-35_amd64.deb
linux-image-2.6.32-5-xen-amd64-dbg_2.6.32-35_amd64.deb
linux-libc-dev_2.6.32-35_amd64.deb
linux-manual-2.6.32_2.6.32-35_all.deb
linux-patch-debian-2.6.32_2.6.32-35_all.deb
linux-source-2.6.32_2.6.32-10.00.Custom_amd64.build
linux-source-2.6.32_2.6.32-35_all.deb
linux-support-2.6.32-5_2.6.32-35_all.deb
linux-tools-2.6.32_2.6.32-35_amd64.deb
xen-linux-system-2.6.32-5-xen-amd64_2.6.32-35_amd64.deb
=

Any idea how to compile only the openvz flavor?

Is it an option of make-kpkg?

Best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] /var/lock/subsys directory missing on openvz debian squeeze

2011-09-29 Thread Benjamin Henrion
Hi,

I am using openvz kernel on debian squeeze, when I do an
/etc/init.d/vz start, I got some errors poping up:

=
12:38 root@abcde /var/lib/vz/lock# /etc/init.d/vz start
/etc/init.d/vz: line 347: /var/lock/subsys/vz_lock.6315: No such file
or directory
Can't write to /var/lock/subsys/vz_lock.6315
cat: /var/lock/subsys/vz_lock: No such file or directory
/etc/init.d/vz: line 362: /var/lock/subsys/vz_lock: No such file or directory
Starting OpenVZ: ..done
Bringing up interface venet0: ..done
Starting CT 40042237: ..done
touch: cannot touch `/var/lock/subsys/vz': No such file or directory
=

I just created the missing dir:

mkdir -p /var/lock/subsys

And it worked again.

Any debian guys on the list?

Best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] vztcl runscript and keep the same env variables?

2011-09-25 Thread Benjamin Henrion
Hi,

In a simple bash script named test.sh, I used to call another shell
script part1.sh keeping the same Env variables like this:

$head -n 1 test.sh
. ./part1.sh

Now, I would like to do the same with vzctl runscript:

$head -n 1 test.sh
vzctl runscript 1110 part1.sh

How do I do that?

Best,

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Problems with quota and hardlinks

2011-08-25 Thread Benjamin Henrion
Hi,

I have experienced a problem with ccollect, which is a tool similar to
the timemachine, which uses hardlinks.

At some point, the container in which ccollect runs says no more
space, but there are still plenty of free inodes, but no space with
df.

Any idea of the quota of openvz uses inodes or not?

Best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] TinyVZ 0.7 released

2011-08-21 Thread Benjamin Henrion
On Sun, Aug 21, 2011 at 12:36 AM, Sam Trenholme
strenholme.use...@gmail.com wrote:
 I have released TinyVZ 0.7 today.  This will be my last TinyVZ release
 for the foreseeable future.

 TinyVZ 0.7 is a tiny little OpenVZ template for making OpenVZ
 containers that use the lowest amount of memory and hard disk space
 possible.

 This is a self-hosting template with all source code; it is possible
 to compile the entire system inside of the template.  Look in the
 build/ directory (inside the template) for source code.

 The main addition to this release of TinyVZ is that it is now possible
 to use the relevant vzctl commands to add or remove an IP, set the
 machine's hostname, determine what nameservers to use, as well as
 setting user's passwords.  As recently discussed on the list, I had to
 add the Bash shell to do this.

 The tarball now contains the template's tarball inside of it; the
 relevant scripts used by vzctl as well as an installation guide
 (README) are also inside the tarball.

 The system is for hard core UNIX/Linux gurus: The only editor is a
 miniature version of vi included with Busybox (actually, I also
 compiled in Busybox's version of the ed editor, for those who feel
 vi pampers the user too much); all configuration is done by editing
 text files.  You will need to compile your own mail server, SSH
 server, web server, or other desired server.

 It can be downloaded here:

 http://samiam.org/TinyVZ/

Just had a quick try, xz compression does not seem to be supported by
vzctl, had to recompress in tar.gz format:

root@mybox /root/zoobab/tmp/TinyVZ-0.7 [51]# vzctl create 889
--ostemplate TinyVZ-0.7-template
Creating container private area (TinyVZ-0.7-template)
Cached OS template
/var/lib/vz/template/cache/TinyVZ-0.7-template.tar.gz not found
Creation of container private area failed

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.

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


Re: [Users] TinyVZ 0.7 released

2011-08-21 Thread Benjamin Henrion
On Sun, Aug 21, 2011 at 12:36 AM, Sam Trenholme
strenholme.use...@gmail.com wrote:
 I have released TinyVZ 0.7 today.  This will be my last TinyVZ release
 for the foreseeable future.

 TinyVZ 0.7 is a tiny little OpenVZ template for making OpenVZ
 containers that use the lowest amount of memory and hard disk space
 possible.

 This is a self-hosting template with all source code; it is possible
 to compile the entire system inside of the template.  Look in the
 build/ directory (inside the template) for source code.

 The main addition to this release of TinyVZ is that it is now possible
 to use the relevant vzctl commands to add or remove an IP, set the
 machine's hostname, determine what nameservers to use, as well as
 setting user's passwords.  As recently discussed on the list, I had to
 add the Bash shell to do this.

 The tarball now contains the template's tarball inside of it; the
 relevant scripts used by vzctl as well as an installation guide
 (README) are also inside the tarball.

 The system is for hard core UNIX/Linux gurus: The only editor is a
 miniature version of vi included with Busybox (actually, I also
 compiled in Busybox's version of the ed editor, for those who feel
 vi pampers the user too much); all configuration is done by editing
 text files.  You will need to compile your own mail server, SSH
 server, web server, or other desired server.

 It can be downloaded here:

 http://samiam.org/TinyVZ/

I just took your bash binary and put into an Openwrt backfire rootfs,
fixed some pts mount, and here it is:

===
root@molotov /var/lib/vz/private [249]# vzctl enter 889
entered into CT 889
  ___ __
 |   |.-.-.-.|  |  |  |..|  |_
 |   -   ||  _  |  -__| ||  |  |  ||   _||   _|
 |___||   __|_|__|__||||__|  ||
  |__| W I R E L E S S   F R E E D O M
 Backfire (10.03.1-RC5, r27608) --
  * 1/3 shot KahluaIn a shot glass, layer Kahlua
  * 1/3 shot Bailey's  on the bottom, then Bailey's,
  * 1/3 shot Vodka then Vodka.
 ---
root@OpenWrt:/#
===

Now I have to create the dists file and scripts to make the network working.

I am on #openvz channel if you want to join.

The memory consumption with openwrt are quite similar, but it is more
extensible.

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.

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


Re: [Users] More on making an OpenVZ template

2011-08-21 Thread Benjamin Henrion
On Sun, Aug 21, 2011 at 4:10 PM, Kir Kolyshkin k...@openvz.org wrote:
 On 08/20/2011 12:18 AM, Sam Trenholme wrote:

 I am continuing the work of making a tiny OpenVZ template.  One
 discovery I have is that, for the OpenVZ tools to work, not only is it
 mandatory for the system to have the Bash shell, but also that /bin/sh
 has to be a symlink to Bash.  This is because the vzctl program
 prepends the contents of the Bash-only
 /etc/vz/dists/scripts/functions script to any script used by the
 container to configure the system, and there does not appear to be any
 way to configure a container to not use this Bash-only script.

 In other words, any OpenVZ template without /bin/sh being an alias for
 Bash can not be configured via the vzctl tools (nor the
 corresponding Proxmox/SolusVM/whataever tools that call vzctl).

 This in mind, the next release of TinyVZ will include the Bash shell.
 I actually prefer Bash over Busybox's ash shell; I *really* miss the
 !$ and !* shortcuts, as well as the history command, when using
 this minimal shell.

 This is one way of doing things. The other way would be to rectify the
 '/etc/dists/scripts/functions' to not be dependent on bash.

 I am currently looking at it, so far I only found that it uses the
 'function' keyword
 which is bashism. With that removed, it looks like it is working fine in
 either dash
 or busybox sh.

 I have committed the patch:
 http://git.openvz.org/?p=vzctl;a=commit;h=f83b28435f582f2f74fb3267b89b061a551b32e2

 And then a few more (to check it works in Debian without /bin/bash):
 http://git.openvz.org/?p=vzctl;a=commit;h=a86beacde8c1fba4002eaf5bf48a535e7d46ffc0
 http://git.openvz.org/?p=vzctl;a=commit;h=382f306cd0865bb4bcafc4f7a4b5cfe2f809296c

I have compiled it, and I can report it works, I have remove the bash
binary I got from tinyvz, and now it enters well in openwrt rootfs (I
have tested with the original vzctl 3.0.24 where it fails to enter if
there is no /bin/bash):

==
root@mybox /root/zoobab/openwrt-openvz [46]# ./vzctl --version
vzctl version 3.0.28.3-70.git.382f306
root@mybox /root/zoobab/openwrt-openvz [40]# ./vzctl enter 889
entered into CT 889


BusyBox v1.15.3 (2011-07-14 17:03:04 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  ___ __
 |   |.-.-.-.|  |  |  |..|  |_
 |   -   ||  _  |  -__| ||  |  |  ||   _||   _|
 |___||   __|_|__|__||||__|  ||
  |__| W I R E L E S S   F R E E D O M
 Backfire (10.03.1-RC5, r27608) --
  * 1/3 shot KahluaIn a shot glass, layer Kahlua
  * 1/3 shot Bailey's  on the bottom, then Bailey's,
  * 1/3 shot Vodka then Vodka.
 ---
root@OpenWrt:/#
==

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.

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


Re: [Users] More on making an OpenVZ template

2011-08-20 Thread Benjamin Henrion
On Fri, Aug 19, 2011 at 10:18 PM, Sam Trenholme
strenholme.use...@gmail.com wrote:
 I am continuing the work of making a tiny OpenVZ template.  One
 discovery I have is that, for the OpenVZ tools to work, not only is it
 mandatory for the system to have the Bash shell, but also that /bin/sh
 has to be a symlink to Bash.  This is because the vzctl program
 prepends the contents of the Bash-only
 /etc/vz/dists/scripts/functions script to any script used by the
 container to configure the system, and there does not appear to be any
 way to configure a container to not use this Bash-only script.

 In other words, any OpenVZ template without /bin/sh being an alias for
 Bash can not be configured via the vzctl tools (nor the
 corresponding Proxmox/SolusVM/whataever tools that call vzctl).

 This in mind, the next release of TinyVZ will include the Bash shell.
 I actually prefer Bash over Busybox's ash shell; I *really* miss the
 !$ and !* shortcuts, as well as the history command, when using
 this minimal shell.

 Since this is an open source project I am not getting paid for, I have
 no timeline of when I will make another TinyVZ release, nor do I
 guarantee I will even make such a release.  Working on TinyVZ has
 taught me a lot about OpenVZ and hopefully is something that is
 useful.

This is a very useful for me, I was about to spend time on an openwrt
container, which does not use bash at all.

Where in the source code of vzctl do you see this requirement?

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.

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


[Users] How to identify the physical machine when you are inside the container?

2011-05-09 Thread Benjamin Henrion
Hi,

Do you have any trick to identify the physical machine (with some kind
of cat /proc/something) when you are inside the container?

I want to just get the hostname of the HN when I am inside the containers.

Any simple of doing it?

Best,

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Assign a container to a dedicated CPU core?

2011-03-28 Thread Benjamin Henrion
Hi,

I wanted to know if OpenVZ could assign all processes of a container
to a single CPU core?

It comes to my mind after reading this article:

http://www.cyberciti.biz/tips/setting-processor-affinity-certain-task-or-process.html

Best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Wiki.openvz.org unreachable?

2011-01-17 Thread Benjamin Henrion
Hi,

The OpenVZ wiki seems to be down:


zoobab@buzek /home/zoobab [2]$ wget wiki.openvz.org
--2011-01-17 14:28:42--  http://wiki.openvz.org/
Resolving wiki.openvz.org... 64.131.90.169
Connecting to wiki.openvz.org|64.131.90.169|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://wiki.openvz.org/Main_Page [following]
--2011-01-17 14:28:42--  http://wiki.openvz.org/Main_Page
Reusing existing connection to wiki.openvz.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 0 [text/html]
Saving to: `index.html'

[ =


  ] 0   --.-K/s   in 0s

2011-01-17 14:28:49 (0.00 B/s) - `index.html' saved [0/0]

zoobab@buzek /home/zoobab [3]$ cat index.html
zoobab@buzek /home/zoobab [4]$


Just FYI.

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Re: Wiki.openvz.org unreachable?

2011-01-17 Thread Benjamin Henrion
On Mon, Jan 17, 2011 at 2:29 PM, Benjamin Henrion b...@udev.org wrote:
 Hi,

 The OpenVZ wiki seems to be down:

 
 zoobab@buzek /home/zoobab [2]$ wget wiki.openvz.org
 --2011-01-17 14:28:42--  http://wiki.openvz.org/
 Resolving wiki.openvz.org... 64.131.90.169
 Connecting to wiki.openvz.org|64.131.90.169|:80... connected.
 HTTP request sent, awaiting response... 301 Moved Permanently
 Location: http://wiki.openvz.org/Main_Page [following]
 --2011-01-17 14:28:42--  http://wiki.openvz.org/Main_Page
 Reusing existing connection to wiki.openvz.org:80.
 HTTP request sent, awaiting response... 200 OK
 Length: 0 [text/html]
 Saving to: `index.html'

    [ =


                      ] 0           --.-K/s   in 0s

 2011-01-17 14:28:49 (0.00 B/s) - `index.html' saved [0/0]

 zoobab@buzek /home/zoobab [3]$ cat index.html
 zoobab@buzek /home/zoobab [4]$
 

Seems to work now...

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.

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


[Users] Simple HTTP proxy for sharing a port on the HN?

2010-12-06 Thread Benjamin Henrion
Hi,

I want to host 3 different webservers into 3 different containers, but
I have only one public IP on the Hardware node.

Does anybody has a simple config of apache in mod_proxy or lighttpd?

Best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Where to upload Squeeze templates?

2010-11-23 Thread Benjamin Henrion
Hi,

I have done some templates for Debian squeeze with the following script:

https://github.com/zoobab/openvz-scripts/blob/master/create-template-debian-squeeze-amd64.sh

Do you know where I can upload them?

Any incoming directory on ftp.openvz.org?

Best,

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] where to find 2.6.32-28 debian kernel?

2010-11-07 Thread Benjamin Henrion
Hi,

I want to install the dzhanibekov version of the kernel, I use debian,
it seems the -28 revision of the kernel has been updated in SID:

http://permalink.gmane.org/gmane.linux.debian.devel.kernel.cvs/11596

I did an update, I can find this metapackage:

http://packages.debian.org/sid/linux-image-2.6-openvz-686

But when I install it, it does not install anything.

Do you know where I can find the -28 deb package?

Best,

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Routing all VZ's traffic through a VPN on the host?

2010-10-29 Thread Benjamin Henrion
Hi,

I am looking on how to route all the traffic coming from the
containers through a VPN interface which is on the hardware node.

Any idea?

I am using venet, not veth interfaces.

Best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] DISK_QUOTA=no and DISKSPACE=unlimited

2010-10-21 Thread Benjamin Henrion
Hi,

I added the following doc to the wiki about the DISKSPACE=unlimited option:

http://wiki.openvz.org/w/index.php?title=Disk_quotacurid=2421diff=9260oldid=8334

I have added DISK_QUOTA=no to the template file:

/etc/vz/conf/ve-unlimited.conf-sample

And applied this template to a container via:

vzctl set 1031 --applyconfig unlimited --save

But the DISK_QUOTA=no was not applied to the container.

I then tried DISKSPACE=unlimited, and it worked.

Can you repoduce this bug?

The option DISKSPACE=unlimited was not documented on the wiki, so
I added it.

Best,

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Re: Kernel crash while moving one container with TUN from one HN to another HN

2010-08-11 Thread Benjamin Henrion
On Tue, Aug 10, 2010 at 5:30 PM, Benjamin Henrion b...@udev.org wrote:
 Hi,

 I am trying to vzrestore an archive from one HN to another HN,
 everything works fine, except the VPN that uses the TUN device, the
 kernel crash at some location when I start the new CT on the new HN,
 note the 2 different kernel versions:

 [ 5343.511737] [ cut here ]
 [ 5343.511747] WARNING: at
 /build/buildd-linux-2.6_2.6.32-19-amd64-lIwQQ8/linux-2.6-2.6.32/debian/build/source_amd64_openvz/fs/sysfs/dir.c:491
 sysfs_add_one+0xcc/0xe4()
 [ 5343.511753] Hardware name: HP Compaq dc7700p Small Form Factor
 [ 5343.511756] sysfs: cannot create duplicate filename
 '/devices/virtual/net/mondial'
 [ 5343.511760] Modules linked in: vzethdev vznetdev simfs vzrst vzcpt
 vzdquota vzmon vzdev xt_tcpudp xt_length xt_hl xt_tcpmss xt_TCPMSS
 iptable_mangle iptable_filter xt_multiport xt_limit xt_dscp ipt_REJECT
 ip_tables x_tables tun ext2 loop snd_hda_codec_realtek snd_hda_intel
 snd_hda_codec parport_pc psmouse snd_hwdep parport evdev snd_pcm
 pcspkr serio_raw snd_timer snd tpm_infineon video tpm soundcore
 tpm_bios wmi output snd_page_alloc processor button ext3 jbd mbcache
 dm_mirror dm_region_hash dm_log dm_snapshot dm_mod sg sd_mod
 crc_t10dif sr_mod cdrom uhci_hcd ata_generic ata_piix ehci_hcd floppy
 libata usbcore nls_base e1000e scsi_mod thermal thermal_sys [last
 unloaded: scsi_wait_scan]
 [ 5343.511834] Pid: 9599, comm: tincd Tainted: G        W
 2.6.32-5-openvz-amd64 #1
 [ 5343.511837] Call Trace:
 [ 5343.511842]  [81143bff] ? sysfs_add_one+0xcc/0xe4
 [ 5343.511847]  [81143bff] ? sysfs_add_one+0xcc/0xe4
 [ 5343.511852]  [8104cd18] ? warn_slowpath_common+0x77/0xa3
 [ 5343.511857]  [8104cda0] ? warn_slowpath_fmt+0x51/0x59
 [ 5343.511861]  [81143b2b] ? sysfs_pathname+0x35/0x3d
 [ 5343.511866]  [81143b2b] ? sysfs_pathname+0x35/0x3d
 [ 5343.511870]  [81143b2b] ? sysfs_pathname+0x35/0x3d
 [ 5343.511874]  [81143b2b] ? sysfs_pathname+0x35/0x3d
 [ 5343.511879]  [81143bff] ? sysfs_add_one+0xcc/0xe4
 [ 5343.511883]  [811441ad] ? create_dir+0x4f/0x7c
 [ 5343.511888]  [8114422d] ? sysfs_create_dir+0x53/0x68
 [ 5343.511893]  [8117aac7] ? kobject_get+0x12/0x17
 [ 5343.511897]  [8117abfd] ? kobject_add_internal+0xcb/0x181
 [ 5343.511902]  [8117ae5f] ? kobject_add+0x74/0x7c
 [ 5343.511906]  [8117ad3b] ? kobject_set_name_vargs+0x4e/0x56
 [ 5343.511912]  [810e8ee0] ? __kmalloc+0x15a/0x17f
 [ 5343.511917]  [812e7fa6] ? mutex_lock+0xd/0x31
 [ 5343.511921]  [8117aac7] ? kobject_get+0x12/0x17
 [ 5343.511926]  [81208ba3] ? get_device_parent_nodep+0x125/0x19f
 [ 5343.511931]  [81209bbf] ? device_add+0xce/0x53f
 [ 5343.511936]  [8122eeaf] ? sk_prot_alloc+0x5b/0x108
 [ 5343.511942]  [8123d3b6] ? register_netdevice+0x218/0x30c
 [ 5343.511957]  [a0346dd7] ? tun_chr_ioctl+0x294/0x827 [tun]
 [ 5343.511963]  [810fcc6a] ? vfs_ioctl+0x21/0x6c
 [ 5343.511967]  [810fd1b8] ? do_vfs_ioctl+0x48d/0x4cb
 [ 5343.511973]  [812eaf05] ? do_page_fault+0x2e0/0x2fc
 [ 5343.511977]  [810fd233] ? sys_ioctl+0x3d/0x5c
 [ 5343.511982]  [81010c12] ? system_call_fastpath+0x16/0x1b
 [ 5343.511986] ---[ end trace 91f5887144a154f5 ]---

 What should I do?

I updated to the same kernel on both sides and it worked.

Probably Tinc inside CTs needed to be recompiled against the running
kernel version.

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.

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


[Users] HN with multiple CT with public IP addresses

2010-08-10 Thread Benjamin Henrion
Hi,

I have 2 differents machines in 2 different data centers, both of them
running OpenVZ containers with public IPs on both the HN and CTs.

When I do a:

$ wget http://whatismyip.org

on CTs on one server, it outputs the public IP address of the CT,
which is fine, while on the other machine it outputs the IP address of
the HN.

Any idea what is wrong?

Best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Re: HN with multiple CT with public IP addresses

2010-08-10 Thread Benjamin Henrion
On Tue, Aug 10, 2010 at 11:33 AM, Benjamin Henrion b...@udev.org wrote:
 Hi,

 I have 2 differents machines in 2 different data centers, both of them
 running OpenVZ containers with public IPs on both the HN and CTs.

 When I do a:

 $ wget http://whatismyip.org

 on CTs on one server, it outputs the public IP address of the CT,
 which is fine, while on the other machine it outputs the IP address of
 the HN.

 Any idea what is wrong?

I just found out that I had MASQUERADE iptables loaded on the server,
so I disabled it and it worked.

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Kernel crash while moving one container with TUN from one HN to another HN

2010-08-10 Thread Benjamin Henrion
Hi,

I am trying to vzrestore an archive from one HN to another HN,
everything works fine, except the VPN that uses the TUN device, the
kernel crash at some location when I start the new CT on the new HN,
note the 2 different kernel versions:

[ 5343.511737] [ cut here ]
[ 5343.511747] WARNING: at
/build/buildd-linux-2.6_2.6.32-19-amd64-lIwQQ8/linux-2.6-2.6.32/debian/build/source_amd64_openvz/fs/sysfs/dir.c:491
sysfs_add_one+0xcc/0xe4()
[ 5343.511753] Hardware name: HP Compaq dc7700p Small Form Factor
[ 5343.511756] sysfs: cannot create duplicate filename
'/devices/virtual/net/mondial'
[ 5343.511760] Modules linked in: vzethdev vznetdev simfs vzrst vzcpt
vzdquota vzmon vzdev xt_tcpudp xt_length xt_hl xt_tcpmss xt_TCPMSS
iptable_mangle iptable_filter xt_multiport xt_limit xt_dscp ipt_REJECT
ip_tables x_tables tun ext2 loop snd_hda_codec_realtek snd_hda_intel
snd_hda_codec parport_pc psmouse snd_hwdep parport evdev snd_pcm
pcspkr serio_raw snd_timer snd tpm_infineon video tpm soundcore
tpm_bios wmi output snd_page_alloc processor button ext3 jbd mbcache
dm_mirror dm_region_hash dm_log dm_snapshot dm_mod sg sd_mod
crc_t10dif sr_mod cdrom uhci_hcd ata_generic ata_piix ehci_hcd floppy
libata usbcore nls_base e1000e scsi_mod thermal thermal_sys [last
unloaded: scsi_wait_scan]
[ 5343.511834] Pid: 9599, comm: tincd Tainted: GW
2.6.32-5-openvz-amd64 #1
[ 5343.511837] Call Trace:
[ 5343.511842]  [81143bff] ? sysfs_add_one+0xcc/0xe4
[ 5343.511847]  [81143bff] ? sysfs_add_one+0xcc/0xe4
[ 5343.511852]  [8104cd18] ? warn_slowpath_common+0x77/0xa3
[ 5343.511857]  [8104cda0] ? warn_slowpath_fmt+0x51/0x59
[ 5343.511861]  [81143b2b] ? sysfs_pathname+0x35/0x3d
[ 5343.511866]  [81143b2b] ? sysfs_pathname+0x35/0x3d
[ 5343.511870]  [81143b2b] ? sysfs_pathname+0x35/0x3d
[ 5343.511874]  [81143b2b] ? sysfs_pathname+0x35/0x3d
[ 5343.511879]  [81143bff] ? sysfs_add_one+0xcc/0xe4
[ 5343.511883]  [811441ad] ? create_dir+0x4f/0x7c
[ 5343.511888]  [8114422d] ? sysfs_create_dir+0x53/0x68
[ 5343.511893]  [8117aac7] ? kobject_get+0x12/0x17
[ 5343.511897]  [8117abfd] ? kobject_add_internal+0xcb/0x181
[ 5343.511902]  [8117ae5f] ? kobject_add+0x74/0x7c
[ 5343.511906]  [8117ad3b] ? kobject_set_name_vargs+0x4e/0x56
[ 5343.511912]  [810e8ee0] ? __kmalloc+0x15a/0x17f
[ 5343.511917]  [812e7fa6] ? mutex_lock+0xd/0x31
[ 5343.511921]  [8117aac7] ? kobject_get+0x12/0x17
[ 5343.511926]  [81208ba3] ? get_device_parent_nodep+0x125/0x19f
[ 5343.511931]  [81209bbf] ? device_add+0xce/0x53f
[ 5343.511936]  [8122eeaf] ? sk_prot_alloc+0x5b/0x108
[ 5343.511942]  [8123d3b6] ? register_netdevice+0x218/0x30c
[ 5343.511957]  [a0346dd7] ? tun_chr_ioctl+0x294/0x827 [tun]
[ 5343.511963]  [810fcc6a] ? vfs_ioctl+0x21/0x6c
[ 5343.511967]  [810fd1b8] ? do_vfs_ioctl+0x48d/0x4cb
[ 5343.511973]  [812eaf05] ? do_page_fault+0x2e0/0x2fc
[ 5343.511977]  [810fd233] ? sys_ioctl+0x3d/0x5c
[ 5343.511982]  [81010c12] ? system_call_fastpath+0x16/0x1b
[ 5343.511986] ---[ end trace 91f5887144a154f5 ]---

What should I do?

Best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Vzmigrate and routing daemon?

2010-07-19 Thread Benjamin Henrion
Hi,

I was searching the net to find examples of vzmigrate+routing daemon
in front to reroute the traffic and the IP address of the container
automatically.

Does someone has experience with that?

Best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] debian-5.0 lenny openvz templates with wrong /etc/apt/sources.list

2010-07-07 Thread Benjamin Henrion
Hi,

Just to warn you that the following debian template:

http://ftp.openvz.org/template/precreated/debian-5.0-x86_64.tar.gz

has a wrong /etc/apt/sources.list.

Here is what it gives after an apt-get update:

=
r...@111 / [4]# apt-get update
Get:1 http://ftp.debian.org lenny Release.gpg [1033B]
Ign http://ftp.debian.org lenny/volatile Release.gpg
Ign http://ftp.debian.org lenny/updates Release.gpg
Get:2 http://ftp.debian.org lenny Release [73.8kB]
Ign http://ftp.debian.org lenny/volatile Release
Ign http://ftp.debian.org lenny/updates Release
Ign http://ftp.debian.org lenny/volatile/main Packages
Ign http://ftp.debian.org lenny/volatile/contrib Packages
Ign http://ftp.debian.org lenny/volatile/non-free Packages
Get:3 http://ftp.debian.org lenny/main Packages [5150kB]
Get:4 http://ftp.debian.org lenny/contrib Packages [71.9kB]
Get:5 http://ftp.debian.org lenny/non-free Packages [88.1kB]
Ign http://ftp.debian.org lenny/updates/main Packages
Ign http://ftp.debian.org lenny/updates/contrib Packages
Ign http://ftp.debian.org lenny/updates/non-free Packages
Ign http://ftp.debian.org lenny/volatile/main Packages
Ign http://ftp.debian.org lenny/volatile/contrib Packages
Ign http://ftp.debian.org lenny/volatile/non-free Packages
Ign http://ftp.debian.org lenny/updates/main Packages
Ign http://ftp.debian.org lenny/updates/contrib Packages
Ign http://ftp.debian.org lenny/updates/non-free Packages
Err http://ftp.debian.org lenny/volatile/main Packages
  404 Not Found [IP: 130.89.149.226 80]
Err http://ftp.debian.org lenny/volatile/contrib Packages
  404 Not Found [IP: 130.89.149.226 80]
Err http://ftp.debian.org lenny/volatile/non-free Packages
  404 Not Found [IP: 130.89.149.226 80]
Err http://ftp.debian.org lenny/updates/main Packages
  404 Not Found [IP: 130.89.149.226 80]
Err http://ftp.debian.org lenny/updates/contrib Packages
  404 Not Found [IP: 130.89.149.226 80]
Err http://ftp.debian.org lenny/updates/non-free Packages
  404 Not Found [IP: 130.89.149.226 80]
Fetched 5385kB in 1s (2698kB/s)
W: Failed to fetch
http://ftp.debian.org/debian-volatile/dists/lenny/volatile/main/binary-amd64/Packages
 404 Not Found [IP: 130.89.149.226 80]

W: Failed to fetch
http://ftp.debian.org/debian-volatile/dists/lenny/volatile/contrib/binary-amd64/Packages
 404 Not Found [IP: 130.89.149.226 80]

W: Failed to fetch
http://ftp.debian.org/debian-volatile/dists/lenny/volatile/non-free/binary-amd64/Packages
 404 Not Found [IP: 130.89.149.226 80]

W: Failed to fetch
http://ftp.debian.org/debian-security/dists/lenny/updates/main/binary-amd64/Packages
 404 Not Found [IP: 130.89.149.226 80]

W: Failed to fetch
http://ftp.debian.org/debian-security/dists/lenny/updates/contrib/binary-amd64/Packages
 404 Not Found [IP: 130.89.149.226 80]

W: Failed to fetch
http://ftp.debian.org/debian-security/dists/lenny/updates/non-free/binary-amd64/Packages
 404 Not Found [IP: 130.89.149.226 80]

E: Some index files failed to download, they have been ignored, or old
ones used instead.
r...@111 / [5]#
=

Please replace the /etc/apt/sources.list with the right one:

===
deb http://ftp.debian.org/debian lenny main contrib non-free
deb http://security.debian.org/debian-security lenny/updates main
contrib non-free
deb http://volatile.debian.org/debian-volatile lenny/volatile main
contrib non-free
===

Best,

--
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-4148403
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


  1   2   >