Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZFS cannot promote: not a cloned filesystem #89

Closed
patricoferris opened this issue Nov 18, 2021 · 3 comments · Fixed by #91
Closed

ZFS cannot promote: not a cloned filesystem #89

patricoferris opened this issue Nov 18, 2021 · 3 comments · Fixed by #91
Labels
bug Something isn't working

Comments

@patricoferris
Copy link
Contributor

patricoferris commented Nov 18, 2021

An issue to track the current bug we are seeing on the Github runner with ZFS where during the stress test we get the following error:

+ opam exec -- dune exec -- ./stress/stress.exe zfs:zfs
cannot promote 'zfs/cache-tmp/0-c-c1': not a cloned filesystem
stress: internal error, uncaught exception:
        (Failure
          "\"sudo\" \"zfs\" \"promote\" \"zfs/cache-tmp/0-c-c1\" failed with exit status 1")

Note, previously on Travis builds this was working (with the same version of ZFS): https://travis-ci.org/github/ocurrent/obuilder/builds/768095520 and the stress test works with an older version of ZFS I've tried locally. Setting the stress test to output debug logs also suggests all of the zfs commands leading up to this call to promote are identical so I'm wondering if there is some weird github runner issue happening here. I'll see if I can update to the right version locally to see if that shows the bug.

@patricoferris patricoferris added the bug Something isn't working label Nov 18, 2021
@patricoferris
Copy link
Contributor Author

@patricoferris
Copy link
Contributor Author

patricoferris commented Nov 25, 2021

Looks like that is the issue and there doesn't seem to be any answer as to how to fix it... Using a third-party ppa is not an ideal solution but it shows (I think) that this is the problem https://github.com/patricoferris/obuilder/runs/4324615404?check_suite_focus=true

Edit: which is essentially openzfs/zfs#9894

@talex5
Copy link
Contributor

talex5 commented Nov 26, 2021

I think using a PPA is fine to get the CI passing. And maybe link to the issue from the error message?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants