[lxc-users] [ error: sql: no rows in result set ]

Stéphane Graber stgraber at ubuntu.com
Mon Mar 6 16:55:11 UTC 2017


On Mon, Mar 06, 2017 at 04:30:39PM +0700, Sergiusz Pawlowicz wrote:
> Hi, how can I debug this?
> 
> # lxc copy pcp ruszt:pcp
> error: sql: no rows in result set
> 
> 1) nothing in logs in /var/log/lxd
> 2) lxc monitor –type=logging also shows nothing interesting
> 
>  driver: lxc
>   driver_version: 2.0.7
>   kernel: Linux
>   kernel_architecture: x86_64
>   kernel_version: 4.4.0-64-generic
>   server: lxd
>   server_pid: 32166
>   server_version: 2.10.1
>   storage: zfs
>   storage_version: 0.6.5.6-0ubuntu15
> 
> cheers,
> S.

Hi,

Please file an issue at https://github.com/lxc/lxd/issues it'll be
easier to track down and fix there.

One potential source of extra information would be to run:

    lxc copy pcp ruszt:pcp --debug

That may at least indicate what's returning the error.

The same would go for the monitor command, I'd recommend running both of
those while you attempt another copy:

    lxc monitor --type=logging
    lxc monitor ruszt: --type=logging

That way you'll also see what's going on on the target.

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170306/c89b5869/attachment.sig>


More information about the lxc-users mailing list