Live PXE boot help

Hi,

I’m having a problem booting a system up using PXE, any help is really appreciated.
The boot arguments where taken from the Installation guide

Environment

VMware Fusion 11.5.3
Guest: 2 CPU, 4 GB, efi boot
iPXE booting

The boot arguments are

set swboot-url http://10.13.1.5/os
set fedoracos-release 31.20200505.3.0
initrd  ${swboot-url}/pxe/unattend/lnx/fedoracos/fedora-coreos-${fedoracos-release}-live-initramfs.${arch_fedora}.img
boot    ${swboot-url}/pxe/unattend/lnx/fedoracos/fedora-coreos-${fedoracos-release}-live-kernel-${arch_fedora} \
    initrd=fedora-coreos-${fedoracos-release}-live-initramfs.${arch_fedora}.img \
    ignition.config.url=${swboot-url}/pxe/unattend/lnx/fedoracos/config.ign \
    ignition.firstboot ignition.platform.id=metal \
    ip=dhcp rd.neednet=1 console=tty0 console=ttyS0

Here is the error message I get.

[   18.246343] ignition[669]: INFO     : files: createUsers: op(2): [started]  adding ssh keys to user "core"
[e[0;1;31mFAILED[   18.251855] systemd[1]: ignition-files.service: Main process exited, code=exited, status=1/FAILURE
e[0m] Failed to start e[0;1;39mIgnition (files)e[0m.
[   18.256494] ignition[669]: CRITICAL : files: createUsers: op(2): [failed]   adding ssh keys to user "core": failed to set SSH key: permission denied
See 'systemctl s[   18.263808] ignition[669]: files failedFull config:
tatus ignition-files.service' for details.
[   18.266792] ignition[669]: {
[e[0;1;38;5;185mDEPENDe[0m] Dependency failed for e[0;1;39mIgnition Completee[0m[   18.269395] ignition[669]:   "ignition": {
.
[   18.273809] ignition[669]:     "config": {
[e[0;1;38;5;185mDEPENDe[0m] Dependency failed for e[0;1;39mInitr[   18.276188] ignition[669]:       "replace": {
d Default Targete[0m.
[   18.279376] ignition[669]:         "source": null,
[e[0;32m  OK  e[0m] Stopped target e[0;1;39mInitrd Root Devicee[0m.
[   18.285031] ignition[669]:         "verification": {}
[   18.289380] ignition[669]:       }
[   18.292232] ignition[669]:     },
[   18.292244] ignition[669]:     "proxy": {},
[e[0;32m  OK  e[0m] Stopped target e[0;1;39mRemote File Systemse[0m.
[   18.292448] ignition[669]:     "security": {
[e[0;32m  OK  e[0m] Stopped target e[0;1;39mRemote File Systems (Pre)e[0m.
[e[0;32m  OK  e[0m] Stopped target e[0;1;39mTimerse[0m.
[   18.305242] ignition[669]:       "tls": {}
[   18.308072] ignition[669]:     },
[   18.308084] ignition[669]:     "timeouts": {},
[e[0;32m  OK  e[0m] Stopped e[0;1;39mPersist osmet filese[0m.
[   18.308093] ignition[669]:     "version": "3.1.0-experimental"
[   18.308102] ignition[669]:   },
[e[0;32m  OK  e[0m] Stopped e[0;1;39mPopulate OSTree /vare[0m.
[   18.324552] ignition[669]:   "passwd": {
[   18.327011] ignition[669]:     "users": [
[   18.332081] ignition[669]:       {
[   18.332106] ignition[669]:         "gecos": "CoreOS Admin",
         Stopping e[0;1;39mIgnition (mount)e[0m...
[   18.332123] ignition[669]:         "groups": [
[   18.332138] ignition[669]:           "adm",
[   18.332153] ignition[669]:           "sudo",
[   18.332169] ignition[669]:           "systemd-journal",
[   18.332184] ignition[669]:           "wheel"
[   18.332200] ignition[669]:         ],
[   18.332286] ignition[669]:         "name": "core",
[   18.332302] ignition[669]:         "sshAuthorizedKeys": [
[   18.332322] ignition[669]:           "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDjZkoBTZrciTOjuQHu0aDSfXsiy9Hmk2+LwxYbayi4UgWwTvpWvsEr8A7xv769s3sfEfILU72yq7fN5df/hQ5fGNWKV8DsltOwi19j4MUqr2w4PDxVC7oXbo0Eyc10pQFLhj2be+5gfI+4zP8nNb6f76h5g53iO8GtU6OOLbsXUZfIYV5nMGAovLxRMErXL0+pWGy9aZsBdwcgCPZENSO8Kai+8r+T7EvmKogduaBfXf5OYyB4/SXFO9CgEzWccVcbOtGHhhg9YYLHpMiJwv2RR2YmknMZV3vgMiaK4OFZLqKMYgSxLRGqhVxcF5TERN3BFR8ub+anQ4BWleQgHEXF"
[   18.332341] ignition[669]:         ]
[   18.332357] ignition[669]:       }
[   18.332448] ignition[669]:     ]
[   18.332466] ignition[669]:   },
[   18.332482] ignition[669]:   "storage": {
[   18.332554] ignition[669]:     "directories": [
[   18.332573] ignition[669]:       {
[   18.332589] ignition[669]:         "group": {},
[   18.332605] ignition[669]:         "path": "/opt/filer",
[   18.332620] ignition[669]:         "user": {},
[   18.332636] ignition[669]:         "mode": 511
[   18.332651] ignition[669]:       }
[   18.332667] ignition[669]:     ]
[   18.332698] ignition[669]:   },
[   18.332818] ignition[669]:   "systemd": {}
[   18.332848] ignition[669]: }CRITICAL : Ignition failed: failed to create users/groups: failed to create users: failed to add keys to user "core": failed to set SSH key: permission denied

Thanks for the report @beerworks - I was able to reproduce this bug. I did some investigation and reported it over in https://github.com/coreos/fedora-coreos-tracker/issues/496.

This was introduced in the latest stable release. Could you use the prior stable release for now?

Thank you for the verification @dustymabe.

I tried 31.20200420.3.0, and it worked great.

Just as an FYI, I tied both 31.20200517.2.0 & 32.20200517.1.0, both gave the same error as before.
CRITICAL : files: createUsers: op(2): [failed] adding ssh keys to user "core": failed to set SSH key: permission denied

31.20200517.2.0, stopped at emergency mode.
32.20200517.1.0, continued after the error to a boot prompt.

FYI this was fixed: https://github.com/coreos/fedora-coreos-tracker/issues/496#issuecomment-640795477