lxc move errors, tty

Bug #1577854 reported by Dustin Kirkland 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
criu (Ubuntu)
Fix Released
Undecided
Tycho Andersen

Bug Description

kirkland@masterbr:~⟫ lxc move ophthalmologic-shawanda loft:
error: Error transferring container data: restore failed:
(00.191903) 1: Error (tty.c:1438): tty: No reg_d descriptor for id 0xed
(00.210238) Error (cr-restore.c:1352): 21597 killed by signal 9
(00.252748) Error (cr-restore.c:2182): Restoring FAILED.
1 kirkland@masterbr:~⟫ lxc start ophthalmologic-shawanda
kirkland@masterbr:~⟫ lxc exec ophthalmologic-shawanda bash
root@ophthalmologic-shawanda:~# sudo umount /sys/firmware/efi/efivars
root@ophthalmologic-shawanda:~# exit
exit
kirkland@masterbr:~⟫ lxc move ophthalmologic-shawanda loft:
error: Error transferring container data: restore failed:
(00.164016) 1: Error (tty.c:1438): tty: No reg_d descriptor for id 0xe8
(00.175087) Error (cr-restore.c:1352): 24256 killed by signal 9
(00.241799) Error (cr-restore.c:2182): Restoring FAILED.

Full logs at http://paste.ubuntu.com/16204182/

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Tried to live migrate a lxd container, while an ssh session was open (running top).

Live migration works fine, if I just ping the container, or just have an ssh session with bash only (but the ssh session dies).

Revision history for this message
Tycho Andersen (tycho-s) wrote : Re: [Bug 1577854] Re: lxc move errors, tty

On Tue, May 03, 2016 at 04:38:51PM -0000, Dustin Kirkland  wrote:
> Tried to live migrate a lxd container, while an ssh session was open
> (running top).
>
> Live migration works fine, if I just ping the container, or just have an
> ssh session with bash only (but the ssh session dies).

Hmm. You get some socket error when the ssh session dies?

> --
> You received this bug notification because you are a member of Ubuntu
> containers team, which is subscribed to criu in Ubuntu.
> Matching subscriptions: criu
> https://bugs.launchpad.net/bugs/1577854
>
> Title:
> lxc move errors, tty
>
> Status in criu package in Ubuntu:
> New
>
> Bug description:
> kirkland@masterbr:~⟫ lxc move ophthalmologic-shawanda loft:
> error: Error transferring container data: restore failed:
> (00.191903) 1: Error (tty.c:1438): tty: No reg_d descriptor for id 0xed
> (00.210238) Error (cr-restore.c:1352): 21597 killed by signal 9
> (00.252748) Error (cr-restore.c:2182): Restoring FAILED.
> 1 kirkland@masterbr:~⟫ lxc start ophthalmologic-shawanda
> kirkland@masterbr:~⟫ lxc exec ophthalmologic-shawanda bash
> root@ophthalmologic-shawanda:~# sudo umount /sys/firmware/efi/efivars
> root@ophthalmologic-shawanda:~# exit
> exit
> kirkland@masterbr:~⟫ lxc move ophthalmologic-shawanda loft:
> error: Error transferring container data: restore failed:
> (00.164016) 1: Error (tty.c:1438): tty: No reg_d descriptor for id 0xe8
> (00.175087) Error (cr-restore.c:1352): 24256 killed by signal 9
> (00.241799) Error (cr-restore.c:2182): Restoring FAILED.
>
>
> Full logs at http://paste.ubuntu.com/16204182/
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/criu/+bug/1577854/+subscriptions

Revision history for this message
Tycho Andersen (tycho-s) wrote :

I just saw this without anything interesting running (i.e. no top, etc.). So while top helps, there is some race here that is reproducible independent of top.

Revision history for this message
Tycho Andersen (tycho-s) wrote :
Changed in criu (Ubuntu):
status: New → In Progress
assignee: nobody → Tycho Andersen (tycho-s)
Tycho Andersen (tycho-s)
Changed in criu (Ubuntu):
status: In Progress → Fix Committed
Tycho Andersen (tycho-s)
Changed in criu (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.