Can't edit service account

53 views
Skip to first unread message

Jungho Ahn

unread,
Apr 26, 2017, 9:06:43 PM4/26/17
to Repo and Gerrit Discussion
Hello,

I couldn't access (edit) a service account although I created it and I'm admin too.
When I click the service account, I got "The page you requested was not found, or you do not have permission to view this page.".
I'm using 2.14. How can I edit it? I'd like to change ssh key.

Thanks,

Matthew Webber

unread,
Apr 27, 2017, 4:06:23 AM4/27/17
to Repo and Gerrit Discussion

Jungho Ahn

unread,
Apr 27, 2017, 4:55:37 AM4/27/17
to Repo and Gerrit Discussion
Thanks! I could update the ssh with it using set-account command.
But I still wonder why I don't have this permission on UI. Is it a bug?

Matthew Webber

unread,
Apr 27, 2017, 5:28:10 AM4/27/17
to Repo and Gerrit Discussion
Where exactly on the UI did you "click the service account", and what page did it try and take you to?

Jungho Ahn

unread,
Apr 27, 2017, 1:33:37 PM4/27/17
to Matthew Webber, Repo and Gerrit Discussion
oh, I installed serviceuser plugin.
I clicked 'jenkins' in Service Users and got the second screen shot.

Inline image 1Inline image 2

--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to a topic in the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/repo-discuss/76dDi_uauYw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to repo-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Jungho

Marc HERMAN

unread,
Jun 7, 2017, 8:49:57 AM6/7/17
to Repo and Gerrit Discussion, mat...@unsolvable.org
I have exactly the same issue.

Gerrit 2.14
serviceuser plugin 2.14 (67f3760)

When I look into http log, I have:
10.242.142.105 - toto [07/Jun/2017:14:44:58 +0200] "GET /config/server/serviceuser~serviceusers HTTP/1.1" 200 631 "http://gerrit_host/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"
10.242.142.105 - toto [07/Jun/2017:14:45:00 +0200] "GET /config/server/serviceuser~serviceusers/test HTTP/1.1" 200 303 "http://gerrit_host/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"
10.242.142.105 - toto [07/Jun/2017:14:45:00 +0200] "GET /config/server/serviceuser~serviceusers/test/password.http HTTP/1.1" 404 25 "http://gerrit_host/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"

Someone can help me ? please

--
Marc

Le jeudi 27 avril 2017 19:33:37 UTC+2, Jungho Ahn a écrit :
oh, I installed serviceuser plugin.
I clicked 'jenkins' in Service Users and got the second screen shot.

Inline image 1Inline image 2
On Thu, Apr 27, 2017 at 2:28 AM, Matthew Webber <mat...@unsolvable.org> wrote:
Where exactly on the UI did you "click the service account", and what page did it try and take you to?

On Thursday, April 27, 2017 at 9:55:37 AM UTC+1, Jungho Ahn wrote:
Thanks! I could update the ssh with it using set-account command.
But I still wonder why I don't have this permission on UI. Is it a bug?

--
--
To unsubscribe, email repo-discuss...@googlegroups.com

More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to a topic in the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/repo-discuss/76dDi_uauYw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to repo-discuss...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Jungho

Matthew Webber

unread,
Jun 7, 2017, 9:03:49 AM6/7/17
to Repo and Gerrit Discussion, mat...@unsolvable.org
On Wednesday, June 7, 2017 at 1:49:57 PM UTC+1, Marc HERMAN wrote:
I have exactly the same issue.

All I can suggest is:
  1. Open a bug report with the maintainer of the serviceuser plugin
  2. Use the work-around I described in the second comment of this thread.
Matthew

Björn Pedersen

unread,
Jun 7, 2017, 11:30:13 AM6/7/17
to Repo and Gerrit Discussion, mat...@unsolvable.org
Hi,

I think I found the root course:
The httppasswd rest endpoint has been removed (the code in gerrit that was necessary has been removed),  but the corresponding part in the web ui is still left.
See https://gerrit-review.googlesource.com/#/c/99738/

I'll try to find a fix...
 -> https://gerrit-review.googlesource.com/109193

Björn

Marc HERMAN

unread,
Jun 8, 2017, 12:03:28 PM6/8/17
to Repo and Gerrit Discussion, mat...@unsolvable.org
It works now :)
Thanks a lot !!
Reply all
Reply to author
Forward
0 new messages