Hi ,
I was trying to do Canonical Openstack deployment. I was facing some issue while triggering JUJU controller deployment.
Commission of the node is successful. But "juju bootstrap --constraints tags=juju mymaas maas-controller’ is failing . Even i tried to do OS deployment directly on the node , stil same error. It is failing with "cloud-ini Data source not found " error.
I used “Maas/stable” for MaaS installation. And i was using single nic for Maas node and JUJU controller node.
I even tried with Ubuntu16 and 18 too.
fwiw, I saw a similar failure on an ancient 2.5.0 (7442-gdf68e30a5-0ubuntu1~18.04.1) install. It is intermittent. Restarting maas-rackd/maas-regiond seems to have worked around it for me, but its not clear what the root cause is.
@billwear I’m not convinced it’s a 100% match on the bug string.
To what @dannf says, it is random and sometimes a reboot helps, other times making tiny changes and then reverting them helps.
It’s comparable to sand grains in a watch, sometimes little knocks help the gears to move again while other times smashing it against the table seems to do the trick.
I am seeing this also. I can deploy 18.04, but not 20.04. 20.04 fails with cloud-init Data Source Not Found Exception.
This is the second machine I’ve deployed and the first one deployed successfully using 20.04. They are configured almost identically although verifying the BIOS configs is a pain in the ass. Anyone know of any tools that can dump the BIOS config to a text file? Or did the ubuntu 20 image change in the last 4 days? Where are the images stored?
‘data source not found’ indicates that cloud-init is unable to reach MAAS’s metadata server. This is where cloud-init gets SSH keys and user_data. Make sure your machines have access to the MAAS DNS server or disable DNS on the subnet by settings Allow DNS resolution on the subnet to false.
I hope this helps somebody. I faced the same issue, and the problem was very simple.
You must be sure to specify a DNS IP in the Subnet Summary. If you enabled the “Allow DNS resolution” the DNS IP must be yours MaaS Region/Rack servers IP.