[lxc-users] LXD - detect old configuration keys

Tomasz Chmielewski mangoo at wpkg.org
Sat Mar 24 14:54:57 UTC 2018


I'm also seeing it complaining with no raw.lxc keys.


Tomasz Chmielewski
https://lxadm.com


On 2018-03-24 23:28, MonkZ wrote:
> Nope - so what are the other 0,01%? ;)
> 
> architecture: x86_64
> config:
>   image.architecture: amd64
>   image.description: ubuntu 17.10 amd64 (release) (20180314)
>   image.label: release
>   image.os: ubuntu
>   image.release: artful
>   image.serial: "20180314"
>   image.version: "17.10"
>   volatile.base_image:
> c7cfac63aedfa6a5d68ae74bfa662bb03e97ada576dcd801768d617b3e59d3db
>   volatile.eth0.hwaddr: 00:16:3e:67:8a:7a
>   volatile.idmap.base: "2197152"
>   volatile.idmap.next:
> '[{"Isuid":true,"Isgid":false,"Hostid":2197152,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":2197152,"Nsid":0,"Maprange":65536}]'
>   volatile.last_state.idmap:
> '[{"Isuid":true,"Isgid":false,"Hostid":2197152,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":2197152,"Nsid":0,"Maprange":65536}]'
>   volatile.last_state.power: RUNNING
> devices: {}
> ephemeral: false
> profiles:
> - default
> stateful: false
> description: ""
> 
> I think it would be nice if LXD/LXC reports those keys to have an 
> option
> to run a (verbose) sanity check on the config.
> 
> MfG
> MonkZ
> 
> On 19.03.2018 00:49, Andrey Repin wrote:
>> Greetings, MonkZ!
>> 
>>> Hiho,
>> 
>>> i'm running LXD 2.21 on Ubuntu. With my latest upgrade i got warnings 
>>> like
>>> "The configuration file contains legacy configuration keys.
>>> Please update your configuration file!"
>> 
>>> Is there a way to list those keys?
>> 
>> 99,99% chances are it is lxc.raw
>> 
>> 
> 
> 
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list