Cluster upgraded automatically to 4.4 a few minutes ago, and now all my containers have no IPs

Can you show the output of lxc info, it would be interesting to see which firewall LXD detected (and used) when it started up, as I would expect to see some firewall rules that LXD adds to explicitly allow DHCP and DNS.

Perhaps they are being added to Nftables rather than Iptables or perhaps UFW has replaced them with its own ruleset.

You may also get some benefit from some of the approaches to managing LXD snap upgrade times described here Managing the LXD snap to avoid LXD being upgrade at times that are not good for you.