I have a container that’s been in production for months. However after upgrading to LXD 3.21 (along with other system upgrades), the container will no longer start. (I unfortunately had to run updates on the host system; this wasn’t a voluntary thing.) I get this error message:
[pgoetz@erap-atx pkg]$ lxc start atom Error: Common start logic: Failed to start device "atomport8084": Invalid value for device option "connect": Not an IP address: localhost Try `lxc info --show-log atom` for more info [pgoetz@erap-atx pkg]$ lxc info --show-log atom Name: atom Location: none Remote: unix:// Architecture: x86_64 Created: 2019/06/05 19:06 UTC Status: Stopped Type: container Profiles: default Snapshots: atom-catalog-new-install-2020-01-29 (taken at 2020/01/29 18:50 UTC) (stateless) Log: lxc atom 20200224195502.269 WARN conf - conf.c:lxc_setup_devpts:1641 - Invalid argument - Failed to unmount old devpts instance lxc atom 20200224230242.332 WARN network - network.c:lxc_delete_network_priv:2589 - Operation not permitted - Failed to remove interface "eth0" with index 7
The proxy it’s complaining about in the initial error message was configured like this:
lxc config device add atom atomport8080 proxy listen=tcp:0.0.0.0:8080 connect=tcp:localhost:80
Do I need to redo this with an IP address?
Any thoughts on what is going on? This looks a lot like