Comment 1 for bug 1160659

Revision history for this message
Jeremy Stanley (fungi) wrote : Re: Gerrit set-reviewers reports "no such change" for change-id, but works with change number

Have you tried using the full 40-digit change ID instead of the 8-digit abbreviated one? I know that Gerrit (at least the version we're on) has trouble matching short hex CIDs in at least some places. I've compared examples of working and non-working entries above in the database backend and don't see anything immediately unusual about them.

As an aside, I recommend against the draft feature in Gerrit. It's not secure (draft changes can still be found by browsing its gitweb interface), and is lacking corresponding events in its event stream to allow it to play nice with automated testing. Instead, setting a work-in-progress on the change should be sufficient for most common cases (either with the Work In Progress button in the WebUI or via the SSH CLI https://review.openstack.org/Documentation/cmd-review.html ).