I had the same problem, meaning my main storage pool was missing after upgrading from Bluefin to Codia and the solution mentioned here (import from CLI, export from web UI, import back using web UI) fixed the problem.
My pool was missing the uuid and this was an old pool, which went through many updates of TrueNas Core and then later upgraded from Core to Scale Bluefin.
I'd bet that this specific problem is for people which have previously upgraded from TrueNas Core.
P.S. please don't just blindly run `zpool import -f -F -R /mnt $MY_STORAGE_POOL` and instead read up on what `-f -F -R` parameters do and asses if they make sense for you (for me neither -f or -F made sense).
Also now running `midclt call pool.query | jq` shows that my pool has a `guid` .
Thank you.