•  
      request #11414 From Tuleap Gerrit REST driver: Unable to create group
    Infos
    #11414
    Alaney Dória (alaney)
    2018-04-17 20:44
    2018-04-17 20:44
    11732
    Details
    From Tuleap Gerrit REST driver: Unable to create group
    Hi,
    I'm having the following problem to be able to migrate project repository from tuleap to gerrit. Does someone have an hint. I followed the tuleap manual about code review with gerrit.

    2018-04-17T19:56:38+02:00 [8195] [error] Gerrit REST driver: Unable to create group testproject/project_admins: Client error response
    [status code] 401
    [reason phrase] Unauthorized
    [url] https://mylocaldomain/a/groups/testproject%2Fproject_admins
    2018-04-17T19:56:38+02:00 [8195] [error] Gerrit: Permissions-only project testproject not created: Client error response
    [status code] 401
    [reason phrase] Unauthorized
    [url] https://mylocaldomain/a/projects/testproject
    2018-04-17T19:56:38+02:00 [8195] [error] Gerrit failure: repo: #1, remote server: #1 Alaney Dória: Gerrit: Permissions-only project testproject not created: Client error response
    [status code] 401
    [reason phrase] Unauthorized
    [url] https://mylocaldomain/a/projects/testproject:
    #0 /usr/share/tuleap/plugins/git/include/Git/Driver/GerritREST.class.php(116): Git_Driver_GerritREST->throwGerritException('Gerrit: Permiss...')
    #1 /usr/share/tuleap/plugins/git/include/Git/Driver/Gerrit/UmbrellaProjectManager.class.php(122): Git_Driver_GerritREST->createProjectWithPermissionsOnly(Object(Git_RemoteServer_GerritServer), Object(Project), 'testproject/pro...')
    #2 /usr/share/tuleap/plugins/git/include/Git/Driver/Gerrit/UmbrellaProjectManager.class.php(63): Git_Driver_Gerrit_UmbrellaProjectManager->createProjectOnServers(Array, Object(Project))
    #3 /usr/share/tuleap/plugins/git/include/Git/Driver/Gerrit/ProjectCreator.class.php(154): Git_Driver_Gerrit_UmbrellaProjectManager->recursivelyCreateUmbrellaProjects(Array, Object(Project))
    #4 /usr/share/tuleap/plugins/git/include/events/SystemEvent_GIT_GERRIT_MIGRATION.class.php(66): Git_Driver_Gerrit_ProjectCreator->createGerritProject(Object(Git_RemoteServer_GerritServer), Object(GitRepository), 'default')
    #5 /usr/share/tuleap/src/common/system_event/SystemEventProcessor.class.php(99): SystemEvent_GIT_GERRIT_MIGRATION->process()
    #6 /usr/share/tuleap/src/common/system_event/SystemEventProcessor.class.php(81): SystemEventProcessor->executeSystemEvent(Object(SystemEvent_GIT_GERRIT_MIGRATION))
    #7 /usr/share/tuleap/src/common/system_event/SystemEventProcessor.class.php(63): SystemEventProcessor->loopOverEventsForOwner('app', 'git')
    #8 /usr/share/tuleap/src/common/system_event/SystemEventProcessorMutex.class.php(74): SystemEventProcessor->execute('git')
    #9 /usr/share/tuleap/src/common/system_event/SystemEventProcessorMutex.class.php(55): SystemEventProcessorMutex->executeWithPidFile(Object(SystemEventProcessCustomQueue))
    #10 /usr/share/tuleap/src/utils/process_system_events.php(32): SystemEventProcessorMutex->execute()
    #11 {main}
    SCM/Gerrit
    9.19
    CentOS 6
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    New
    Empty
    Attachments
    Empty
    References
    References list is empty