Re: [lxc-users] unable to set security.protection.delete on a new LXD server

2019-07-02 Thread Tomasz Chmielewski

That was it!

Thanks for the hint.

Tomasz


On 2019-07-03 14:09, Stéphane Graber wrote:

Do you maybe have both the deb and snap installed on that system and
are in fact interacting with the deb rather than snap?

dpkg -l | grep lxd

And if you do have both, then run `lxd.migrate` to transition the data
over to the snap.

On Tue, Jul 2, 2019 at 9:52 PM Tomasz Chmielewski  
wrote:


Just installed lxd from snap on a Ubuntu 18.04 server and launched the
first container:

# snap list
Name  VersionRevTracking  Publisher   Notes
amazon-ssm-agent  2.3.612.0  1335   stable/…  aws✓classic
core  16-2.39.3  7270   stablecanonical✓  core
lxd   3.14   11098  stablecanonical✓  -


# lxc launch ubuntu:18.04 terraform
Creating terraform
Starting terraform


However, I'm not able to set security.protection.delete for containers
created here:

# lxc config set terraform security.protection.delete true
Error: Invalid config: Unknown configuration key:
security.protection.delete


Also doesn't work when I try to set it via "lxc config edit".

This works perfectly on other LXD servers, so I'm a bit puzzled why it
won't work here?


Tomasz Chmielewski
https://lxadm.com
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users


Re: [lxc-users] unable to set security.protection.delete on a new LXD server

2019-07-02 Thread Stéphane Graber
Do you maybe have both the deb and snap installed on that system and
are in fact interacting with the deb rather than snap?

dpkg -l | grep lxd

And if you do have both, then run `lxd.migrate` to transition the data
over to the snap.

On Tue, Jul 2, 2019 at 9:52 PM Tomasz Chmielewski  wrote:
>
> Just installed lxd from snap on a Ubuntu 18.04 server and launched the
> first container:
>
> # snap list
> Name  VersionRevTracking  Publisher   Notes
> amazon-ssm-agent  2.3.612.0  1335   stable/…  aws✓classic
> core  16-2.39.3  7270   stablecanonical✓  core
> lxd   3.14   11098  stablecanonical✓  -
>
>
> # lxc launch ubuntu:18.04 terraform
> Creating terraform
> Starting terraform
>
>
> However, I'm not able to set security.protection.delete for containers
> created here:
>
> # lxc config set terraform security.protection.delete true
> Error: Invalid config: Unknown configuration key:
> security.protection.delete
>
>
> Also doesn't work when I try to set it via "lxc config edit".
>
> This works perfectly on other LXD servers, so I'm a bit puzzled why it
> won't work here?
>
>
> Tomasz Chmielewski
> https://lxadm.com
> ___
> lxc-users mailing list
> lxc-users@lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users



-- 
Stéphane
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users


[lxc-users] unable to set security.protection.delete on a new LXD server

2019-07-02 Thread Tomasz Chmielewski
Just installed lxd from snap on a Ubuntu 18.04 server and launched the 
first container:


# snap list
Name  VersionRevTracking  Publisher   Notes
amazon-ssm-agent  2.3.612.0  1335   stable/…  aws✓classic
core  16-2.39.3  7270   stablecanonical✓  core
lxd   3.14   11098  stablecanonical✓  -


# lxc launch ubuntu:18.04 terraform
Creating terraform
Starting terraform


However, I'm not able to set security.protection.delete for containers 
created here:


# lxc config set terraform security.protection.delete true
Error: Invalid config: Unknown configuration key: 
security.protection.delete



Also doesn't work when I try to set it via "lxc config edit".

This works perfectly on other LXD servers, so I'm a bit puzzled why it 
won't work here?



Tomasz Chmielewski
https://lxadm.com
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users