From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yoann Moulin Subject: Re: download.ceph.com repository changes Date: Wed, 18 Sep 2019 10:03:39 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: fr-CH List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: To: ceph-users-a8pt6IJUokc@public.gmane.org, ceph-maintainers-Qp0mS5GaXlQ@public.gmane.org, ceph-devel List-Id: ceph-devel.vger.kernel.org Hello, > I still think this is something we should consider as users still > experience problems: > > * Impossible to 'pin' to a version. User installs 14.2.0 and 4 months > later they add other nodes but version moved to 14.2.2 > * Impossible to use a version that is not what the latest is (e.g. if > someone doesn't need the release from Monday, but wants the one from 6 > months ago), similar to the above I think this could be a good idea, even if there is bugfix in next release, sometimes you don't want to fix a version in a stable cluster. I use CEPH-ansible but I don't know if it's possible to choose a release that is not the latest. > * When a release is underway, the repository breaks because syncing > packages takes hours. The operation is not atomic. Maybe build package on another server or tl least on another repo and when it's done, move all of them in one atomic operation after last tests? So we can imagine having a prerelease channel where volunteers can use it and test and let the stable official repo untouched until it's ready. Asking CEPH users to maintain a local repo just to keep a specific version installabled for himself is a bit hard and not what I expect from a machine critical storage solution. > * It is not currently possible to "remove" a bad release, in the past, > this means cutting a new release as soon as possible, which can take > days This is also an important process to setup, Ceph is used for critical infrastructure, there are already plenty of tests and is really stable but we all know how a bug can be malicious and destructive and how quickly users can lose confidence in it. Be able to remove, quickly, a buggy package is a must I think. And this will be a guarantee of quality to your users. > The latest issue (my fault!) was to cut a release and get the packages > out without communicating with the release manager, which caused users > to note there is a new version *as soon as it was up* vs, a > process that could've not touched the 'latest' url until the > announcement goes out. In French, we say something like "There are two kinds of administrators, those who have made mistakes under root, and those who will do it." (I'm a member of the first group.) But processes are here to avoid or at least reduce the impact of those mistakes. And this is why we use CEPH, its design can avoid some mistakes as root. Invest a few time to improve the release process may increase even more confidence in Ceph. > If you have been affected by any of these issues (or others I didn't > come up with), please let us know in this thread so that we can find > some common ground and try to improve the process. my 2 cents, Best, > On Tue, Jul 24, 2018 at 10:38 AM Alfredo Deza wrote: >> >> Hi all, >> >> After the 12.2.6 release went out, we've been thinking on better ways >> to remove a version from our repositories to prevent users from >> upgrading/installing a known bad release. >> >> The way our repos are structured today means every single version of >> the release is included in the repository. That is, for Luminous, >> every 12.x.x version of the binaries is in the same repo. This is true >> for both RPM and DEB repositories. >> >> However, the DEB repos don't allow pinning to a given version because >> our tooling (namely reprepro) doesn't construct the repositories in a >> way that this is allowed. For RPM repos this is fine, and version >> pinning works. >> >> To remove a bad version we have to proposals (and would like to hear >> ideas on other possibilities), one that would involve symlinks and the >> other one which purges the known bad version from our repos. >> >> *Symlinking* >> When releasing we would have a "previous" and "latest" symlink that >> would get updated as versions move forward. It would require >> separation of versions at the URL level (all versions would no longer >> be available in one repo). >> >> The URL structure would then look like: >> >> debian/luminous/12.2.3/ >> debian/luminous/previous/ (points to 12.2.5) >> debian/luminous/latest/ (points to 12.2.7) >> >> Caveats: the url structure would change from debian-luminous/ to >> prevent breakage, and the versions would be split. For RPMs it would >> mean a regression if someone is used to pinning, for example pinning >> to 12.2.2 wouldn't be possible using the same url. >> >> Pros: Faster release times, less need to move packages around, and >> easier to remove a bad version >> >> >> *Single version removal* >> Our tooling would need to go and remove the known bad version from the >> repository, which would require to rebuild the repository again, so >> that the metadata is updated with the difference in the binaries. >> >> Caveats: time intensive process, almost like cutting a new release >> which takes about a day (and sometimes longer). Error prone since the >> process wouldn't be the same (one off, just when a version needs to be >> removed) >> >> Pros: all urls for download.ceph.com and its structure are kept the same. > _______________________________________________ > ceph-users mailing list -- ceph-users-a8pt6IJUokc@public.gmane.org > To unsubscribe send an email to ceph-users-leave-a8pt6IJUokc@public.gmane.org > -- Yoann Moulin EPFL IC-IT _______________________________________________ ceph-users mailing list -- ceph-users-a8pt6IJUokc@public.gmane.org To unsubscribe send an email to ceph-users-leave-a8pt6IJUokc@public.gmane.org