[Touch-packages] [Bug 1690822] Re: GPU device in lxc profile ignored?

2017-05-18 Thread Christian Brauner
On Thu, May 18, 2017 at 08:09:05AM -, Konstantinos Tsakalozos wrote: > I can confirm that "ls -al /dev/dri/" within the lxc container shows the > devices you expect. However, "lxc config show xen2" shows the devices > section being empty. This isn't a bug at all. :) You're adding a device to

[Touch-packages] [Bug 1690822] Re: GPU device in lxc profile ignored?

2017-05-18 Thread Konstantinos Tsakalozos
I can confirm that "ls -al /dev/dri/" within the lxc container shows the devices you expect. However, "lxc config show xen2" shows the devices section being empty. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in

[Touch-packages] [Bug 1690822] Re: GPU device in lxc profile ignored?

2017-05-16 Thread Christian Brauner
I've used your exact profile now: https://paste.ubuntu.com/24586449/ -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1690822 Title: GPU device in lxc profile ignored? Status

[Touch-packages] [Bug 1690822] Re: GPU device in lxc profile ignored?

2017-05-16 Thread Christian Brauner
chb@conventiont|~ > lxc profile show dummy config: security.nesting: "true" security.privileged: "true" description: "" devices: gpu: type: gpu name: dummy used_by: - /1.0/containers/alp1 - /1.0/containers/alpgpu -- You received this bug notification because you are a member of Ubuntu

[Touch-packages] [Bug 1690822] Re: GPU device in lxc profile ignored?

2017-05-16 Thread Konstantinos Tsakalozos
Christian, can you share the profile you used and it worked? I already showed you how my profile looks like but it might be something I am missing. Should I try yours? Thanks for taking a look. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which

[Touch-packages] [Bug 1690822] Re: GPU device in lxc profile ignored?

2017-05-16 Thread Konstantinos Tsakalozos
Attaching container logs ** Attachment added: "juju-39820e-4.tar.gz" https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1690822/+attachment/4877329/+files/juju-39820e-4.tar.gz -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed

[Touch-packages] [Bug 1690822] Re: GPU device in lxc profile ignored?

2017-05-16 Thread Konstantinos Tsakalozos
Attaching lxd logs ** Attachment added: "lxd.log.1" https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1690822/+attachment/4877328/+files/lxd.log.1 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu.

[Touch-packages] [Bug 1690822] Re: GPU device in lxc profile ignored?

2017-05-16 Thread Konstantinos Tsakalozos
Attaching mountinfo ** Attachment added: "mountinfo" https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1690822/+attachment/4877327/+files/mountinfo -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu.

[Touch-packages] [Bug 1690822] Re: GPU device in lxc profile ignored?

2017-05-15 Thread Christian Brauner
I couldn't reproduce this behavior locally. - We'd need the logs for the daemon and the corresponding containers in question from /var/log/lxd/*, please. - Please also show cat /proc/1/mountinfo from inside one of those containers that doesn't mount the gpu device. -- You received this bug