← Back to team overview

openstack team mailing list archive

Re: chardev: opening backend "file" failed: Permission denied

 

Here is some more information.  I am using Ubuntu 12.04 LTS, I have turned
off apparmor.

Here is my mount: dedup:/big_pool/os-grizzly on /os-grizzly type nfs
(rw,noatime,nolock,tcp,bg,intr,hard,addr=10.54.90.10)

root@test1:/# find /os-grizzly -type d | xargs ls -l -d
drwxr-xr-x 4 root   root   4 Jun 21 13:39 /os-grizzly
drwxr-xr-x 3 glance glance 3 Jun  3 10:25 /os-grizzly/glance
drwxr-x--- 2 glance glance 4 Jun 19 15:41 /os-grizzly/glance/images
drwxr-xr-x 3 nova   nova   3 Jun 21 13:39 /os-grizzly/nova
drwxr-xr-x 4 nova   nova   5 Jun 21 13:13 /os-grizzly/nova/instances
drwxr-xr-x 2 nova   nova   4 Jun 19 15:42 /os-grizzly/nova/instances/_base
drwxr-xr-x 2 nova   nova   6 Jun 19 15:42 /os-grizzly/nova/instances/locks

root@test1:/# grep -RE "^[^#]" /etc/libvirt/*.conf
/etc/libvirt/libvirtd.conf:listen_tls = 0
/etc/libvirt/libvirtd.conf:listen_tcp = 1
/etc/libvirt/libvirtd.conf:unix_sock_group = "libvirtd"
/etc/libvirt/libvirtd.conf:unix_sock_rw_perms = "0770"
/etc/libvirt/libvirtd.conf:auth_unix_ro = "none"
/etc/libvirt/libvirtd.conf:auth_unix_rw = "none"
/etc/libvirt/libvirtd.conf:auth_tcp = "none"
/etc/libvirt/qemu.conf:dynamic_ownership = 0


I am stumped.  It was working fine before I made the changed
(dynamic_ownership, listen_tls, listen_tcp, auth_tcp) and started up the
other compute nodes.  :/




On Fri, Jun 21, 2013 at 1:27 PM, Samuel Winchenbach <swinchen@xxxxxxxxx>wrote:

> no_root_squash is set on that that export.
>
> -Sam
>
>
> On Fri, Jun 21, 2013 at 1:12 PM, Aaron Knister <aaron.knister@xxxxxxxxx>wrote:
>
>> This is a shot in the dark, but is root squash disabled on the NFS export
>> for all nodes?
>>
>> Sent from my iPhone
>>
>> On Jun 21, 2013, at 11:47 AM, Samuel Winchenbach <swinchen@xxxxxxxxx>
>> wrote:
>>
>> Hi all,
>>
>> I had my cluster working on a single node.  glance images and nova
>> instances are stored on an nfs mount.
>>
>> I added two more nodes and enabled live-migration.
>>
>> Now when I try to start to an instance I get:
>>
>> nova-scheduler.log - libvirtError: internal error Process exited while
>> reading console log output: chardev: opening backend "file" failed:
>> Permission denied
>>
>>
>> Here is the traceback from nova-compute.log:
>> http://pastie.org/pastes/8066860/text
>>
>>
>> I have seen references online to this error, but no solutions.  Does
>> anyone know what may be causing and better yet, how to fix it?
>>
>> Thanks,
>> Sam
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>

Follow ups

References