I am testing migration of CoreOS with Ignition 2.2 (named here current env) to to preview
FedoraCoreOS with Ignition 3.0 (named here new env)
Tests are performed on OpenStack Rocky on prem.
In current env we mount /dev/vdb to a folder /dockerdata and /dev/vdc to /var/lib/docker
which works fine using Ignition 2.0.
I have transferred config to Ignition 3 and test now in new env.
Mount to /var/lib/docker is fine, mount to /dockerdata fails :
..
[ 9.931065] ignition[696]: "filesystems": [
[ 9.931075] ignition[696]: {
[ 9.931087] ignition[696]: "device": "/dev/vdc",
[ 9.931097] ignition[696]: "format": "ext4",
[ 9.931107] ignition[696]: "label": "docker",
[ 9.932644] ignition[696]: "path": "/var/lib/docker",
[ 9.932660] ignition[696]: "wipeFilesystem": true
[ 9.932670] ignition[696]: },
[ 9.932680] ignition[696]: {
[ 9.932689] ignition[696]: "device": "/dev/vdb",
[ 9.932699] ignition[696]: "format": "ext4",
[ 9.932714] ignition[696]: "label": "dockerdata",
[ 9.932724] ignition[696]: "path": "/dockerdata",
[ 9.932734] ignition[696]: "wipeFilesystem": true
[ 9.932743] ignition[696]: }
[ 9.932753] ignition[696]: ]
..
..
[ 9.935087] ignition[696]: }CRITICAL : Ignition failed: mkdir /sysroot/dockerdata:
operation not permitted
[ 9.936383] umount[704]: umount: /sysroot/var: not mounted.
[ 9.936548] systemd[1]: ignition-mount.service: Main process exited, code=exited,
status=1/FAILURE
[ 9.936696] systemd[1]: ignition-mount.service: Failed with result
'exit-code'.
[ 9.936730] systemd[1]: Failed to start Ignition (mount).
Also tried to explicitly add a create directory /dockerdata using Ignition
"directories .. /dockerdata" but same error.
[ 9.537684] ignition[696]: }CRITICAL : Ignition failed: mkdir /sysroot/dockerdata:
operation not permitted
Did I do something in the past that is not ok but was "tolerated" and now fails
due to more strict checking?
Thanks for any feedback
cheers
Heiko