Unable to start Ubuntu and Debian lxc containers on Rocky9

Greetings and salutations.

I thought of creating 3 linux lxc containers for test purposes.

I successfully created three lxc containers i.e centos and ubuntu using the command below:

$ lxc-create --template download --name <lxc_container_name>

Listed the lxc containers with command below:

$ lxc-ls --fancy
NAME   STATE   AUTOSTART GROUPS IPV4 IPV6 UNPRIVILEGED 
centos STOPPED 0         -      -    -    true         
ubuntu STOPPED 0         -      -    -    true  
debian STOPPED 0         -      -    -    true        

I successfully started the centos lxc container as below:

$ sudo lxc-attach --name centos
[root@centos var]# 

But i couldnt attach the ubuntu lxc container:

$ lxc-start --name ubuntu
lxc-start: ubuntu: lxccontainer.c: wait_on_daemonized_start: 877 Received container state "ABORTING" instead of "RUNNING"
lxc-start: ubuntu: tools/lxc_start.c: main: 306 The container failed to start
lxc-start: ubuntu: tools/lxc_start.c: main: 309 To get more details, run the container in foreground mode
lxc-start: ubuntu: tools/lxc_start.c: main: 311 Additional information can be obtained by setting the --logfile and --logpriority options

I have the same behaviour with debian based lxc container

$ sudo lxc-attach --name debian
lxc-attach: debian: attach.c: get_attach_context: 405 Connection refused - Failed to get init pid
lxc-attach: debian: attach.c: lxc_attach: 1469 Connection refused - Failed to get attach context

I have tried to destroy and recreate the lxc containers, but i get the same error.

What could i be missing ?