Displaying 14 results from an estimated 14 matches for "mdskvm".
Did you mean:
d_kvm
2016 Apr 13
2
Re: [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path
On 04/13/2016 09:23 AM, TomK wrote:
> On 4/13/2016 1:33 AM, Martin Kletzander wrote:
>> 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
2016 Apr 14
0
Re: [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path
..., appears the o+x is the only way right now. It definitely tries to
access the share as root though, on CentOS 7 since I also tried to add
nfsnobody and nobody to the oneadmin group and that did not work
either. Seems OpenNebula doesn't have this issue with NFSv3 running on
Ubuntu:
[root@mdskvm-p01 ~]# rmdir /tmp/netfs-rootsquash-pool
[root@mdskvm-p01 ~]# cat nfs.xml
<pool type='netfs'>
<name>rootsquash</name>
<source>
<host name='opennebula01'/>
<dir path='/var/lib/one'/>
<format type...
2016 Apr 12
3
Re: [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path
.... Please tell me more on it. Can't find it in the file below but
>maybe it's elsewhere?
>
>( <pool type="fs"> ) perhaps rather than the "NFS" pool ( e.g. <pool type="netfs"> )
>
>
>Allright, here's the details:
>
>[root@mdskvm-p01 ~]# rpm -aq|grep -i libvir
>libvirt-daemon-driver-secret-1.2.17-13.el7_2.4.x86_64
>libvirt-1.2.17-13.el7_2.4.x86_64
>libvirt-daemon-driver-network-1.2.17-13.el7_2.4.x86_64
>libvirt-daemon-driver-lxc-1.2.17-13.el7_2.4.x86_64
>libvirt-daemon-driver-nwfilter-1.2.17-13.el7_2.4.x86_64...
2016 Apr 12
2
Re: [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path
..., by default, always starts as root. So it's
> doing something as root, despite being configured to access the share as
> oneadmin. As oneadmin I can access that file no problem. Here's how I
> read the file off the node on which the NFS share is mounted on:
>
> [oneadmin@mdskvm-p01 ~]$ ls -altri /var/lib/one//datastores/0/38/disk.1
> 34642274 -rw-r--r-- 1 oneadmin oneadmin 372736 Apr 5 00:20
> /var/lib/one//datastores/0/38/disk.1
> [oneadmin@mdskvm-p01 ~]$ file /var/lib/one//datastores/0/38/disk.1
> /var/lib/one//datastores/0/38/disk.1: # ISO 9660 CD-ROM files...
2016 Apr 12
0
Re: [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path
...This pool option is new to
me. Please tell me more on it. Can't find it in the file below but
maybe it's elsewhere?
( <pool type="fs"> ) perhaps rather than the "NFS" pool ( e.g. <pool type="netfs"> )
Allright, here's the details:
[root@mdskvm-p01 ~]# rpm -aq|grep -i libvir
libvirt-daemon-driver-secret-1.2.17-13.el7_2.4.x86_64
libvirt-1.2.17-13.el7_2.4.x86_64
libvirt-daemon-driver-network-1.2.17-13.el7_2.4.x86_64
libvirt-daemon-driver-lxc-1.2.17-13.el7_2.4.x86_64
libvirt-daemon-driver-nwfilter-1.2.17-13.el7_2.4.x86_64
libvirt-daemon-driv...
2016 Apr 12
2
Re: [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path
...t; maybe it's elsewhere?
>>>
>>> ( <pool type="fs"> ) perhaps rather than the "NFS" pool ( e.g. <pool
>>> type="netfs"> )
>>>
>>>
>>> Allright, here's the details:
>>>
>>> [root@mdskvm-p01 ~]# rpm -aq|grep -i libvir
>>> libvirt-daemon-driver-secret-1.2.17-13.el7_2.4.x86_64
>>> libvirt-1.2.17-13.el7_2.4.x86_64
>>> libvirt-daemon-driver-network-1.2.17-13.el7_2.4.x86_64
>>> libvirt-daemon-driver-lxc-1.2.17-13.el7_2.4.x86_64
>>> libvirt-da...
2016 Apr 12
0
Re: [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path
...;>>>
>>>> ( <pool type="fs"> ) perhaps rather than the "NFS" pool ( e.g. <pool
>>>> type="netfs"> )
>>>>
>>>>
>>>> Allright, here's the details:
>>>>
>>>> [root@mdskvm-p01 ~]# rpm -aq|grep -i libvir
>>>> libvirt-daemon-driver-secret-1.2.17-13.el7_2.4.x86_64
>>>> libvirt-1.2.17-13.el7_2.4.x86_64
>>>> libvirt-daemon-driver-network-1.2.17-13.el7_2.4.x86_64
>>>> libvirt-daemon-driver-lxc-1.2.17-13.el7_2.4.x86_64
>>...
2016 Apr 12
2
Re: [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path
...tores/0 . The
>>> unprevilidged user is able to read/write fine to the share.
>>> root_squash is used and for security reasons no_root_squash cannot be
>>> used.
>>>
>>> On the controller and node SELinux is disabled.
>>>
>>> [oneadmin@mdskvm-p01 ~]$ virsh -d 1 --connect qemu:///system create
>>> /var/lib/one//datastores/0/38/deployment.0
>>> create: file(optdata): /var/lib/one//datastores/0/38/deployment.0
>>> error: Failed to create domain from
>>> /var/lib/one//datastores/0/38/deployment.0
>>...
2016 Apr 12
2
Re: [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path
...gt;
>I top post by default in thunderbird and we have same setup at work with
>M$ LookOut. Old habits are to blame I guess. I'll try to reply like
>this instead. But yeah it's terrible for mailing lists to top post.
>Here's the output and thanks again:
>
>[oneadmin@mdskvm-p01 ~]$ ls -ld
>/var{,/lib{,/one{,/datastores{,/0{,/38{,/disk.1}}}}}}
>drwxr-xr-x. 21 root root 4096 Apr 11 07:10 /var
>drwxr-xr-x. 45 root root 4096 Apr 12 07:58 /var/lib
>drwxr-x--- 12 oneadmin oneadmin 4096 Apr 12 15:50 /var/lib/one
Look ^^, maybe for a quick...
2016 Apr 09
2
Re: Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path
...can't canonicalize path '/var/lib/one//datastores/0 . The
> unprevilidged user is able to read/write fine to the share.
> root_squash is used and for security reasons no_root_squash cannot be
> used.
>
> On the controller and node SELinux is disabled.
>
> [oneadmin@mdskvm-p01 ~]$ virsh -d 1 --connect qemu:///system create
> /var/lib/one//datastores/0/38/deployment.0
> create: file(optdata): /var/lib/one//datastores/0/38/deployment.0
> error: Failed to create domain from
> /var/lib/one//datastores/0/38/deployment.0
> error: can't canonicalize pat...
2016 Apr 12
0
Re: [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path
...y default in thunderbird and we have same setup at work with
>>M$ LookOut. Old habits are to blame I guess. I'll try to reply like
>>this instead. But yeah it's terrible for mailing lists to top post.
>>Here's the output and thanks again:
>>
>>[oneadmin@mdskvm-p01 ~]$ ls -ld
>>/var{,/lib{,/one{,/datastores{,/0{,/38{,/disk.1}}}}}}
>>drwxr-xr-x. 21 root root 4096 Apr 11 07:10 /var
>>drwxr-xr-x. 45 root root 4096 Apr 12 07:58 /var/lib
>>drwxr-x--- 12 oneadmin oneadmin 4096 Apr 12 15:50 /var/lib/one
>
>Loo...
2016 Apr 07
3
how to list and kill existing console sessions to VMs?
Hi everyone,
If a VM is configured to have a console attached to it, like using
http://libvirt.org/formatdomain.html#elementCharConsole
Libvirt offers access to VM serial console's using the virDomainOpenConsole API[1]
However, I didn't find a way to
1. list the existing connections to the console
2. kill an existing connection - without reconnecting using VIR_DOMAIN_CONSOLE_FORCE[2]
2016 Apr 07
0
Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path
...an NFS mount but errors out
with: can't canonicalize path '/var/lib/one//datastores/0 . The
unprevilidged user is able to read/write fine to the share. root_squash
is used and for security reasons no_root_squash cannot be used.
On the controller and node SELinux is disabled.
[oneadmin@mdskvm-p01 ~]$ virsh -d 1 --connect qemu:///system create
/var/lib/one//datastores/0/38/deployment.0
create: file(optdata): /var/lib/one//datastores/0/38/deployment.0
error: Failed to create domain from
/var/lib/one//datastores/0/38/deployment.0
error: can't canonicalize path '/var/lib/one//data...
2016 Apr 12
0
Re: [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path
...'/var/lib/one//datastores/0 . The
>> unprevilidged user is able to read/write fine to the share.
>> root_squash is used and for security reasons no_root_squash cannot be
>> used.
>>
>> On the controller and node SELinux is disabled.
>>
>> [oneadmin@mdskvm-p01 ~]$ virsh -d 1 --connect qemu:///system create
>> /var/lib/one//datastores/0/38/deployment.0
>> create: file(optdata): /var/lib/one//datastores/0/38/deployment.0
>> error: Failed to create domain from
>> /var/lib/one//datastores/0/38/deployment.0
>> error: can...