[libvirt-users] method for communication between containers

2014-02-26 Thread WANG Cheng D
Dear all, In my system, two containers need to exchange data as quick as possible and the two containers are hosted by the same physical machine, I wonder if socket is the only method for communication between containers? Thank you. Cheng Wang ___ libvi

Re: [libvirt-users] bridge / ubuntu / no arp reply

2014-02-26 Thread François Chenais
2014-02-26 15:10 GMT+01:00 Laine Stump : > On 02/26/2014 02:56 PM, Michal Privoznik wrote: > > On 25.02.2014 22:45, François Chenais wrote: > >> Hello > >> > >> I'm trying to setup a bridged guest on an ubuntu 13.10 but it doesn't > >> work. > >> > >> (Everything is ok with NAT) > >> > >> Network

Re: [libvirt-users] VM Creation Timestamp

2014-02-26 Thread Eric Blake
On 02/26/2014 08:21 AM, Eric Blake wrote: > On 02/26/2014 04:42 AM, Tony Atkinson wrote: >> Hello, >> Is there any way to query libvirt, ideally through virsh CLI utility or >> similar, to get a timestamp of when a VM was created. >> Or to put it another way, a timestamp of when a domain's UUID was

Re: [libvirt-users] POOL of SRIOV networks with multiple PFs

2014-02-26 Thread Dax Kelson
On Wed, Feb 26, 2014 at 11:22 AM, john fisher wrote: > I get this error: > "error: Failed to create domain from ./vm0.xml > error: internal error Process exited while reading console log output: > kvm: -device > pci-assign,host=01:10.1,id=hostdev0,configfd=47,bus=pci.0,addr=0x8: > Duplicate ID '

[libvirt-users] POOL of SRIOV networks with multiple PFs

2014-02-26 Thread john fisher
We are using an Intel 82599 chip that allows 4 PFs ( eth0..3) per VM. I am able to manually start VMs using the hostdev definition for the four network connections, but I'd like to start using the pool approach. Ubuntu 12.04 libvirt 1.0.0 Following: http://wiki.libvirt.org/page/Networking#Assign

Re: [libvirt-users] [libvirt] LXC, user namespaces and systemd

2014-02-26 Thread Stephan Sachse
> # chown -R foo:foo /var/lib/libvirt/filesystems/mycontainer you must "shift" the uids for the container 0 -> 666, 1 -> 667, 2 -> 668. there is a tool for this: uidmapshift some tools may not work, because of the missing file capabilities. chown removes all file capabilities! try ping as user i

[libvirt-users] [libvirt] LXC, user namespaces and systemd

2014-02-26 Thread Dariusz Michaluk
Hi! I with my colleagues from Samsung trying to run systemd in Linux container. I saw that the others are experimenting in this topic, so I would like to present the results of my work and tests, perhaps it will be helpful to others. As the prototype I used a manual written by Daniel: https:

Re: [libvirt-users] libvirt lxc /dev/null

2014-02-26 Thread Nerijus Baliunas
Daniel P. Berrange writes: > Libvirt will pre-populate the /dev filesystem with any permitted > devices, creation is denied by cgroups. > > That you have a plain file for /dev/null suggests something in > your container has deleted the original character device and > replaced it by a plain file.

Re: [libvirt-users] Problems with tls connection when ran with user privileges

2014-02-26 Thread Pasquale Dir
Ok I solved, it was just a problem with linux permits. Anyway each time I make a connection I get this warning: 2014-02-26 13:03:25.035+: 10825: warning : virNetTLSContextCheckCertKeyPurpose:364 : Certificate /etc/pki/libvirt/clientcert.pem purpose does not allow use for with a TLS client I w

Re: [libvirt-users] VM Creation Timestamp

2014-02-26 Thread Eric Blake
On 02/26/2014 04:42 AM, Tony Atkinson wrote: > Hello, > Is there any way to query libvirt, ideally through virsh CLI utility or > similar, to get a timestamp of when a VM was created. > Or to put it another way, a timestamp of when a domain's UUID was allocated. Sorry, there is no such information

Re: [libvirt-users] VirtFS accessmode

2014-02-26 Thread Javi Legido
Hi Matteo. As far as I know this is how it works. I asked weeks ago if there's any chance to change setuid in order to control how the files are created in the host, but at the moment I didn't get a reply. Cheers. Javier On 26 February 2014 10:45, Lanati, Matteo wrote: > Hi all, > > I'm tryin

Re: [libvirt-users] bridge / ubuntu / no arp reply

2014-02-26 Thread Laine Stump
On 02/26/2014 02:56 PM, Michal Privoznik wrote: > On 25.02.2014 22:45, François Chenais wrote: >> Hello >> >> I'm trying to setup a bridged guest on an ubuntu 13.10 but it doesn't >> work. >> >> (Everything is ok with NAT) >> >> Network sniffing shows that arp replies don't come back to the guest.

[libvirt-users] Problems with tls connection when ran with user privileges

2014-02-26 Thread Pasquale Dir
I set up my certificates, ca client and server, as described in your documentation: http://wiki.libvirt.org/page/TLSCreateServerCerts. I followed it step by step so it must be ok. However, when I run virsh -c qemu://192.168.1.2/system and I try a command like list --all I get: error: impossible c

[libvirt-users] VirtFS accessmode

2014-02-26 Thread Lanati, Matteo
Hi all, I'm trying to share a folder between a host and a guest using VirtFS. The source is NAS mounted on the host and QEMU runs as unprivileged user. The only way for me to use the folder inside the guest is to set the access mode to 'squash' but all file operations are performed by the user

[libvirt-users] VM Creation Timestamp

2014-02-26 Thread Tony Atkinson
Hello, Is there any way to query libvirt, ideally through virsh CLI utility or similar, to get a timestamp of when a VM was created. Or to put it another way, a timestamp of when a domain's UUID was allocated. Many thanks, -- Tony Atkinson ___ libvirt-u

Re: [libvirt-users] bridge / ubuntu / no arp reply

2014-02-26 Thread Michal Privoznik
On 25.02.2014 22:45, François Chenais wrote: Hello I'm trying to setup a bridged guest on an ubuntu 13.10 but it doesn't work. (Everything is ok with NAT) Network sniffing shows that arp replies don't come back to the guest. Test 1 -- Guest : ping host_bridge_ip (ok) Test 2 --

Re: [libvirt-users] libvirt lxc /dev/null

2014-02-26 Thread Daniel P. Berrange
On Tue, Feb 25, 2014 at 08:58:43PM +, Nerijus Baliunas wrote: > Hello, > > I created lxc container on F19 with virt-manager and it starts OK. The only > problem is that sshd does not run complaining "/dev/null is not a character > device". > # ls -l /dev/null > -rw-r--r-- 1 root root 0 2014-02