[ovirt-devel] Workaround for Gerrit 'Internal Server Error' after deleting draft

Tomer Saban tsaban at redhat.com
Mon Mar 28 14:04:00 UTC 2016


Hi,

I came across a bug in Gerrit when trying to delete a draft. It seems that it ruins
the patchset(Gerrit doens't set the new last revision properly).
So, in order to fix this issue we need to reset the last revision.

In order, to do that you need to find the last revision after deleting the draft(Let's assume it's 23).
Once, you have that you need to number of the patch in gerrit. For example, the number in:
https://gerrit.ovirt.org/#/c/51636/ is 51636.

Last, You need to run the following line from the shell:
ssh gerrit.ovirt.org gerrit review --rebase 51636,23

FYI, 
Tomer 




More information about the Devel mailing list