From: Nathan Cutler Date: Wed, 28 Aug 2019 08:42:17 +0000 (+0200) Subject: doc: script/ceph-backport.sh: add "Troubleshooting notes" X-Git-Tag: v15.1.0~1742^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=655d42bcc35363d9da17c7c6c8c7c2dd3977f19d;p=ceph-ci.git doc: script/ceph-backport.sh: add "Troubleshooting notes" Signed-off-by: Nathan Cutler --- diff --git a/src/script/ceph-backport.sh b/src/script/ceph-backport.sh index 27a1f86a517..dbebfc04c61 100755 --- a/src/script/ceph-backport.sh +++ b/src/script/ceph-backport.sh @@ -9,11 +9,13 @@ # backport PR with the tracker issue. # # However, before you start, some setup is required. Please be patient and -# read carefully, all the way through to the end of this comment block, without -# skimming or skipping :-) +# read the "Setup instructions" and "Instructions for use" sections, below, +# carefully. If you still have issues, you could read the "Troubleshooting +# notes" section as well. # -# Instructions for setup -# ---------------------- +# +# Setup instructions +# ------------------ # # It is strongly suggested to copy the latest version of the script (from # the "master" branch) into your PATH. In particular, do not use any version @@ -50,6 +52,7 @@ # filesystem, etc.). Without correct values for these four variables, this # script will not work! # +# # Instructions for use # -------------------- # @@ -76,7 +79,30 @@ # optionally, you can set the component label that will be added to the PR with # an environment variable: # -# COMPONENT=dashboard ceph-backport.sh 19206 jewel +# COMPONENT=dashboard ceph-backport.sh 40056 nautilus +# +# +# Troubleshooting notes +# --------------------- +# +# If the script inexplicably fails with: +# +# error: a cherry-pick or revert is already in progress +# hint: try "git cherry-pick (--continue | --quit | --abort)" +# fatal: cherry-pick failed +# +# This is because HEAD is not where git expects it to be: +# +# $ git cherry-pick --abort +# warning: You seem to have moved HEAD. Not rewinding, check your HEAD! +# +# This can be fixed by issuing the command: +# +# $ git cherry-pick --quit +# +# +# Other backporting resources +# --------------------------- # # See https://tracker.ceph.com/projects/ceph-releases/wiki/HOWTO_backport_commits # for more info on cherry-picking.