In the apply script, we execute the following logic:
ROOT_FILESYSTEM=$(zfs list -Ho name /)
The problem is we run this script from appliance-build, where the / filesystem isn't a ZFS filesystem:
+ ./binary/var/lib/delpix-platform/ansible/apply
'/': not a ZFS filesystem
Specifically, at that point, / maps to the build system's root filesystem rather than the root filesystem of the appliance build generated.
Thus, the fact that the build currently works is entirely coincidental, rather than working as designed. We should fix this before this problem results in incorrect behavior, rather than the current benign error.