[OpenStack-Infra] gerrit: error: unpack failed: error Missing unknown
Anita Kuno
anteaya at anteaya.info
Sun Jul 6 20:18:11 UTC 2014
On 07/05/2014 08:57 AM, Vinay Mahuli wrote:
> Hi,
>
> I had the a project contrail-controller earlier which was accidentally
> deleted.
>
> After that, I tried running "manage-projects -dv" which is giving below
> error while adding back the deleted project.
>
> Now, I don't have anything in /home/gerrit2/review_site/git/Juniper/
> contrail-controller.git
>
> Can you please give me some inputs to resolve this? The issue is the
> commit 4619766bb3cb0b7a43a6ae25be4f5fcf75e874e3 is not found either in
> "open", "merged" nor "abandoned" states.
>
> I cannot upgrade the version of gerrit since we have custom changes.
>
> Manage-projects log:
>
> -------------------
>
> remote: Resolving deltas: 100% (18789/18789)
>
> error: unpack failed: error Missing unknown
> 4619766bb3cb0b7a43a6ae25be4f5fcf75e874e3
>
> fatal: Unpack error, check server log
>
> To ssh://localhost:29418/Juniper/contrail-controller
>
> ! [remote rejected] refs/copy/heads/R1.04 -> R1.04 (n/a (unpacker error))
>
> ! [remote rejected] refs/copy/heads/R1.05 -> R1.05 (n/a (unpacker error))
>
> ! [remote rejected] refs/copy/heads/R1.06 -> R1.06 (n/a (unpacker error))
>
> ! [remote rejected] refs/copy/heads/R1.06c1 -> R1.06c1 (n/a (unpacker
> error))
>
> ! [remote rejected] refs/copy/heads/config-devel -> config-devel (n/a
> (unpacker error))
>
> ! [remote rejected] refs/copy/heads/fix -> fix (n/a (unpacker error))
>
> ! [remote rejected] refs/copy/heads/master -> master (n/a (unpacker error))
>
> ! [remote rejected] refs/copy/heads/meghb_stoi -> meghb_stoi (n/a
> (unpacker error))
>
> error: failed to push some refs to '
> ssh://localhost:29418/Juniper/contrail-controller'
>
> INFO:manage_projects:Return code: 1
>
> remote: Resolving deltas: 100% (9774/9774)
>
> error: unpack failed: error Missing unknown
> 4619766bb3cb0b7a43a6ae25be4f5fcf75e874e3
>
>
>
> Gerrit logs:
>
> -----------
>
> [2014-07-04 07:18:09,081] ERROR com.google.gerrit.sshd.BaseCommand :
> Internal server error (user opencontrail-project-creator account 2) during
> git-receive-pack '/Juniper/contrail-controller'
>
> com.google.gerrit.sshd.BaseCommand$Failure: fatal: Unpack error, check
> server log
>
> at com.google.gerrit.sshd.commands.Receive.runImpl(Receive.java:146)
>
> at
> com.google.gerrit.sshd.AbstractGitCommand.service(AbstractGitCommand.java:103)
>
> at
> com.google.gerrit.sshd.AbstractGitCommand.access$000(AbstractGitCommand.java:34)
>
> at
> com.google.gerrit.sshd.AbstractGitCommand$1.run(AbstractGitCommand.java:69)
>
> at com.google.gerrit.sshd.BaseCommand$TaskThunk.run(BaseCommand.java:403)
>
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
>
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
>
> at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:333)
>
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
> at java.lang.Thread.run(Thread.java:744)
>
> Caused by: java.io.IOException: Unpack error on project
> "Juniper/contrail-controller":
>
> AdvertiseRefsHook:
> com.google.gerrit.server.git.ReceiveCommitsAdvertiseRefsHook at 1b4d01d7class
> com.google.gerrit.server.git.ReceiveCommitsAdvertiseRefsHook
>
>
> at com.google.gerrit.sshd.commands.Receive.runImpl(Receive.java:145)
>
> ... 12 more
>
> Caused by: org.eclipse.jgit.errors.UnpackException: Exception while parsing
> pack stream
>
> at org.eclipse.jgit.transport.ReceivePack.service(ReceivePack.java:877)
>
> at org.eclipse.jgit.transport.ReceivePack.receive(ReceivePack.java:768)
>
> at com.google.gerrit.sshd.commands.Receive.runImpl(Receive.java:95)
>
> ... 12 more
>
> Caused by: org.eclipse.jgit.errors.MissingObjectException: Missing unknown
> 4619766bb3cb0b7a43a6ae25be4f5fcf75e874e3
>
> at org.eclipse.jgit.storage.file.WindowCursor.open(WindowCursor.java:125)
>
> at org.eclipse.jgit.lib.ObjectReader.open(ObjectReader.java:228)
>
> at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:811)
>
> at
> org.eclipse.jgit.transport.ReceivePack.checkConnectivity(ReceivePack.java:1058)
>
> at org.eclipse.jgit.transport.ReceivePack.service(ReceivePack.java:840)
>
>
>
> _______________________________________________
> OpenStack-Infra mailing list
> OpenStack-Infra at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra
>
Hi Vinay:
I'm a bit foggy here, perhaps you can expand on some details?
Are you saying that you had a project on OpenStack's Gerrit
(review.openstack.org) called contrail-controller which has been deleted?
We don't delete any projects on OpenStack's Gerrit
(review.openstack.org). If a project is no longer under active
development we may rename the project to move it under a different
namespace, for instance a project under the openstack/ namespace might
be moved under the openstack-attic/ namespace if it is no longer
actively developed.
If we move a project, we usually also change the permissions so that the
moved project is read only. We don't delete projects.
If the issue is that you are running your own version of Google Gerrit:
https://code.google.com/p/gerrit/ and have a support question, please
take a look at the google gerrit mailing list:
https://groups.google.com/forum/#!forum/repo-discuss and perhaps you
might fight a solution to your problem there.
If the information I'm providing isn't what you are after, please
provide additional details so we understand what you are asking.
Thank Vinay,
Anita.
More information about the OpenStack-Infra
mailing list