[OpenAFS-devel] Re: https git access at git.openafs.org is broken

Benjamin Kaduk kaduk@mit.edu
Fri, 13 Aug 2021 14:00:09 -0700


Hi Mike,

Thanks for pointing this out.

It looks like one (the oldest one, as it happens) of the packfiles in that
repo got corrupted.  While manual git operations in the repo could find the
objects in question, `git verify-pack` reported the same bug that you
report.

I ended up just recreating that repository and merging a commit from gerrit
to trigger (full) replication.  Cloning seems to work now, but please let
me know if something still seems awry.

Thanks,

Ben

On Fri, Aug 13, 2021 at 09:52:16AM -0400, Michael Meffie wrote:
> Hello Ben,
> 
> There seems to be an issue with https (and http) git access
> on git.openafs.org (a.k.a. openafs.mit.edu) as of yesterday. git
> protocol is working.
> 
> When trying to clone or fetch with https://git.openafs.org, git
> asserts when trying to process commit 216376aa1177
> 
> $ git clone https://git.openafs.org/openafs.git
> Cloning into 'openafs'...
> BUG: builtin/index-pack.c:1006: child->real_type != OBJ_REF_DELTA
> error: index-pack died of signal 6
> error: Unable to find 6f3da121ff8cfef22cd871c4f63f740fb7b8a811 under http://git.openafs.org/openafs.git
> Cannot obtain needed blob 6f3da121ff8cfef22cd871c4f63f740fb7b8a811
> while processing commit 216376aa1177d8db6c7059d70ab89bae2610e01e.
> error: fetch failed.
> 
> However, git://git.openafs.org/openafs.git works.
> 
> $ git clone git://git.openafs.org/openafs.git
> ...
> (no errors)
> 
> (The github mirror at openafs/openafs looks to be up to date, so
> if git:// is not an option, that mirror can be used for fetches
> and clones.)
> 
> Best regards,
> Mike
> 
> -- 
> Michael Meffie <mmeffie@sinenomine.net>