[lxc-users] "The configuration file contains legacy configuration keys" - which ones?
Stéphane Graber
stgraber at ubuntu.com
Fri Oct 20 03:27:51 UTC 2017
On Fri, Oct 20, 2017 at 12:20:04PM +0900, Tomasz Chmielewski wrote:
> I'm seeing some more "The configuration file contains legacy configuration
> keys":
>
> host# lxc shell proddeploymenttest
> The configuration file contains legacy configuration keys.
> <-----------------------------
> Please update your configuration file!
> <-----------------------------
> run-parts: /etc/update-motd.d/98-fsck-at-reboot exited with return code 1
> mesg: ttyname failed: Success
> root at proddeploymenttest:~#
>
>
>
>
> What's legacy there?
Can you confirm you restarted that container?
Also, the "lxc config show" isn't very useful if you don't pass it
"--expanded" as you may have some raw.lxc config keys set through
profiles.
So please post "lxc config show --expanded proddeploymenttest"
Also listing what's in /usr/share/lxc/config/common.conf.d/ would be useful.
>
> host# lxc config show proddeploymenttest
> architecture: x86_64
> config:
> image.architecture: amd64
> image.description: ubuntu 16.04 LTS amd64 (release) (20171011)
> image.label: release
> image.os: ubuntu
> image.release: xenial
> image.serial: "20171011"
> image.version: "16.04"
> volatile.base_image:
> 61d54418874f2f84e24ddd6934b3bb759ca76cbc49820da7d34f8b5b778e4816
> volatile.eth0.hwaddr: 00:16:3e:83:ba:9b
> volatile.eth0.name: eth0
> volatile.idmap.base: "0"
> volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":100000,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":100000,"Nsid":0,"Maprange":65536}]'
> volatile.last_state.idmap: '[{"Isuid":true,"Isgid":false,"Hostid":100000,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":100000,"Nsid":0,"Maprange":65536}]'
> volatile.last_state.power: RUNNING
> devices: {}
> ephemeral: false
> profiles:
> - default
> stateful: false
> description: ""
>
>
>
> host# dpkg -l|grep lxd
> ii lxd 2.18-0ubuntu3~16.04.2
> amd64 Container hypervisor based on LXC - daemon
> ii lxd-client 2.18-0ubuntu3~16.04.2
> amd64 Container hypervisor based on LXC - client
>
>
> Ubuntu 16.04.03 LTS.
>
>
> Tomasz Chmielewski
> https://lxadm.com
--
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/20171019/61762915/attachment.sig>
More information about the lxc-users
mailing list