Add troubleshooting section to github

Create a section about how to fix the replication problems
to github, when gerrit team member needs to be added to the
project.

Change-Id: Ic3354b7c1d49ebdd6294698ab32062421f3c5569
This commit is contained in:
Yolanda Robla 2016-02-18 10:51:13 +01:00
parent d78e3d66f5
commit 0471bfb40d

View File

@ -131,6 +131,26 @@ keys. e.g.::
sudo su - gerrit2 sudo su - gerrit2
ssh github.com ssh github.com
Troubleshooting
---------------
When creating a new project, there can be times where the :ref:`jeepyb`
automation to create the GitHub project can fail, and leave the project
improperly configured.
This can cause replication to GitHub to fail. The project in GitHub will
be created, but will appear empty. When trying replication from Gerrit,
it will show a `Permission denied` error when trying to push content.
To solve that, following steps are needed:
#. Login into github.com, using openstack-project-creator user.
#. Navigate to the failed repository, and enter on Settings > Collaborators
& teams option.
#. Add Gerrit as Team member to that project.
After the team has been added, project will start replicating successfully
to GitHub.
Auto Review Expiry Auto Review Expiry
================== ==================