Hi folks I have a question about lxc-enter-namespace I am migrating lxc containers from a host running libvirt-1.2.5 on f20 to another one running libvirt-1.2.9 on f21 and now I can't seem to use lxc-enter-namespace for entering in a container any more I would do virsh -c lxc:/// lxc-enter-namespace --noseclabel container /bin/bash but when I try the same now I am getting this: # virsh -c lxc:/// lxc-enter-namespace --noseclabel nagios /bin/bash setlocale: No such file or directory libvirt: error : Expected at least one file descriptor error: internal error: Child process (137198) unexpected exit status 125 I tried to google that but nothing too relevant showed up.. are there known regressions to lxc-enter-namespace, or what else do I seem to do wrong here? thanks
Martin Kletzander
2015-Apr-14 12:37 UTC
Re: [libvirt-users] oddity with lxc-enter-namespace
On Thu, Apr 02, 2015 at 10:25:23AM +0200, Thierry Parmentelat wrote:>Hi folks > >I have a question about lxc-enter-namespace >I am migrating lxc containers from a host running libvirt-1.2.5 on f20 to another one running libvirt-1.2.9 on f21 > >and now I can't seem to use lxc-enter-namespace for entering in a container any more > >I would do >virsh -c lxc:/// lxc-enter-namespace --noseclabel container /bin/bash > >but when I try the same now I am getting this: > ># virsh -c lxc:/// lxc-enter-namespace --noseclabel nagios /bin/bash >setlocale: No such file or directory >libvirt: error : Expected at least one file descriptor >error: internal error: Child process (137198) unexpected exit status 125 > >I tried to google that but nothing too relevant showed up.. > >are there known regressions to lxc-enter-namespace, or what else do I seem to do wrong here? >I see none of that being possible to happen in the current upstream. Could you try reproducing that with latest version if you have the possibility to do so? Thank you.>thanks > > >_______________________________________________ >libvirt-users mailing list >libvirt-users@redhat.com >https://www.redhat.com/mailman/listinfo/libvirt-users
Thierry Parmentelat
2015-Apr-14 16:30 UTC
Re: [libvirt-users] oddity with lxc-enter-namespace
Hello The latest attempts that I made on fedora21 all gave me the same result I have tried . vanilla rpm from f21 (1.2.9 IIRC) . 1.2.14 . 1.2.13 . 1.2.12 these three ones I rebuilt from the source rpm published by libvirt eventually I reworked my own tools to enter the container via ssh, so this is not an immediate concern to me any longer but it is definitely odd I currently use 1.2.12 because neither 1.2.13 nor 1.2.14 would accept to start any lxc container in my environment I can do further tests based on that setup if it can be helpful thanks — Thierry> On 14 Apr 2015, at 14:37, Martin Kletzander <mkletzan@redhat.com> wrote: > > On Thu, Apr 02, 2015 at 10:25:23AM +0200, Thierry Parmentelat wrote: >> Hi folks >> >> I have a question about lxc-enter-namespace >> I am migrating lxc containers from a host running libvirt-1.2.5 on f20 to another one running libvirt-1.2.9 on f21 >> >> and now I can't seem to use lxc-enter-namespace for entering in a container any more >> >> I would do >> virsh -c lxc:/// lxc-enter-namespace --noseclabel container /bin/bash >> >> but when I try the same now I am getting this: >> >> # virsh -c lxc:/// lxc-enter-namespace --noseclabel nagios /bin/bash >> setlocale: No such file or directory >> libvirt: error : Expected at least one file descriptor >> error: internal error: Child process (137198) unexpected exit status 125 >> >> I tried to google that but nothing too relevant showed up.. >> >> are there known regressions to lxc-enter-namespace, or what else do I seem to do wrong here? >> > > I see none of that being possible to happen in the current upstream. > Could you try reproducing that with latest version if you have the > possibility to do so? Thank you. > >> thanks >> >> >> _______________________________________________ >> libvirt-users mailing list >> libvirt-users@redhat.com >> https://www.redhat.com/mailman/listinfo/libvirt-users