<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
On Aug 21, 2020, at 15:51, Shaun Tancheff <<a href="mailto:shaun@tancheff.com" class="">shaun@tancheff.com</a>> wrote:<br class="">
<div>
<blockquote type="cite" class=""><br class="Apple-interchange-newline">
<div class="">
<div class="">I also see this:<br class="">
<br class="">
$ git fetch -p<br class="">
remote: warning: packfile<br class="">
./objects/pack/pack-ea24a680f604672cc32da7c6a91c35019c2fb7f5.pack<br class="">
cannot be accessed<br class="">
remote: Counting objects: 951, done.<br class="">
remote: Compressing objects: 100% (274/274), done.<br class="">
remote: Total 633 (delta 466), reused 479 (delta 343)<br class="">
Receiving objects: 100% (633/633), 237.96 KiB | 951.00 KiB/s, done.<br class="">
Resolving deltas: 100% (466/466), completed with 164 local objects.<br class="">
From <a href="git://git.whamcloud.com/fs/lustre-release" class="">git://git.whamcloud.com/fs/lustre-release</a><br class="">
  c54b6ca2bd..d7e6b6d2ab  master      -> origin/master<br class="">
  95cd26446e..678772a15f  b2_12       -> origin/b2_12<br class="">
+ 5ef1ba753e...c652cbd93f master-next -> origin/master-next  (forced update)<br class="">
+ 3df98a6114...8f6ed5f4c5 multi-rail  -> origin/multi-rail  (forced update)<br class="">
<br class="">
It does not appear to break my local repo but it is strange.<br class="">
</div>
</div>
</blockquote>
<div><br class="">
</div>
I've seen this a few times randomly also, but it didn't cause any problems. </div>
<div>Maybe newer git versions are more robust in the face of this error?</div>
<div><br class="">
</div>
<div>It may be a result of e.g. master-next being rewound and the old files are</div>
<div>removed, but I see it so rarely it is hard to debug.</div>
<div><br class="">
</div>
<div>Cheers, Andreas</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">
<div class="">On Thu, Aug 20, 2020 at 11:24 PM Spitz, Cory James <<a href="mailto:cory.spitz@hpe.com" class="">cory.spitz@hpe.com</a>> wrote:<br class="">
<blockquote type="cite" class=""><br class="">
Hi, I'm still regularly seeing "remote: aborting due to possible repository corruption on the remote side".  Is anyone else?<br class="">
<br class="">
I've tried multiple versions of git including recent versions.  I thought `git gc` would help, but it does not.  Is anyone else having this problem with
<a href="git://git.whamcloud.com/fs/lustre-release.git" class="">git://git.whamcloud.com/fs/lustre-release.git</a> ?<br class="">
<br class="">
Thanks,<br class="">
-Cory<br class="">
<br class="">
<br class="">
On 7/24/20, 4:48 PM, "lustre-devel on behalf of Spitz, Cory James" <<a href="mailto:lustre-devel-bounces@lists.lustre.org" class="">lustre-devel-bounces@lists.lustre.org</a> on behalf of
<a href="mailto:cory.spitz@hpe.com" class="">cory.spitz@hpe.com</a>> wrote:<br class="">
<br class="">
   Hi,<br class="">
<br class="">
   Strangely this git packfile issue has come back recently.  I was able to workaround it again by just checking out and fetching a few times.  I found this stack overflow mention about it:
<a href="https://stackoverflow.com/questions/11401434/git-packfile-claims-to-have-more-objects-inaccessable" class="">
https://stackoverflow.com/questions/11401434/git-packfile-claims-to-have-more-objects-inaccessable</a>  , but my local git was newer than the version mentioned there.  HPE is also having this problem for an automated checkout of
<a href="http://git.whamcloud.com" class="">git.whamcloud.com</a> with a much, much older git implementation, but the workaround for re-fetching
<a href="http://git.whamcloud.com" class="">git.whamcloud.com</a> is not working for us there.  Does anyone know more?<br class="">
<br class="">
   I tried `git gc` in my local checkout and it seemed fine.  I'd like the automated checkout to try `git gc` too.  I'm not a git expert, do we just need to run this garbage collection on the 'remote' repo too?<br class="">
