Bug 1490775 - [3.12] does not have the permission for tagging
Summary: [3.12] does not have the permission for tagging
Alias: None
Product: GlusterFS
Classification: Community
Component: project-infrastructure
Version: mainline
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2017-09-12 08:31 UTC by Jiffin
Modified: 2017-09-12 12:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2017-09-12 08:53:27 UTC
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:

Attachments (Terms of Use)

Description Jiffin 2017-09-12 08:31:34 UTC
Description of problem:
Not able to push tag created into release branch 3.12
# git tag v3.12.1a release-3.12
# git push --tags origin release-3.12
Total 0 (delta 0), reused 0 (delta 0)
remote: Processing changes: refs: 1, done    
To ssh://thotz@git.gluster.org/glusterfs
 ! [remote rejected] v3.12.1a -> v3.12.1a (prohibited by Gerrit)
error: failed to push some refs to 'ssh://thotz@git.gluster.org/glusterfs'
Version-Release number of selected component (if applicable):
release 3.12

How reproducible:

Additional info:
Only permission for tagging is not available, but I can run submit patches, run release job etc.

Comment 1 Jiffin 2017-09-12 08:53:27 UTC
After discussing issue with talur,  he have mentioned we need to provide message for tagging otherwise gerrit will reject. 
 "git tag -m "3.10.2 GA" v3.10.2"

Hence for the time being closing this bug, will reopen the bug if issues again hit

Comment 2 Nigel Babu 2017-09-12 11:37:00 UTC
Both Jiffin and I expected an editor to pop up when you do the git-tag command without a message. That didn't happen and lead to the issue.

Comment 3 Niels de Vos 2017-09-12 12:04:24 UTC
It is recommended to sign a tag with a gpg key. In that case, "git tag -s ..." will show the usual editor.

Comment 4 Shyamsundar 2017-09-12 12:10:40 UTC
@jiffin, @talur, we have: https://hackmd.io/JwQwZgphBMCsAsBaAzAYxMR8wEYAciwA7MhIgEbnwAm1ycss0EQA# from Kaushal which we follow religiously to tag and create release branches.

This is cross referenced here: https://hackmd.io/IwEwnArApmYIYFoDGAjEUEBYSYgucAZosMAAwhnBRkBMUuQA#

It would be nice if we used these instructions, and improved on them.

Note You need to log in before you can comment on or make changes to this bug.