koschei-backend: Connect to Koji hub using public DNS name
We want to use koji02 hub for performance reasons - to reduce load on koji01. But because of how Kerberos auth works, we must connect to it as 'koji.fedoraproject.org', thus hosts entry is added, pointing koji.fedoraproject.org to koji02.
This commit is contained in:
parent
0336b94ea6
commit
debc8c9550
2 changed files with 6 additions and 1 deletions
|
@ -9,7 +9,7 @@ num_cpus: 4
|
|||
|
||||
koschei_topurl: https://apps.fedoraproject.org/koschei
|
||||
koschei_pgsql_hostname: db01.phx2.fedoraproject.org
|
||||
koschei_koji_hub: koji02.phx2.fedoraproject.org
|
||||
koschei_koji_hub: koji.fedoraproject.org
|
||||
koschei_kojipkgs: kojipkgs.fedoraproject.org
|
||||
koschei_koji_web: koji.fedoraproject.org
|
||||
|
||||
|
|
5
roles/hosts/files/koschei-backend-hosts
Normal file
5
roles/hosts/files/koschei-backend-hosts
Normal file
|
@ -0,0 +1,5 @@
|
|||
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
||||
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
||||
10.5.126.23 infrastructure.fedoraproject.org
|
||||
# Use koji02 as Koji hub to offload primary koji01 hub a bit
|
||||
10.5.125.62 koji.fedoraproject.org
|
Loading…
Add table
Add a link
Reference in a new issue