LXC Create Error

Hi,
today, I tried to create a new LXC.
Both, via LuCi and CLI failed…

On LuCi, the Template-List is empty.
On CLI I get a GPG error…

lxc-create -t download -n my_first_vm
Setting up the GPG keyring
ERROR: Unable to fetch GPG key from keyserver.
lxc-create: lxccontainer.c: create_run_template: 1201 container creation template for my_first_vm failed
lxc-create: lxc_create.c: main: 274 Error creating container my_first_vm

this is my /etc/config/lxc

config lxc 'lxc'
    option url 'repo.turris.cz/lxc'

The strange thing is, some months ago I created some containers without any problems…

This is my Firmware Version: OpenWrt omnia 15.05 r47055

Can anybody help me with this?

Well, I have same issue.

# lxc-create -n test  -t download  -l --flush-cache  --logfile=test.log --logpriority=DEBUG  ; cat test.log
Setting up the GPG keyring
ERROR: Unable to fetch GPG key from keyserver.
lxc-create: lxccontainer.c: create_run_template: 1201 container creation template for test failed
lxc-create: lxc_create.c: main: 274 Error creating container test
lxc-create 1497128172.005 ERROR    lxc_container - lxccontainer.c:create_run_template:1201 - container creation template for test failed
lxc-create 1497128172.007 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuset unknown to /mnt/srv/lxc test
lxc-create 1497128172.009 INFO     lxc_container - lxccontainer.c:container_destroy:2171 - Destroyed rootfs for test
lxc-create 1497128172.009 INFO     lxc_container - lxccontainer.c:container_destroy:2187 - Destroyed directory for test
lxc-create 1497128172.009 ERROR    lxc_create_ui - lxc_create.c:main:274 - Error creating container test

# lxc-config  -l
lxc.default_config
lxc.lxcpath
lxc.bdev.lvm.vg
lxc.bdev.lvm.thin_pool
lxc.bdev.zfs.root
lxc.cgroup.use
lxc.cgroup.pattern

…and today it magically just works :slight_smile:

Good work Turris gods. Thanks!

… yes, now magically it works for me, too…

Strange…

Same for me today (22.6.2017):

root@turris:~# lxc-create -t download -n test
Setting up the GPG keyring
ERROR: Unable to fetch GPG key from keyserver.
lxc-create: lxccontainer.c: create_run_template: 1201 container creation template for test failed
lxc-create: lxc_create.c: main: 274 Error creating container test
root@turris:~#

Any idea?