My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2853: Include Registered Users on group thorugh ssh command set-members does not work
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by leand...@motorola.com, Aug 21, 2014
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.    *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS!  *****
************************************************************

- Affected Version: 2.8.4

- What steps will reproduce the problem?

1. Trying to include Registered Users on group using set-members ssh command:

ssh -p 29418 <gerrit server> gerrit set-members GroupA --include '"Registered Users"'
fatal: internal server error

Log from error_log:

[2014-08-21 09:28:35,234] ERROR com.google.gerrit.sshd.BaseCommand : Internal server error (user <my user> account <my account id>) during gerrit set-members GroupA --include "Registered Users"
com.google.gerrit.extensions.restapi.UnprocessableEntityException: Group Not Found: global%3ARegistered-Users
	at com.google.gerrit.server.group.GroupsCollection.parse(GroupsCollection.java:111)
	at com.google.gerrit.server.group.AddIncludedGroups.apply(AddIncludedGroups.java:105)
	at com.google.gerrit.sshd.commands.SetMembersCommand.run(SetMembersCommand.java:104)
	at com.google.gerrit.sshd.SshCommand$1.run(SshCommand.java:35)
	at com.google.gerrit.sshd.BaseCommand$TaskThunk.run(BaseCommand.java:442)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
	at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:364)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)



- What is the expected output? What do you see instead?

Same command works fine with other group different than Registered Users:

ssh -p 29418 <gerrit server> gerrit set-members GroupA --exclude '"Spaced Name Group"'
Groups excluded from group GroupA: Spaced Name Group




Sign in to add a comment

Powered by Google Project Hosting