Page MenuHomePhabricator

@scfc cannot add a user to the Tools project: "You must be a member of the projectadmin role in project to perform this action."
Closed, ResolvedPublic

Description

I want to add a user to the Tools project. When I go to https://wikitech.wikimedia.org/w/index.php?title=Special:NovaProject&action=addmember&projectname=tools&member=Tulsi%20Bhagat, it says:

projectadmin role required in project

You must be a member of the projectadmin role in project to perform this action.

Event Timeline

scfc raised the priority of this task from to Unbreak Now!.
scfc updated the task description. (Show Details)
scfc added a subscriber: scfc.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

I have removed and re-added you as projectadmin. Does that help?

No; I logged out of wikitech.wikimedia.org and back in again and the error remains. Do you not see that error message as well?

Looking at https://wikitech.wikimedia.org/wiki/Labs_keystone_roles#A_labs_user_.27foo.27_who_is_an_admin_in_project_.27bar.27_2, I am not sure if I'm supposed to be able to add users to the Tools project after the Keystone backend change.

Change 270549 had a related patch set uploaded (by Alex Monk):
OpenStackNovaUser: set $this->username to the actual username, always

https://gerrit.wikimedia.org/r/270549

I put the above commit on wikitech - what about now?

The error message says: "You must be a member of the projectadmin role in project to perform this action." (Note the missing project after "in project".) Perhaps the project variable is not set?

Change 270549 merged by jenkins-bot:
OpenStackNovaUser: set $this->username to the actual username, always

https://gerrit.wikimedia.org/r/270549

Change 270640 had a related patch set uploaded (by Andrew Bogott):
OpenStackNovaUser: set $this->username to the actual username, always

https://gerrit.wikimedia.org/r/270640

Change 270640 merged by jenkins-bot:
OpenStackNovaUser: set $this->username to the actual username, always

https://gerrit.wikimedia.org/r/270640

IRC showed that the error (inter alia) lied in the parameter "projectname" in the given URL, as OpenStackManager now uses "projectid". I have updated the template with https://wikitech.wikimedia.org/w/index.php?title=Template:Tools_Access_Request&diff=305770&oldid=167962 (and my Emacs function).

@Krenair, I assume this is now resolved?

Krenair claimed this task.

Ohhh.... You were getting to that page not from NovaProject, but from your own link. I just checked and it's giving correct links.