Lxc container with maas issue

Hi,
When I want to create lxc container it gives me the following message
Would you please help me to fix the issue?

ubuntu@quiet-oyster:~$ lxc launch images:centos/7/amd64 centos
Creating centos
wError: Failed instance creation: Failed creating instance record: Failed initialising instance: Can’t perform the operation because MAAS is currently unavailable

I’d look at /var/snap/lxd/common/lxd/logs/lxd.log to see if you can get more details.
It sounds like you have LXD configured to talk to MAAS for IP management on your network and that MAAS can’t be reached or the credentials are incorrect.

Hi, Thank you for the reply , unfortunately I reinstalled the server and cannot provide more information.