Re: FBR: Forward trees from docs-old

2017-09-27 Thread Kevin Fenzi
+1 here

kevin



signature.asc
Description: OpenPGP digital signature
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org


Re: FBR: Forward trees from docs-old

2017-09-27 Thread Stephen John Smoogen
+1

On 27 September 2017 at 11:27, Patrick  マルタインアンドレアス  Uiterwijk
 wrote:
> You are correct, updated patch:
>
> commit 9c67c7019b4ea370548ebab4f408b46dc214f243 (HEAD -> master)
> Author: Patrick Uiterwijk 
> Date:   Wed Sep 27 17:14:07 2017 +0200
>
> Redirect old docs urls to docs-old
>
> Signed-off-by: Patrick Uiterwijk 
>
> diff --git a/roles/fedora-docs/proxy/files/fedora-docs-old.conf 
> b/roles/fedora-docs/proxy/files/fedora-docs-old.conf
> new file mode 100644
> index 0..b5de6d4c8
> --- /dev/null
> +++ b/roles/fedora-docs/proxy/files/fedora-docs-old.conf
> @@ -0,0 +1,124 @@
> +Redirect permanent "/af" "https://docs-old.fedoraproject.org/af;
> +Redirect permanent "/af_ZA" "https://docs-old.fedoraproject.org/af_ZA;
> +Redirect permanent "/aln-AL" "https://docs-old.fedoraproject.org/aln-AL;
> +Redirect permanent "/am" "https://docs-old.fedoraproject.org/am;
> +Redirect permanent "/ar-SA" "https://docs-old.fedoraproject.org/ar-SA;
> +Redirect permanent "/as-IN" "https://docs-old.fedoraproject.org/as-IN;
> +Redirect permanent "/ast-ES" "https://docs-old.fedoraproject.org/ast-ES;
> +Redirect permanent "/az" "https://docs-old.fedoraproject.org/az;
> +Redirect permanent "/bal-PK" "https://docs-old.fedoraproject.org/bal-PK;
> +Redirect permanent "/be" "https://docs-old.fedoraproject.org/be;
> +Redirect permanent "/bg-BG" "https://docs-old.fedoraproject.org/bg-BG;
> +Redirect permanent "/bn-BD" "https://docs-old.fedoraproject.org/bn-BD;
> +Redirect permanent "/bn-IN" "https://docs-old.fedoraproject.org/bn-IN;
> +Redirect permanent "/bo" "https://docs-old.fedoraproject.org/bo;
> +Redirect permanent "/br" "https://docs-old.fedoraproject.org/br;
> +Redirect permanent "/brx" "https://docs-old.fedoraproject.org/brx;
> +Redirect permanent "/bs-BA" "https://docs-old.fedoraproject.org/bs-BA;
> +Redirect permanent "/ca-ES" "https://docs-old.fedoraproject.org/ca-ES;
> +Redirect permanent "/cs_CZ" "https://docs-old.fedoraproject.org/cs_CZ;
> +Redirect permanent "/cs-CZ" "https://docs-old.fedoraproject.org/cs-CZ;
> +Redirect permanent "/cy" "https://docs-old.fedoraproject.org/cy;
> +Redirect permanent "/da-DK" "https://docs-old.fedoraproject.org/da-DK;
> +Redirect permanent "/de-CH" "https://docs-old.fedoraproject.org/de-CH;
> +Redirect permanent "/de-DE" "https://docs-old.fedoraproject.org/de-DE;
> +Redirect permanent "/dz" "https://docs-old.fedoraproject.org/dz;
> +Redirect permanent "/el-GR" "https://docs-old.fedoraproject.org/el-GR;
> +Redirect permanent "/en-GB" "https://docs-old.fedoraproject.org/en-GB;
> +Redirect permanent "/en_US" "https://docs-old.fedoraproject.org/en_US;
> +Redirect permanent "/en-US" "https://docs-old.fedoraproject.org/en-US;
> +Redirect permanent "/eo" "https://docs-old.fedoraproject.org/eo;
> +Redirect permanent "/es_ES" "https://docs-old.fedoraproject.org/es_ES;
> +Redirect permanent "/es-ES" "https://docs-old.fedoraproject.org/es-ES;
> +Redirect permanent "/et-EE" "https://docs-old.fedoraproject.org/et-EE;
> +Redirect permanent "/eu_ES" "https://docs-old.fedoraproject.org/eu_ES;
> +Redirect permanent "/eu-ES" "https://docs-old.fedoraproject.org/eu-ES;
> +Redirect permanent "/fa_IR" "https://docs-old.fedoraproject.org/fa_IR;
> +Redirect permanent "/fa-IR" "https://docs-old.fedoraproject.org/fa-IR;
> +Redirect permanent "/fi-FI" "https://docs-old.fedoraproject.org/fi-FI;
> +Redirect permanent "/fr-FR" "https://docs-old.fedoraproject.org/fr-FR;
> +Redirect permanent "/ga" "https://docs-old.fedoraproject.org/ga;
> +Redirect permanent "/gl-ES" "https://docs-old.fedoraproject.org/gl-ES;
> +Redirect permanent "/gu-IN" "https://docs-old.fedoraproject.org/gu-IN;
> +Redirect permanent "/he-IL" "https://docs-old.fedoraproject.org/he-IL;
> +Redirect permanent "/hi-IN" "https://docs-old.fedoraproject.org/hi-IN;
> +Redirect permanent "/hr_HR" "https://docs-old.fedoraproject.org/hr_HR;
> +Redirect permanent "/hr-HR" "https://docs-old.fedoraproject.org/hr-HR;
> +Redirect permanent "/hu-HU" "https://docs-old.fedoraproject.org/hu-HU;
> +Redirect permanent "/hy" "https://docs-old.fedoraproject.org/hy;
> +Redirect permanent "/ia" "https://docs-old.fedoraproject.org/ia;
> +Redirect permanent "/id-ID" "https://docs-old.fedoraproject.org/id-ID;
> +Redirect permanent "/ilo" "https://docs-old.fedoraproject.org/ilo;
> +Redirect permanent "/images" "https://docs-old.fedoraproject.org/images;
> +Redirect permanent "/is-IS" "https://docs-old.fedoraproject.org/is-IS;
> +Redirect permanent "/it_IT" "https://docs-old.fedoraproject.org/it_IT;
> +Redirect permanent "/it-IT" "https://docs-old.fedoraproject.org/it-IT;
> +Redirect permanent "/ja_JP" "https://docs-old.fedoraproject.org/ja_JP;
> +Redirect permanent "/ja-JP" "https://docs-old.fedoraproject.org/ja-JP;
> +Redirect permanent "/ka" "https://docs-old.fedoraproject.org/ka;
> +Redirect permanent "/kk" "https://docs-old.fedoraproject.org/kk;
> +Redirect permanent "/km" 

