-
Notifications
You must be signed in to change notification settings - Fork 55
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
Ubuntu Trusty (and likely other) do not build from master #198
Comments
Turns out that the commit creating the zfstest suite can be left in if the following hack is applied:
But zfs-dkms deb package still has has no sources and produces:
|
@sempervictus I'm not sure I understand, but it sounds like you've just somehow lost the |
Its not being lost in the merge, its being deleted by the Debian packaging scripts every time they run, hence that little hack. Even with that hack though, its not building the actual DKMS source tree into the deb. Basically, the packaging scripts break the build system far as i can tell |
Note that pkg-zfs installs a This quirk is the result of an old production goal, and is a Past that, the pkg-zfs/master/ubuntu/trusty branch should merge cleanly with the upstream release branches, but not necessarily with the upstream head. |
@dajhorn: thank you very much, i was starting to think i'd lost my marbles in a merge somewhere. Is there any means by which the packaging could be configured to ignore the test suite, or allow it to build and simply not include it? My apologies for ignorance of the depths of the debian packaging stack, the worst i've had to do is in-house DKMS packages for network drivers and we don't use a build system like this, so it was a lot simpler. Could you suggest any hackish/short-term solutions to allow us to build from master with patches against this repo? We operate a datacenter wherein we dedicate VM farms and occasionally full physical storage platforms to testing new ZFS functionality. Its helped track down some serious problems in the past, including the realization that free space maps can diverge from the tree of data blocks and actually conflict (FSM thinks its free, block has data) since a scrub doesn't touch free blocks (sort of useful to understanding potential catastrophic situations). At present, we're actually pretty stuck in our own testing as we evaluate a number of kernel builds + zfs builds + SCST and other things across a set of VMs prior to taking the finalists to hardware. We use DKMS for all this stuff, and our kernel builds roll things which have to be baked in (EoIP, etc). We then have Chef deploy it all, kick off tests via ztest, fio, and others, and push results to logstash. Seemed like a rather clever approach in terms of engineering time allotted to the test cycles, until this happened. |
Welcome.
I often get merge glitches in the RPM area during DEB builds, and just buff them down before pushing the to pkg-zfs repository. In particular,
Yes, although it would be more natural (and a similar amount of work) to put these things into separate zfs-testsuite and/or zfs-contrib packages. However, given that pkg-zfs is in legacy maintenance since Ubuntu decided to import ZoL, this kind of work would best continue downstream.
I would describe that less as clever and more as a common deployment method at big sites. :) The upgrade path between Trusty and Xenial is cloudy in this regard. Nevertheless, try to retool around the official kernel packages, which should be easier since the core team at Canonical began using git. (NB: https://wiki.ubuntu.com/Kernel/MainlineBuilds) |
Given the systemd piece and what looks to be their own spin on "ZoL integration" we're keeping away from 16.04 for the time being. LTS' are usually not worth the headache for the first 3-5 months anyway. |
Yes.
Perhaps, but this is reasonable business decision since ZoL became a stable supported first-class part of the core system. |
We've been building kernel-specific packages using the make deb functionality for the last few months, but a bit of a problem arises when the OS is booting from ZFS using the resulting packages - the root pool won't import after the encrypted volume it's on is available. Even a manual import from the initramfs shell results in breakage: mount errors after pool import with rpool/root being at /root. Master and the tagged releases diverge a good deal, as does master and the 16.04 version from what i've seen in testing. Any chance you would reconsider updating the Ubuntu Trusty branch to work with master again? |
Merging pkg-zfs/master/ubuntu/trusty produces merge conflicts:
The merge is reasonably trivial - master is just newer. One minor note is that there appears to be divergence in zvol.c. After merge and reconfiguration of the debian/source/format to native, the build goes fine, but the packaging fails:
Pulling out the commit which adds the zfs test suite allows the build, but then the dkms source tree is empty. Kind of a show stopper for testing on ubuntu.
The text was updated successfully, but these errors were encountered: