Re: [libvirt-users] [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path

2016-04-12 Thread Martin Kletzander
On Tue, Apr 12, 2016 at 06:24:16PM -0400, TomK wrote: On 4/12/2016 5:08 PM, John Ferlan wrote: Having/using a root squash via an NFS pool is "easy" (famous last words) Create some pool XML (taking the example I have) % cat nfs.xml rootsquash

Re: [libvirt-users] [Bug 1325687] network type="ethernet" not supported with LXC

2016-04-12 Thread abhishek jain
Hi Cole Thanks. Please let us know when the support for network-type="ethernet" is enabled in libvirt. ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path

2016-04-12 Thread TomK
On 4/12/2016 5:08 PM, John Ferlan wrote: On 04/12/2016 03:55 PM, TomK wrote: On 4/12/2016 3:40 PM, Martin Kletzander wrote: [ I would be way easier to reply if you didn't top-post ] On Tue, Apr 12, 2016 at 12:07:50PM -0400, TomK wrote: Hey John, Hehe, I got the right guy then. Very nice!

Re: [libvirt-users] [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path

2016-04-12 Thread TomK
On 4/12/2016 4:36 PM, Martin Kletzander wrote: On Tue, Apr 12, 2016 at 10:29:29PM +0200, Martin Kletzander wrote: On Tue, Apr 12, 2016 at 03:55:45PM -0400, TomK wrote: On 4/12/2016 3:40 PM, Martin Kletzander wrote: [ I would be way easier to reply if you didn't top-post ] On Tue, Apr 12, 2016

Re: [libvirt-users] [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path

2016-04-12 Thread John Ferlan
On 04/12/2016 03:55 PM, TomK wrote: > > On 4/12/2016 3:40 PM, Martin Kletzander wrote: >> [ I would be way easier to reply if you didn't top-post ] >> >> On Tue, Apr 12, 2016 at 12:07:50PM -0400, TomK wrote: >>> Hey John, >>> >>> Hehe, I got the right guy then. Very nice! And very good ideas b

Re: [libvirt-users] Networking issues with lxc containers in AWS EC2

2016-04-12 Thread Peter Steele
On 04/11/2016 11:33 AM, Laine Stump wrote: Interesting. That functionality was moved out of the kernel's bridge module into br_netfilter some time back, but that was done later than the kernel 3.10 that is used by CentOS 7. Are you running some later kernel version? If your kernel doesn't hav

Re: [libvirt-users] [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path

2016-04-12 Thread Martin Kletzander
On Tue, Apr 12, 2016 at 10:29:29PM +0200, Martin Kletzander wrote: On Tue, Apr 12, 2016 at 03:55:45PM -0400, TomK wrote: On 4/12/2016 3:40 PM, Martin Kletzander wrote: [ I would be way easier to reply if you didn't top-post ] On Tue, Apr 12, 2016 at 12:07:50PM -0400, TomK wrote: On 4/12/2016

Re: [libvirt-users] [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path

2016-04-12 Thread Martin Kletzander
On Tue, Apr 12, 2016 at 03:55:45PM -0400, TomK wrote: On 4/12/2016 3:40 PM, Martin Kletzander wrote: [ I would be way easier to reply if you didn't top-post ] On Tue, Apr 12, 2016 at 12:07:50PM -0400, TomK wrote: On 4/12/2016 11:45 AM, John Ferlan wrote: What got my attention was the error me

[libvirt-users] CentOS 6 and 1.3.3

2016-04-12 Thread Brian Rak
libvirt 1.3.3 seems to have introduced some kind of issue on CentOS 6 (no systemd). After upgrading, libvirt would take an incredibly long time to get to a state where it would actually respond to a simple 'virsh list' command. Looking at verbose output showed this repeating at exactly 30s in

Re: [libvirt-users] [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path

2016-04-12 Thread TomK
On 4/12/2016 3:40 PM, Martin Kletzander wrote: [ I would be way easier to reply if you didn't top-post ] On Tue, Apr 12, 2016 at 12:07:50PM -0400, TomK wrote: Hey John, Hehe, I got the right guy then. Very nice! And very good ideas but I may need more time to reread and try them out later t

Re: [libvirt-users] [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path

2016-04-12 Thread Martin Kletzander
[ I would be way easier to reply if you didn't top-post ] On Tue, Apr 12, 2016 at 12:07:50PM -0400, TomK wrote: Hey John, Hehe, I got the right guy then. Very nice! And very good ideas but I may need more time to reread and try them out later tonight. I'm fully in agreement about providing m

Re: [libvirt-users] [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path

2016-04-12 Thread TomK
Hey John, Hehe, I got the right guy then. Very nice! And very good ideas but I may need more time to reread and try them out later tonight. I'm fully in agreement about providing more details. Can't be accurate in a diagnosis if there isn't much data to go on. This pool option is new to

Re: [libvirt-users] [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path

2016-04-12 Thread John Ferlan
On 04/12/2016 10:58 AM, TomK wrote: > Hey Martin, > > Thanks very much. Appreciate you jumping in on this thread. Can you provide some more details with respect to which libvirt version you have installed. I know I've made changes in this space in more recent versions (not the most recent). I'

Re: [libvirt-users] [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path

2016-04-12 Thread TomK
Hey Martin, Thanks very much. Appreciate you jumping in on this thread. You see, that's just it. I've configured libvirt .conf files to run as oneadmin.oneadmin (non previlidged) for that NFS share and I can access all the files on that share as oneadmin without error, including the one you

Re: [libvirt-users] [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path

2016-04-12 Thread Martin Kletzander
On Mon, Apr 11, 2016 at 08:02:04PM -0400, TomK wrote: Hey All, Wondering if anyone had any suggestions on this topic? The only thing I can come up with is: '/var/lib/one//datastores/0/38/disk.1': Permission denied ... that don't have access to that file. Could you elaborate on that? I thin

Re: [libvirt-users] [Bug 1325687] network type="ethernet" not supported with LXC

2016-04-12 Thread abhishek jain
Hi Cole I tested the LXC VM with libvirt 1.2.12 after applying the patch http://www.redhat.com/archives/libvir-list/2016-April/msg00505.html I'm now getting following errors.. virsh -c lxc: start test error: Failed to start domain test error: internal error: Unsupported network type ethernet I'

Re: [libvirt-users] [Bug 1325687] network type="ethernet" not supported with LXC

2016-04-12 Thread Cole Robinson
On 04/12/2016 09:12 AM, abhishek jain wrote: > Hi Cole > > I tested the LXC VM with libvirt 1.2.12 after applying the patch > > http://www.redhat.com/archives/libvir-list/2016-April/msg00505.html > > I'm now getting following errors.. > > virsh -c lxc: start test > error: Failed to start

Re: [libvirt-users] Clone VM with saved state

2016-04-12 Thread Michael Ravits
Hi Kashyap, Thanks for your answer! Unfortunately my use case requires cloning the exact memory state, so I won't be able to use virt-sysprep. But the snapshot command looks like something I could use. Could you suggest how to proceed and create/start a new vm from that snapshot? Thanks, Michael

Re: [libvirt-users] Clone VM with saved state

2016-04-12 Thread Kashyap Chamarthy
On Mon, Apr 11, 2016 at 12:01:08PM +0300, Michael Ravits wrote: > Hi, > > My use case involves creating duplicates of saved virtual machines. While I realize you want to trivially clone VMs with some state at random point in time, you might want to look into `virt-builder` about cloning VMs. It