Re: FBR: Forward trees from docs-old

2017-09-27 Thread Brian (bex) Exelbierd
> Hi,
> 
> This should fix https://pagure.io/fedora-infrastructure/issue/6396.
> Patch is big, but I generated the actual config file with the input
> provided, and then: cat langredirs | sed -e 's./$..' | sed -E
> 's/(.*)/Redirect "\/\1"
> "https:\/\/docs-old.fedoraproject.org\/\1"/'

should these include the "permanent" keyword in order to make them 301s and not 
302s?

Thanks,

bex

> 
> Regards,
> Patrick
> 
> 
> 
> commit 65aafdc9c7303685cdec332f4ec09f44199a72bf (HEAD -> master)
> Author: Patrick Uiterwijk  Date:   Wed Sep 27 17:14:07 2017 +0200
> 
> Redirect old docs urls to docs-old
> 
> Signed-off-by: Patrick Uiterwijk  
> diff --git a/roles/fedora-docs/proxy/files/fedora-docs-old.conf
> b/roles/fedora-docs/proxy/files/fedora-docs-old.conf
> new file mode 100644
> index 0..8157284b6
> --- /dev/null
> +++ b/roles/fedora-docs/proxy/files/fedora-docs-old.conf
> @@ -0,0 +1,124 @@
> +Redirect "/af" "https://docs-old.fedoraproject.org/af;
> +Redirect "/af_ZA" "https://docs-old.fedoraproject.org/af_ZA;
> +Redirect "/aln-AL" "https://docs-old.fedoraproject.org/aln-AL;
> +Redirect "/am" "https://docs-old.fedoraproject.org/am;
> +Redirect "/ar-SA" "https://docs-old.fedoraproject.org/ar-SA;
> +Redirect "/as-IN" "https://docs-old.fedoraproject.org/as-IN;
> +Redirect "/ast-ES" "https://docs-old.fedoraproject.org/ast-ES;
> +Redirect "/az" "https://docs-old.fedoraproject.org/az;
> +Redirect "/bal-PK" "https://docs-old.fedoraproject.org/bal-PK;
> +Redirect "/be" "https://docs-old.fedoraproject.org/be;
> +Redirect "/bg-BG" "https://docs-old.fedoraproject.org/bg-BG;
> +Redirect "/bn-BD" "https://docs-old.fedoraproject.org/bn-BD;
> +Redirect "/bn-IN" "https://docs-old.fedoraproject.org/bn-IN;
> +Redirect "/bo" "https://docs-old.fedoraproject.org/bo;
> +Redirect "/br" "https://docs-old.fedoraproject.org/br;
> +Redirect "/brx" "https://docs-old.fedoraproject.org/brx;
> +Redirect "/bs-BA" "https://docs-old.fedoraproject.org/bs-BA;
> +Redirect "/ca-ES" "https://docs-old.fedoraproject.org/ca-ES;
> +Redirect "/cs_CZ" "https://docs-old.fedoraproject.org/cs_CZ;
> +Redirect "/cs-CZ" "https://docs-old.fedoraproject.org/cs-CZ;
> +Redirect "/cy" "https://docs-old.fedoraproject.org/cy;
> +Redirect "/da-DK" "https://docs-old.fedoraproject.org/da-DK;
> +Redirect "/de-CH" "https://docs-old.fedoraproject.org/de-CH;
> +Redirect "/de-DE" "https://docs-old.fedoraproject.org/de-DE;
> +Redirect "/dz" "https://docs-old.fedoraproject.org/dz;
> +Redirect "/el-GR" "https://docs-old.fedoraproject.org/el-GR;
> +Redirect "/en-GB" "https://docs-old.fedoraproject.org/en-GB;
> +Redirect "/en_US" "https://docs-old.fedoraproject.org/en_US;
> +Redirect "/en-US" "https://docs-old.fedoraproject.org/en-US;
> +Redirect "/eo" "https://docs-old.fedoraproject.org/eo;
> +Redirect "/es_ES" "https://docs-old.fedoraproject.org/es_ES;
> +Redirect "/es-ES" "https://docs-old.fedoraproject.org/es-ES;
> +Redirect "/et-EE" "https://docs-old.fedoraproject.org/et-EE;
> +Redirect "/eu_ES" "https://docs-old.fedoraproject.org/eu_ES;
> +Redirect "/eu-ES" "https://docs-old.fedoraproject.org/eu-ES;
> +Redirect "/fa_IR" "https://docs-old.fedoraproject.org/fa_IR;
> +Redirect "/fa-IR" "https://docs-old.fedoraproject.org/fa-IR;
> +Redirect "/fi-FI" "https://docs-old.fedoraproject.org/fi-FI;
> +Redirect "/fr-FR" "https://docs-old.fedoraproject.org/fr-FR;
> +Redirect "/ga" "https://docs-old.fedoraproject.org/ga;
> +Redirect "/gl-ES" "https://docs-old.fedoraproject.org/gl-ES;
> +Redirect "/gu-IN" "https://docs-old.fedoraproject.org/gu-IN;
> +Redirect "/he-IL" "https://docs-old.fedoraproject.org/he-IL;
> +Redirect "/hi-IN" "https://docs-old.fedoraproject.org/hi-IN;
> +Redirect "/hr_HR" "https://docs-old.fedoraproject.org/hr_HR;
> +Redirect "/hr-HR" "https://docs-old.fedoraproject.org/hr-HR;
> +Redirect "/hu-HU" "https://docs-old.fedoraproject.org/hu-HU;
> +Redirect "/hy" "https://docs-old.fedoraproject.org/hy;
> +Redirect "/ia" "https://docs-old.fedoraproject.org/ia;
> +Redirect "/id-ID" "https://docs-old.fedoraproject.org/id-ID;
> +Redirect "/ilo" "https://docs-old.fedoraproject.org/ilo;
> +Redirect "/images" "https://docs-old.fedoraproject.org/images;
> +Redirect "/is-IS" "https://docs-old.fedoraproject.org/is-IS;
> +Redirect "/it_IT" "https://docs-old.fedoraproject.org/it_IT;
> +Redirect "/it-IT" "https://docs-old.fedoraproject.org/it-IT;
> +Redirect "/ja_JP" "https://docs-old.fedoraproject.org/ja_JP;
> +Redirect "/ja-JP" "https://docs-old.fedoraproject.org/ja-JP;
> +Redirect "/ka" "https://docs-old.fedoraproject.org/ka;
> +Redirect "/kk" "https://docs-old.fedoraproject.org/kk;
> +Redirect "/km" "https://docs-old.fedoraproject.org/km;
> +Redirect "/kn-IN" "https://docs-old.fedoraproject.org/kn-IN;
> +Redirect "/ko-KR" "https://docs-old.fedoraproject.org/ko-KR;
> +Redirect "/ks" "https://docs-old.fedoraproject.org/ks;
> +Redirect "/ku" "https://docs-old.fedoraproject.org/ku;
> +Redirect "/ky" 

