Displaying 8 results from an estimated 8 matches for "opennebula01".
Did you mean:
opennebula
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
...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='nfs'/>
</source>
<target>
<path>/tmp/netfs-rootsquash-pool</path>
<permissions>
<mode>0755</mode>...
2016 Apr 12
2
Re: [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path
...ep nfs /etc/fstab
> # 192.168.0.70:/var/lib/one/ /var/lib/one/ nfs
> context=system_u:object_r:nfs_t:s0,soft,intr,rsize=8192,wsize=8192,noauto
> 192.168.0.70:/var/lib/one/ /var/lib/one/ nfs
> soft,intr,rsize=8192,wsize=8192,noauto
> [root@mdskvm-p01 ~]#
>
> [root@opennebula01 ~]# cat /etc/exports
> /var/lib/one/ *(rw,sync,no_subtree_check,root_squash)
> [root@opennebula01 ~]#
>
>
> So I dug deeper and see that there is a possibility libvirtd is trying
> to access that NFS mount as root as some level because as root I also
> get a permission denied...
2016 Apr 12
0
Re: [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path
....2 (Nitrogen)
Scientific Linux release 7.2 (Nitrogen)
cpe:/o:scientificlinux:scientificlinux:7.2:ga
[root@mdskvm-p01 ~]#
[root@mdskvm-p01 ~]# mount /var/lib/one
[root@mdskvm-p01 ~]# su - oneadmin
Last login: Sat Apr 9 10:39:25 EDT 2016 on pts/0
Last failed login: Tue Apr 12 12:00:57 EDT 2016 from opennebula01 on
ssh:notty
There were 9584 failed login attempts since the last successful login.
i[oneadmin@mdskvm-p01 ~]$ id oneadmin
uid=9869(oneadmin) gid=9869(oneadmin)
groups=9869(oneadmin),992(libvirt),36(kvm)
[oneadmin@mdskvm-p01 ~]$ pwd
/var/lib/one
[oneadmin@mdskvm-p01 ~]$ ls -altriR|grep -i root
134...
2016 Apr 12
2
Re: [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path
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 think it's either:
a) you are running the domain as root or
b) we
2016 Apr 12
3
Re: [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path
...ux release 7.2 (Nitrogen)
>cpe:/o:scientificlinux:scientificlinux:7.2:ga
>[root@mdskvm-p01 ~]#
>
>[root@mdskvm-p01 ~]# mount /var/lib/one
>[root@mdskvm-p01 ~]# su - oneadmin
>Last login: Sat Apr 9 10:39:25 EDT 2016 on pts/0
>Last failed login: Tue Apr 12 12:00:57 EDT 2016 from opennebula01 on
>ssh:notty
>There were 9584 failed login attempts since the last successful login.
>i[oneadmin@mdskvm-p01 ~]$ id oneadmin
>uid=9869(oneadmin) gid=9869(oneadmin)
>groups=9869(oneadmin),992(libvirt),36(kvm)
>[oneadmin@mdskvm-p01 ~]$ pwd
>/var/lib/one
>[oneadmin@mdskvm-p01 ~...
2016 Apr 12
2
Re: [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path
...scientificlinux:7.2:ga
>>> [root@mdskvm-p01 ~]#
>>>
>>> [root@mdskvm-p01 ~]# mount /var/lib/one
>>> [root@mdskvm-p01 ~]# su - oneadmin
>>> Last login: Sat Apr 9 10:39:25 EDT 2016 on pts/0
>>> Last failed login: Tue Apr 12 12:00:57 EDT 2016 from opennebula01 on
>>> ssh:notty
>>> There were 9584 failed login attempts since the last successful login.
>>> i[oneadmin@mdskvm-p01 ~]$ id oneadmin
>>> uid=9869(oneadmin) gid=9869(oneadmin)
>>> groups=9869(oneadmin),992(libvirt),36(kvm)
>>> [oneadmin@mdskvm-p...
2016 Apr 12
0
Re: [libvirt] Libvirtd running as root tries to access oneadmin (OpenNebula) NFS mount but throws: error: can’t canonicalize path
...gt;>>> [root@mdskvm-p01 ~]#
>>>>
>>>> [root@mdskvm-p01 ~]# mount /var/lib/one
>>>> [root@mdskvm-p01 ~]# su - oneadmin
>>>> Last login: Sat Apr 9 10:39:25 EDT 2016 on pts/0
>>>> Last failed login: Tue Apr 12 12:00:57 EDT 2016 from opennebula01 on
>>>> ssh:notty
>>>> There were 9584 failed login attempts since the last successful login.
>>>> i[oneadmin@mdskvm-p01 ~]$ id oneadmin
>>>> uid=9869(oneadmin) gid=9869(oneadmin)
>>>> groups=9869(oneadmin),992(libvirt),36(kvm)
>>>...