<br class="">
   Thanks,<br class="">
   -Cory<br class="">
<br class="">
   On 3/25/19, 10:17 PM, "lustre-devel on behalf of Cory Spitz" <<a href="mailto:lustre-devel-bounces@lists.lustre.org" class="">lustre-devel-bounces@lists.lustre.org</a> on behalf of
<a href="mailto:spitzcor@cray.com" class="">spitzcor@cray.com</a>> wrote:<br class="">
<br class="">
       I ended up checking out a few different branches and then going back to master.  At that point, the pull seemed to be OK.<br class="">
<br class="">
       We did also experience this once in our 'official' Cray pull from upstream, but the problem went away there too after some fiddling.  I'm not sure what is making it come and go.<br class="">
<br class="">
       Aurélien and Andreas, thank you both for your input.  I'll keep an eye out for it and try the workaround again if it pops back up.<br class="">
<br class="">
       -Cory<br class="">
<br class="">
       --<br class="">
<br class="">
       On 3/25/19, 12:22 PM, "Degremont, Aurelien" <<a href="mailto:degremoa@amazon.com" class="">degremoa@amazon.com</a>> wrote:<br class="">
<br class="">
           It depends.<br class="">
           It persisted for a while. Now, I do not see them anymore. I don't know what changed in-between.<br class="">
<br class="">
<br class="">
           Le 25/03/2019 11:02, « Andreas Dilger » <<a href="mailto:adilger@whamcloud.com" class="">adilger@whamcloud.com</a>> a écrit :<br class="">
<br class="">
               On Mar 25, 2019, at 03:47, Degremont, Aurelien <<a href="mailto:degremoa@amazon.com" class="">degremoa@amazon.com</a>> wrote:<br class="">
<blockquote type="cite" class=""><br class="">
I'm facing similar problem than Cory, times to times.<br class="">
I did not track the detailed error messages but, for example, here are the errors I got when running 'git fetch' on a directory where only
<a href="git://git.whamcloud.com/fs/lustre-release.git" class="">git://git.whamcloud.com/fs/lustre-release.git</a> is declared. I did not update the repo for few days/weeks.<br class="">
<br class="">
remote: warning: packfile ./objects/pack/pack-2b5d1356632dfdbfd86c2d36e529a0a8af47f9af.pack cannot be accessed<br class="">
remote: error: refs/changes/47/33547/4 does not point to a valid object!<br class="">
remote: warning: packfile ./objects/pack/pack-d2307b0367688a7b6599e36453a20e02d6a0302e.pack cannot be accessed<br class="">
remote: error: refs/changes/47/33547/5 does not point to a valid object!<br class="">
remote: warning: packfile ./objects/pack/pack-69f40cb9d10db9a97f6df59c80a6279f808b9d5d.pack cannot be accessed<br class="">
remote: error: refs/changes/47/33547/6 does not point to a valid object!<br class="">
remote: warning: packfile ./objects/pack/pack-090b03d5723083bb4a1e7b524bc83dc9de504f17.pack cannot be accessed<br class="">
remote: error: refs/changes/47/33547/7 does not point to a valid object!<br class="">
remote: warning: packfile ./objects/pack/pack-0397e40c8813c5601975c99c94afed5ddfbbf1dc.pack cannot be accessed<br class="">
remote: error: refs/changes/47/33547/8 does not point to a valid object!<br class="">
remote: warning: packfile ./objects/pack/pack-a20995b7160fa2708c42f05111b39126a96b9bd4.pack cannot be accessed<br class="">
remote: warning: packfile ./objects/pack/pack-765a1f16499228e6910765c218733cfb8852e953.pack cannot be accessed<br class="">
<br class="">
This problem started few months ago.<br class="">
</blockquote>
<br class="">
               If you do a fetch on the same tree again right away does the error persist or go away?<br class="">
<br class="">
               Cheers, Andreas<br class="">
<br class="">
<blockquote type="cite" class="">Le 25/03/2019 07:05, « lustre-devel au nom de Andreas Dilger » <<a href="mailto:lustre-devel-bounces@lists.lustre.org" class="">lustre-devel-bounces@lists.lustre.org</a> au nom de
<a href="mailto:adilger@whamcloud.com" class="">adilger@whamcloud.com</a>> a écrit :<br class="">
<br class="">
  On Mar 22, 2019, at 09:59, Cory Spitz <<a href="mailto:spitzcor@cray.com" class="">spitzcor@cray.com</a>> wrote:<br class="">
