Cannot create lxd with maas kvm ( bug)

I have added a new node into maas, it seems that now I cannot create lxd container.
Perhaps this is a new bug.

cores: Ensure this value is less than or equal to 0. memory: Ensure this value is less than or equal to 0.

Hi,

this might indeed be a bug. I would suggest filing a bug at https://launchpad.net/maas/+filebug

At the very least we need the regiond.log, rackd.log, maas.log, as well as the output from:

maas $profile vm-hosts read

Also, which version of MAAS are you using? If it’s not 3.0, you should try to upgrade first.

I was on same issue.

maas $profile vm-hosts read prints the 0 cores available/total. (!!)

After reconfigure /etc/maas/*.conf's maas_url correctly, problem solved.