Re: [FBR]: Updating fmn-web config

2017-09-27 Thread Patrick Uiterwijk
On Wed, Sep 27, 2017 at 5:00 PM, Stephen John Smoogen  wrote:
> Discussion on IRC has patch corrected to change http back to https so +1
>

+1 with that change.

> On 27 September 2017 at 05:28, Pierre-Yves Chibon  wrote:
>> Good Morning Everyone,
>>
>> While trying to debug an issue with FMN this morning, I realized that the
>> configuration for the web front-end differs from the one of the backend and I
>> would like to harmonize them.
>>
>> This is the diff to apply:
>>
>> --- a/roles/notifs/frontend/templates/fmn.web.py
>> +++ b/roles/notifs/frontend/templates/fmn.web.py
>> @@ -29,12 +29,16 @@ config = {
>>  "fmn.email.mailserver": "bastion01.phx2.fedoraproject.org:25",
>>
>>  # Some configuration for the rule processors
>> -"fmn.rules.utils.use_pkgdb2": True,
>> -{% if env == 'staging' %}
>> +"fmn.rules.utils.use_pkgdb2": False,
>> +'fmn.rules.utils.use_pagure_for_ownership': True,
>> + {% if env == 'staging' %}
>> +'fmn.rules.utils.pagure_api_url': 
>> 'https://src.stg.fedoraproject.org/api/',
>>  "fmn.rules.utils.pkgdb_url": 
>> "https://admin.stg.fedoraproject.org/pkgdb/api;,
>>  {% else %}
>> -"fmn.rules.utils.pkgdb_url": 
>> "https://admin.fedoraproject.org/pkgdb/api;,
>> +'fmn.rules.utils.pagure_api_url': 'https://src.fedoraproject.org/api/',
>> +"fmn.rules.utils.pkgdb_url": 
>> "http://pkgdb01.phx2.fedoraproject.org/pkgdb/api;,
>>  {% endif %}
>> +
>>  "fmn.rules.cache": {
>>  "backend": "dogpile.cache.memcached",
>>  "expiration_time": 3600,  # 3600 is 1 hour
>>
>> Then apache needs to be reloaded/restarted.
>>
>> It's not quite mission critical but it would help making sure we do not miss 
>> it
>> later (though I guess we could always put it in a ticket to not forget it if 
>> we
>> prefer to wait).
>>
>>
>> Pierre
>>
>> ___
>> infrastructure mailing list -- infrastructure@lists.fedoraproject.org
>> To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
>>
>
>
>
> --
> Stephen J Smoogen.
> ___
> infrastructure mailing list -- infrastructure@lists.fedoraproject.org
> To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org


FBR: Forward trees from docs-old

2017-09-27 Thread Patrick Uiterwijk
Hi,

This should fix https://pagure.io/fedora-infrastructure/issue/6396.
Patch is big, but I generated the actual config file with the input
provided, and then: cat langredirs | sed -e 's./$..' | sed -E
's/(.*)/Redirect "\/\1" "https:\/\/docs-old.fedoraproject.org\/\1"/'
>oldredirs.conf

Regards,
Patrick



commit 65aafdc9c7303685cdec332f4ec09f44199a72bf (HEAD -> master)
Author: Patrick Uiterwijk 
Date:   Wed Sep 27 17:14:07 2017 +0200

Redirect old docs urls to docs-old

Signed-off-by: Patrick Uiterwijk 

diff --git a/roles/fedora-docs/proxy/files/fedora-docs-old.conf
b/roles/fedora-docs/proxy/files/fedora-docs-old.conf
new file mode 100644
index 0..8157284b6
--- /dev/null
+++ b/roles/fedora-docs/proxy/files/fedora-docs-old.conf
@@ -0,0 +1,124 @@
+Redirect "/af" "https://docs-old.fedoraproject.org/af;
+Redirect "/af_ZA" "https://docs-old.fedoraproject.org/af_ZA;
+Redirect "/aln-AL" "https://docs-old.fedoraproject.org/aln-AL;
+Redirect "/am" "https://docs-old.fedoraproject.org/am;
+Redirect "/ar-SA" "https://docs-old.fedoraproject.org/ar-SA;
+Redirect "/as-IN" "https://docs-old.fedoraproject.org/as-IN;
+Redirect "/ast-ES" "https://docs-old.fedoraproject.org/ast-ES;
+Redirect "/az" "https://docs-old.fedoraproject.org/az;
+Redirect "/bal-PK" "https://docs-old.fedoraproject.org/bal-PK;
+Redirect "/be" "https://docs-old.fedoraproject.org/be;
+Redirect "/bg-BG" "https://docs-old.fedoraproject.org/bg-BG;
+Redirect "/bn-BD" "https://docs-old.fedoraproject.org/bn-BD;
+Redirect "/bn-IN" "https://docs-old.fedoraproject.org/bn-IN;
+Redirect "/bo" "https://docs-old.fedoraproject.org/bo;
+Redirect "/br" "https://docs-old.fedoraproject.org/br;
+Redirect "/brx" "https://docs-old.fedoraproject.org/brx;
+Redirect "/bs-BA" "https://docs-old.fedoraproject.org/bs-BA;
+Redirect "/ca-ES" "https://docs-old.fedoraproject.org/ca-ES;
+Redirect "/cs_CZ" "https://docs-old.fedoraproject.org/cs_CZ;
+Redirect "/cs-CZ" "https://docs-old.fedoraproject.org/cs-CZ;
+Redirect "/cy" "https://docs-old.fedoraproject.org/cy;
+Redirect "/da-DK" "https://docs-old.fedoraproject.org/da-DK;
+Redirect "/de-CH" "https://docs-old.fedoraproject.org/de-CH;
+Redirect "/de-DE" "https://docs-old.fedoraproject.org/de-DE;
+Redirect "/dz" "https://docs-old.fedoraproject.org/dz;
+Redirect "/el-GR" "https://docs-old.fedoraproject.org/el-GR;
+Redirect "/en-GB" "https://docs-old.fedoraproject.org/en-GB;
+Redirect "/en_US" "https://docs-old.fedoraproject.org/en_US;
+Redirect "/en-US" "https://docs-old.fedoraproject.org/en-US;
+Redirect "/eo" "https://docs-old.fedoraproject.org/eo;
+Redirect "/es_ES" "https://docs-old.fedoraproject.org/es_ES;
+Redirect "/es-ES" "https://docs-old.fedoraproject.org/es-ES;
+Redirect "/et-EE" "https://docs-old.fedoraproject.org/et-EE;
+Redirect "/eu_ES" "https://docs-old.fedoraproject.org/eu_ES;
+Redirect "/eu-ES" "https://docs-old.fedoraproject.org/eu-ES;
+Redirect "/fa_IR" "https://docs-old.fedoraproject.org/fa_IR;
+Redirect "/fa-IR" "https://docs-old.fedoraproject.org/fa-IR;
+Redirect "/fi-FI" "https://docs-old.fedoraproject.org/fi-FI;
+Redirect "/fr-FR" "https://docs-old.fedoraproject.org/fr-FR;
+Redirect "/ga" "https://docs-old.fedoraproject.org/ga;
+Redirect "/gl-ES" "https://docs-old.fedoraproject.org/gl-ES;
+Redirect "/gu-IN" "https://docs-old.fedoraproject.org/gu-IN;
+Redirect "/he-IL" "https://docs-old.fedoraproject.org/he-IL;
+Redirect "/hi-IN" "https://docs-old.fedoraproject.org/hi-IN;
+Redirect "/hr_HR" "https://docs-old.fedoraproject.org/hr_HR;
+Redirect "/hr-HR" "https://docs-old.fedoraproject.org/hr-HR;
+Redirect "/hu-HU" "https://docs-old.fedoraproject.org/hu-HU;
+Redirect "/hy" "https://docs-old.fedoraproject.org/hy;
+Redirect "/ia" "https://docs-old.fedoraproject.org/ia;
+Redirect "/id-ID" "https://docs-old.fedoraproject.org/id-ID;
+Redirect "/ilo" "https://docs-old.fedoraproject.org/ilo;
+Redirect "/images" "https://docs-old.fedoraproject.org/images;
+Redirect "/is-IS" "https://docs-old.fedoraproject.org/is-IS;
+Redirect "/it_IT" "https://docs-old.fedoraproject.org/it_IT;
+Redirect "/it-IT" "https://docs-old.fedoraproject.org/it-IT;
+Redirect "/ja_JP" "https://docs-old.fedoraproject.org/ja_JP;
+Redirect "/ja-JP" "https://docs-old.fedoraproject.org/ja-JP;
+Redirect "/ka" "https://docs-old.fedoraproject.org/ka;
+Redirect "/kk" "https://docs-old.fedoraproject.org/kk;
+Redirect "/km" "https://docs-old.fedoraproject.org/km;
+Redirect "/kn-IN" "https://docs-old.fedoraproject.org/kn-IN;
+Redirect "/ko-KR" "https://docs-old.fedoraproject.org/ko-KR;
+Redirect "/ks" "https://docs-old.fedoraproject.org/ks;
+Redirect "/ku" "https://docs-old.fedoraproject.org/ku;
+Redirect "/ky" "https://docs-old.fedoraproject.org/ky;
+Redirect "/la" "https://docs-old.fedoraproject.org/la;
+Redirect "/lo" "https://docs-old.fedoraproject.org/lo;
+Redirect "/lt-LT" "https://docs-old.fedoraproject.org/lt-LT;
+Redirect "/lv-LT" "https://docs-old.fedoraproject.org/lv-LT;
+Redirect "/lv-LV" 

Re: [FBR]: Updating fmn-web config

2017-09-27 Thread Stephen John Smoogen
Discussion on IRC has patch corrected to change http back to https so +1

On 27 September 2017 at 05:28, Pierre-Yves Chibon  wrote:
> Good Morning Everyone,
>
> While trying to debug an issue with FMN this morning, I realized that the
> configuration for the web front-end differs from the one of the backend and I
> would like to harmonize them.
>
> This is the diff to apply:
>
> --- a/roles/notifs/frontend/templates/fmn.web.py
> +++ b/roles/notifs/frontend/templates/fmn.web.py
> @@ -29,12 +29,16 @@ config = {
>  "fmn.email.mailserver": "bastion01.phx2.fedoraproject.org:25",
>
>  # Some configuration for the rule processors
> -"fmn.rules.utils.use_pkgdb2": True,
> -{% if env == 'staging' %}
> +"fmn.rules.utils.use_pkgdb2": False,
> +'fmn.rules.utils.use_pagure_for_ownership': True,
> + {% if env == 'staging' %}
> +'fmn.rules.utils.pagure_api_url': 
> 'https://src.stg.fedoraproject.org/api/',
>  "fmn.rules.utils.pkgdb_url": 
> "https://admin.stg.fedoraproject.org/pkgdb/api;,
>  {% else %}
> -"fmn.rules.utils.pkgdb_url": "https://admin.fedoraproject.org/pkgdb/api;,
> +'fmn.rules.utils.pagure_api_url': 'https://src.fedoraproject.org/api/',
> +"fmn.rules.utils.pkgdb_url": 
> "http://pkgdb01.phx2.fedoraproject.org/pkgdb/api;,
>  {% endif %}
> +
>  "fmn.rules.cache": {
>  "backend": "dogpile.cache.memcached",
>  "expiration_time": 3600,  # 3600 is 1 hour
>
> Then apache needs to be reloaded/restarted.
>
> It's not quite mission critical but it would help making sure we do not miss 
> it
> later (though I guess we could always put it in a ticket to not forget it if 
> we
> prefer to wait).
>
>
> Pierre
>
> ___
> infrastructure mailing list -- infrastructure@lists.fedoraproject.org
> To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
>



-- 
Stephen J Smoogen.
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org


Re: FBR: Allow emails to projectatomic.io

2017-09-27 Thread Stephen John Smoogen
+1 though I expect all of our secondary domains need to be in here as
this is whack-a-mole otherwise.

On 27 September 2017 at 10:51, Patrick Uiterwijk  wrote:
> Hi,
>
> So, it turns out that projectatomic.io is also one of the annoying
> domains setup in a way that our int->ext->int routing to RH dns
> servers is denying lookups.
> Can I get +1s to add the same workaround for pa.io as we have for other 
> domains?
>
> Regards,
> Patrick
>
> commit f8c14845315cd64adae36dbb6df93419699cd779
> Author: Patrick Uiterwijk 
> Date:   Wed Sep 27 14:49:28 2017 +
>
> Also use the internal shortcut for projectatomic.io
>
> Signed-off-by: Patrick Uiterwijk 
>
> diff --git a/roles/dns/files/named.conf b/roles/dns/files/named.conf
> index a707f34..b4a0127 100644
> --- a/roles/dns/files/named.conf
> +++ b/roles/dns/files/named.conf
> @@ -264,6 +264,12 @@ view "PHX2" {
> forwarders { 152.19.134.150; 140.211.169.201; 66.35.62.163; };
>   };
>
> + zone "projectatomic.io" {
> +   type forward;
> +   forward only;
> +   forwarders { 10.5.26.20; 10.5.26.21; };
> + };
> +
>   zone "beaker-project.org" {
> type forward;
> forward only;
> ___
> infrastructure mailing list -- infrastructure@lists.fedoraproject.org
> To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org



-- 
Stephen J Smoogen.
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org


Re: FBR: Allow emails to projectatomic.io

2017-09-27 Thread Pierre-Yves Chibon
On Wed, Sep 27, 2017 at 04:51:14PM +0200, Patrick Uiterwijk wrote:
> Hi,
> 
> So, it turns out that projectatomic.io is also one of the annoying
> domains setup in a way that our int->ext->int routing to RH dns
> servers is denying lookups.
> Can I get +1s to add the same workaround for pa.io as we have for other 
> domains?
> 
> Regards,
> Patrick
> 
> commit f8c14845315cd64adae36dbb6df93419699cd779
> Author: Patrick Uiterwijk 
> Date:   Wed Sep 27 14:49:28 2017 +
> 
> Also use the internal shortcut for projectatomic.io
> 
> Signed-off-by: Patrick Uiterwijk 
> 
> diff --git a/roles/dns/files/named.conf b/roles/dns/files/named.conf
> index a707f34..b4a0127 100644
> --- a/roles/dns/files/named.conf
> +++ b/roles/dns/files/named.conf
> @@ -264,6 +264,12 @@ view "PHX2" {
> forwarders { 152.19.134.150; 140.211.169.201; 66.35.62.163; };
>   };
> 
> + zone "projectatomic.io" {
> +   type forward;
> +   forward only;
> +   forwarders { 10.5.26.20; 10.5.26.21; };
> + };
> +
>   zone "beaker-project.org" {
> type forward;
> forward only;

+1 for me


Pierre


signature.asc
Description: PGP signature
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org


Re: FBR: Allow emails to projectatomic.io

2017-09-27 Thread Dusty Mabe


On 09/27/2017 10:51 AM, Patrick Uiterwijk wrote:
> Hi,
> 
> So, it turns out that projectatomic.io is also one of the annoying
> domains setup in a way that our int->ext->int routing to RH dns
> servers is denying lookups.
> Can I get +1s to add the same workaround for pa.io as we have for other 
> domains?
> 

+1, even though it doesn't count

This will theoretically fix: https://pagure.io/atomic-wg/issue/325

Dusty
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org


FBR: Allow emails to projectatomic.io

2017-09-27 Thread Patrick Uiterwijk
Hi,

So, it turns out that projectatomic.io is also one of the annoying
domains setup in a way that our int->ext->int routing to RH dns
servers is denying lookups.
Can I get +1s to add the same workaround for pa.io as we have for other domains?

Regards,
Patrick

commit f8c14845315cd64adae36dbb6df93419699cd779
Author: Patrick Uiterwijk 
Date:   Wed Sep 27 14:49:28 2017 +

Also use the internal shortcut for projectatomic.io

Signed-off-by: Patrick Uiterwijk 

diff --git a/roles/dns/files/named.conf b/roles/dns/files/named.conf
index a707f34..b4a0127 100644
--- a/roles/dns/files/named.conf
+++ b/roles/dns/files/named.conf
@@ -264,6 +264,12 @@ view "PHX2" {
forwarders { 152.19.134.150; 140.211.169.201; 66.35.62.163; };
  };

+ zone "projectatomic.io" {
+   type forward;
+   forward only;
+   forwarders { 10.5.26.20; 10.5.26.21; };
+ };
+
  zone "beaker-project.org" {
type forward;
forward only;
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org


Re: FBR: Allow RH Brno to sync from tier0 mirrors

2017-09-27 Thread Stephen John Smoogen
+1 to the change

On 27 September 2017 at 10:26, Stephen John Smoogen  wrote:
> The old ips are not valid and I believe are owned by someone else now.
>
> On 27 September 2017 at 10:23, Pierre-Yves Chibon  wrote:
>> On Wed, Sep 27, 2017 at 04:19:35PM +0200, Patrick Uiterwijk wrote:
>>> Hi all,
>>>
>>> Can I get +1s for the following patch to allow the new Red Hat Brno IP
>>> to sync from tier0 mirrors for QA purposes?
>>>
>>> Patrick
>>>
>>>
>>> commit 7adb2be60899a2f482f1e5cf9a2c012e1d4eb789 (HEAD -> master)
>>> Author: Patrick Uiterwijk 
>>> Date:   Wed Sep 27 16:18:33 2017 +0200
>>>
>>> Allow Brno to sync from master mirrors
>>>
>>> Signed-off-by: Patrick Uiterwijk 
>>>
>>> diff --git a/inventory/group_vars/download b/inventory/group_vars/download
>>> index 403918272..aaf36825e 100644
>>> --- a/inventory/group_vars/download
>>> +++ b/inventory/group_vars/download
>>> @@ -11,6 +11,7 @@ dl_tier1:
>>>- 140.247.173.57 #
>>> pool-computing-servers.seas.harvard.edu.
>>>- 149.11.118.8/29# Red Hat CZ
>>>- 154.45.192.0/29# Red Hat CZ New
>>> +  - 91.209.10.253  # Red Hat CZ New Newer
>>>- 152.19.134.145 # vm6.fedora.ibiblio.org.
>>>- 152.19.134.195 # vm15.fedora.ibiblio.org.
>>>- 182.255.111.7  # dksn-k4.cdn.aarnet.edu.au.
>>
>> Are the old IPs still valid?
>>
>> +1 regardless, we can always clean post-freeze if needed/desired.
>>
>>
>> Pierre
>>
>> ___
>> infrastructure mailing list -- infrastructure@lists.fedoraproject.org
>> To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
>>
>
>
>
> --
> Stephen J Smoogen.



-- 
Stephen J Smoogen.
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org


Re: FBR: Allow RH Brno to sync from tier0 mirrors

2017-09-27 Thread Stephen John Smoogen
The old ips are not valid and I believe are owned by someone else now.

On 27 September 2017 at 10:23, Pierre-Yves Chibon  wrote:
> On Wed, Sep 27, 2017 at 04:19:35PM +0200, Patrick Uiterwijk wrote:
>> Hi all,
>>
>> Can I get +1s for the following patch to allow the new Red Hat Brno IP
>> to sync from tier0 mirrors for QA purposes?
>>
>> Patrick
>>
>>
>> commit 7adb2be60899a2f482f1e5cf9a2c012e1d4eb789 (HEAD -> master)
>> Author: Patrick Uiterwijk 
>> Date:   Wed Sep 27 16:18:33 2017 +0200
>>
>> Allow Brno to sync from master mirrors
>>
>> Signed-off-by: Patrick Uiterwijk 
>>
>> diff --git a/inventory/group_vars/download b/inventory/group_vars/download
>> index 403918272..aaf36825e 100644
>> --- a/inventory/group_vars/download
>> +++ b/inventory/group_vars/download
>> @@ -11,6 +11,7 @@ dl_tier1:
>>- 140.247.173.57 #
>> pool-computing-servers.seas.harvard.edu.
>>- 149.11.118.8/29# Red Hat CZ
>>- 154.45.192.0/29# Red Hat CZ New
>> +  - 91.209.10.253  # Red Hat CZ New Newer
>>- 152.19.134.145 # vm6.fedora.ibiblio.org.
>>- 152.19.134.195 # vm15.fedora.ibiblio.org.
>>- 182.255.111.7  # dksn-k4.cdn.aarnet.edu.au.
>
> Are the old IPs still valid?
>
> +1 regardless, we can always clean post-freeze if needed/desired.
>
>
> Pierre
>
> ___
> infrastructure mailing list -- infrastructure@lists.fedoraproject.org
> To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
>



-- 
Stephen J Smoogen.
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org


Re: FBR: Allow RH Brno to sync from tier0 mirrors

2017-09-27 Thread Pierre-Yves Chibon
On Wed, Sep 27, 2017 at 04:19:35PM +0200, Patrick Uiterwijk wrote:
> Hi all,
> 
> Can I get +1s for the following patch to allow the new Red Hat Brno IP
> to sync from tier0 mirrors for QA purposes?
> 
> Patrick
> 
> 
> commit 7adb2be60899a2f482f1e5cf9a2c012e1d4eb789 (HEAD -> master)
> Author: Patrick Uiterwijk 
> Date:   Wed Sep 27 16:18:33 2017 +0200
> 
> Allow Brno to sync from master mirrors
> 
> Signed-off-by: Patrick Uiterwijk 
> 
> diff --git a/inventory/group_vars/download b/inventory/group_vars/download
> index 403918272..aaf36825e 100644
> --- a/inventory/group_vars/download
> +++ b/inventory/group_vars/download
> @@ -11,6 +11,7 @@ dl_tier1:
>- 140.247.173.57 #
> pool-computing-servers.seas.harvard.edu.
>- 149.11.118.8/29# Red Hat CZ
>- 154.45.192.0/29# Red Hat CZ New
> +  - 91.209.10.253  # Red Hat CZ New Newer
>- 152.19.134.145 # vm6.fedora.ibiblio.org.
>- 152.19.134.195 # vm15.fedora.ibiblio.org.
>- 182.255.111.7  # dksn-k4.cdn.aarnet.edu.au.

Are the old IPs still valid?

+1 regardless, we can always clean post-freeze if needed/desired.


Pierre


signature.asc
Description: PGP signature
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org


FBR: Allow RH Brno to sync from tier0 mirrors

2017-09-27 Thread Patrick Uiterwijk
Hi all,

Can I get +1s for the following patch to allow the new Red Hat Brno IP
to sync from tier0 mirrors for QA purposes?

Patrick


commit 7adb2be60899a2f482f1e5cf9a2c012e1d4eb789 (HEAD -> master)
Author: Patrick Uiterwijk 
Date:   Wed Sep 27 16:18:33 2017 +0200

Allow Brno to sync from master mirrors

Signed-off-by: Patrick Uiterwijk 

diff --git a/inventory/group_vars/download b/inventory/group_vars/download
index 403918272..aaf36825e 100644
--- a/inventory/group_vars/download
+++ b/inventory/group_vars/download
@@ -11,6 +11,7 @@ dl_tier1:
   - 140.247.173.57 #
pool-computing-servers.seas.harvard.edu.
   - 149.11.118.8/29# Red Hat CZ
   - 154.45.192.0/29# Red Hat CZ New
+  - 91.209.10.253  # Red Hat CZ New Newer
   - 152.19.134.145 # vm6.fedora.ibiblio.org.
   - 152.19.134.195 # vm15.fedora.ibiblio.org.
   - 182.255.111.7  # dksn-k4.cdn.aarnet.edu.au.
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org


[FBR]: Updating fmn-web config

2017-09-27 Thread Pierre-Yves Chibon
Good Morning Everyone,

While trying to debug an issue with FMN this morning, I realized that the
configuration for the web front-end differs from the one of the backend and I
would like to harmonize them.

This is the diff to apply:

--- a/roles/notifs/frontend/templates/fmn.web.py
+++ b/roles/notifs/frontend/templates/fmn.web.py
@@ -29,12 +29,16 @@ config = {
 "fmn.email.mailserver": "bastion01.phx2.fedoraproject.org:25",

 # Some configuration for the rule processors
-"fmn.rules.utils.use_pkgdb2": True,
-{% if env == 'staging' %}
+"fmn.rules.utils.use_pkgdb2": False,
+'fmn.rules.utils.use_pagure_for_ownership': True,
+ {% if env == 'staging' %}
+'fmn.rules.utils.pagure_api_url': 'https://src.stg.fedoraproject.org/api/',
 "fmn.rules.utils.pkgdb_url": 
"https://admin.stg.fedoraproject.org/pkgdb/api;,
 {% else %}
-"fmn.rules.utils.pkgdb_url": "https://admin.fedoraproject.org/pkgdb/api;,
+'fmn.rules.utils.pagure_api_url': 'https://src.fedoraproject.org/api/',
+"fmn.rules.utils.pkgdb_url": 
"http://pkgdb01.phx2.fedoraproject.org/pkgdb/api;,
 {% endif %}
+
 "fmn.rules.cache": {
 "backend": "dogpile.cache.memcached",
 "expiration_time": 3600,  # 3600 is 1 hour

Then apache needs to be reloaded/restarted.

It's not quite mission critical but it would help making sure we do not miss it
later (though I guess we could always put it in a ticket to not forget it if we
prefer to wait).


Pierre


signature.asc
Description: PGP signature
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org


Re: FBR: Updating MirrorManager to 0.8.3

2017-09-27 Thread dennis
+1 we need to get fedora-repos updated and tested and into modular fedora. So 
we can get it's beta done.

Dennis

On 27 September 2017 2:52:00 am GMT-05:00, Pierre-Yves Chibon 
 wrote:
>On Wed, Sep 27, 2017 at 08:20:51AM +0200, Adrian Reber wrote:
>> The new MirrorManager2 0.8.3 release correctly detects and creates
>> repositories for the newly created 'modular' tree:
>> 
>>  /srv/pub/fedora/linux/modular/
>> 
>> I have installed the new release in staging and it works correctly.
>The
>> changes between MirrorManager2 0.8.1 which is installed in production
>> and the newly released 0.8.3 is just the 'modular' repository
>detection
>> and some additional repository creation/detection code which I also
>> already used in production successfully.
>> 
>> The mirrormanager2-0.8.3 is in the epel-testing repository.
>> 
>> As I am not aware how important it is to get this installed on the
>> production systems during beta freeze I am hoping Dennis can tell us
>if
>> this is necessary or not.
>> 
>> The changes are minimal and only related to repository detection and
>> creation. Testing in staging was successful and I do not think it
>will
>> break anything.
>> 
>> Should we install the 0.8.3 release during beta freeze or should we
>> wait?
>
>*If* Dennis says it is critical, I'm +1 with it, also because it sounds
>fairly
>straight forward to downgrade.
>
>But definitely better if it can wait post-freeze imho :)
>
>
>Pierre

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org


Re: FBR: Updating MirrorManager to 0.8.3

2017-09-27 Thread Pierre-Yves Chibon
On Wed, Sep 27, 2017 at 08:20:51AM +0200, Adrian Reber wrote:
> The new MirrorManager2 0.8.3 release correctly detects and creates
> repositories for the newly created 'modular' tree:
> 
>  /srv/pub/fedora/linux/modular/
> 
> I have installed the new release in staging and it works correctly. The
> changes between MirrorManager2 0.8.1 which is installed in production
> and the newly released 0.8.3 is just the 'modular' repository detection
> and some additional repository creation/detection code which I also
> already used in production successfully.
> 
> The mirrormanager2-0.8.3 is in the epel-testing repository.
> 
> As I am not aware how important it is to get this installed on the
> production systems during beta freeze I am hoping Dennis can tell us if
> this is necessary or not.
> 
> The changes are minimal and only related to repository detection and
> creation. Testing in staging was successful and I do not think it will
> break anything.
> 
> Should we install the 0.8.3 release during beta freeze or should we
> wait?

*If* Dennis says it is critical, I'm +1 with it, also because it sounds fairly
straight forward to downgrade.

But definitely better if it can wait post-freeze imho :)


Pierre


signature.asc
Description: PGP signature
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org


FBR: Updating MirrorManager to 0.8.3

2017-09-27 Thread Adrian Reber
The new MirrorManager2 0.8.3 release correctly detects and creates
repositories for the newly created 'modular' tree:

 /srv/pub/fedora/linux/modular/

I have installed the new release in staging and it works correctly. The
changes between MirrorManager2 0.8.1 which is installed in production
and the newly released 0.8.3 is just the 'modular' repository detection
and some additional repository creation/detection code which I also
already used in production successfully.

The mirrormanager2-0.8.3 is in the epel-testing repository.

As I am not aware how important it is to get this installed on the
production systems during beta freeze I am hoping Dennis can tell us if
this is necessary or not.

The changes are minimal and only related to repository detection and
creation. Testing in staging was successful and I do not think it will
break anything.

Should we install the 0.8.3 release during beta freeze or should we
wait?

Adrian


signature.asc
Description: PGP signature
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org