<blockquote type="cite" class=""><br class="">
Hello.<br class="">
<br class="">
I’ve occasionally seen errors like the following when pulling upstream master:<br class="">
<br class="">
remote: warning: packfile ./objects/pack/pack-8a0ac446942c02bf656a79a2d7fa79d33f1fa4e2.pack cannot be accessed<br class="">
remote: error: refs/changes/47/5347/9 does not point to a valid object!<br class="">
remote: warning: packfile ./objects/pack/pack-8a0ac446942c02bf656a79a2d7fa79d33f1fa4e2.pack cannot be accessed<br class="">
remote: error: refs/changes/47/7247/23 does not point to a valid object!<br class="">
remote: warning: packfile ./objects/pack/pack-8a0ac446942c02bf656a79a2d7fa79d33f1fa4e2.pack cannot be accessed<br class="">
remote: error: refs/changes/47/7747/14 does not point to a valid object!<br class="">
remote: warning: packfile ./objects/pack/pack-8a0ac446942c02bf656a79a2d7fa79d33f1fa4e2.pack cannot be accessed<br class="">
<br class="">
Other clones/checkouts seem to be OK.  Has anyone else seen this?  It seems that this has something to do with Gerrit changes.  I just did a clone of master and I never set things up to my knowledge to pull all of these refs.  Anyone have a workaround (besides
 a fresh clone) or any tips?<br class="">
</blockquote>
<br class="">
  Cory, does this happen repeatedly, or just one time?  There are definitely errors that are generated because the master-next branch is "rewound" every time that Oleg lands those patches to master.<br class="">
<br class="">
  It is a bit strange about the changes that are referenced above.  <a href="https://review.whamcloud.com/7247" class="">https://review.whamcloud.com/7247</a>  and
<a href="https://review.whamcloud.com/5347" class="">https://review.whamcloud.com/5347</a>  were landed 5 years ago, so it is unlikely that anything related to them was changed recently.  Looking at the changes in Gerrit they appear to be OK.<br class="">
<br class="">
  Cheers, Andreas<br class="">
  ---<br class="">
  Andreas Dilger<br class="">
  Principal Lustre Architect<br class="">
  Whamcloud<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
  _______________________________________________<br class="">
  lustre-devel mailing list<br class="">
  <a href="mailto:lustre-devel@lists.lustre.org" class="">lustre-devel@lists.lustre.org</a><br class="">
  <a href="http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org" class="">http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org</a><br class="">
<br class="">
<br class="">
</blockquote>
<br class="">
               Cheers, Andreas<br class="">
               ---<br class="">
               Andreas Dilger<br class="">
               Principal Lustre Architect<br class="">
               Whamcloud<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
       _______________________________________________<br class="">
       lustre-devel mailing list<br class="">
       <a href="mailto:lustre-devel@lists.lustre.org" class="">lustre-devel@lists.lustre.org</a><br class="">
       <a href="http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org" class="">http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org</a><br class="">
<br class="">
   _______________________________________________<br class="">
   lustre-devel mailing list<br class="">
   <a href="mailto:lustre-devel@lists.lustre.org" class="">lustre-devel@lists.lustre.org</a><br class="">
   <a href="http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org" class="">http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org</a><br class="">
<br class="">
_______________________________________________<br class="">
lustre-devel mailing list<br class="">
<a href="mailto:lustre-devel@lists.lustre.org" class="">lustre-devel@lists.lustre.org</a><br class="">
http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org<br class="">
</blockquote>
_______________________________________________<br class="">
lustre-devel mailing list<br class="">
<a href="mailto:lustre-devel@lists.lustre.org" class="">lustre-devel@lists.lustre.org</a><br class="">
http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div>Cheers, Andreas</div>
<div>--</div>
<div>Andreas Dilger</div>
<div>Principal Lustre Architect</div>
<div>Whamcloud</div>
<div><br class="">
</div>
<div><br class="">
</div>
<div><br class="">
</div>
</div>
</div>
</div>
</div>
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br class="">
</body>
</html>