I’m trying to deploy fedora coreos in OpenStack (I think v3.7, not sure) and I keep getting “Ignition: no config provided by user”
Here is my ignition file: {"ignition":{"version":"3.1.0"},"passwd":{"users":[{"name":"core","sshAuthorizedKeys":["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEJSIvZLaGSTX6KF+quBc6LYFIOzd5AT/33ztBBMR8wV core"]}]}}
I’ve tried providing this ignition file through ansible and through the UI, with and without a trailing newline, but each time I get “Ignition: no config provided by user” and I can’t SSH to the instance.
Attached is the full console logs, are there any clues in there?
Sorry I don’t have much more information. If it sounds like this could be an issue with my openstack provider, I can file a ticket with them to get more information.
I downgraded to the previous stable version (fedora-coreos-32.20200629.3.0-openstack.x86_64.qcow2) as mentioned in that link, but I’m still getting “Ignition: no config provided by user”. The boot logs look a little better (it at least attempts to contact the metadata server at 169.254.169.254), but still no dice unfortunately: https://gist.github.com/mac-chaffee/4ba101a8198c318a6e7da3f4c9b6f82d#file-console2-txt
Oh I’ve realized my mistake. I was booting this instance with a security group that only had “ALLOW IPv4 22/tcp from 0.0.0.0/0” (no outgoing connections allowed). As a result, the instance could not contact the metadata server to download the userdata.
The fix was to expand the security group to allow outgoing TCP traffic, at least to 169.254.169.254.
Here’s an example from the UI to allow all outgoing traffic: