fgrehm/vagrant-lxc

Containers are missing IPv4 address

rvanlaar opened this issue · 1 comments

As of today, my containers seem to be missing IPv4 addresses.

The message vagrant is giving me is:

There was an error executing lxc-info

For more information on the failure, enable detailed logging by setting
the environment variable VAGRANT_LOG to DEBUG.

The actual command that raises the problem is:
lxc-info --name $NAME -iH

Which is empty due to the container not having an IPv4 address.

I'm not sure yet what is the root cause. I'm hoping that others with the issue will contribute here.

Versions
Vagrant 2.2.6
Vagrant-lxc 1.4.3
Ubuntu: 19.10

It looks like the bridge network depends on my wifi being there.
Which is normally is, just not today with my wifi disabled,
enabling the wifi and a reboot solved the problem.