diff --git a/modules/gerrit/files/scripts/manage_projects.py b/modules/gerrit/files/scripts/manage_projects.py index 9efdfb5fc2..cf88fb3e3e 100755 --- a/modules/gerrit/files/scripts/manage_projects.py +++ b/modules/gerrit/files/scripts/manage_projects.py @@ -237,7 +237,11 @@ try: has_issues = 'has-issues' in options or default_has_issues has_downloads = 'has-downloads' in options or default_has_downloads has_wiki = 'has-wiki' in options or default_has_wiki - org = orgs_dict[project_split[0].lower()] + try: + org = orgs_dict[project_split[0].lower()] + except KeyError: + # We do not have control of this github org ignore the project. + continue try: repo = org.get_repo(repo_name) except github.GithubException: diff --git a/modules/openstack_project/templates/review-dev.projects.yaml.erb b/modules/openstack_project/templates/review-dev.projects.yaml.erb index 29c580575a..cfcea96f70 100644 --- a/modules/openstack_project/templates/review-dev.projects.yaml.erb +++ b/modules/openstack_project/templates/review-dev.projects.yaml.erb @@ -9,6 +9,7 @@ has-downloads: False --- - project: gtest-org/gtest +- project: completely-bogus-org/test - project: gtest-org/test - project: gtest-org/test2 - project: gtest-org/test3