Re: FBR: Enable CentOS Stream in MirrorManager

2021-09-06 Thread Kevin Fenzi
On Mon, Sep 06, 2021 at 08:01:40PM +0200, Adrian Reber wrote:
> Over the last weeks we prepared adding CentOS Stream to Fedora's
> MirrorManager instance and are now at a point where we would like to
> push the changes to ansible.
> 
> The current state can be seen at:
> 
> http://mirrors.stg.centos.org/metalink?repo=centos-baseos-9-stream&arch=x86_64
> 
> (https just broke over the weekend)

I fixed that. Sorry about that. ;( 

> To enable CentOS Stream in MirrorManager not only configuration file
> changes are necessary, but it also requires an update of all software
> components. This is mainly due to the fact that CentOS Stream is using
> an empty topdir. (topdir in MirrorManager are things like 'epel/' or
> 'fedora/linux' or 'fedora-secondary/').
> 
> Unfortunately all code assumed that topdir is not '' and hard-coded the
> removal of a slash all over the place.
> 
> All corresponding projects have been update to handle empty topdirs.
> 
> To apply https://pagure.io/fedora-infra/ansible/pull-request/775 for
> prod I need this FBR.

Also this may need a bit more work on proxies.
Something like: 

diff --git a/playbooks/include/proxies-reverseproxy.yml 
b/playbooks/include/proxies-reverseproxy.yml
index d771a0144..a2e0788cd 100644
--- a/playbooks/include/proxies-reverseproxy.yml
+++ b/playbooks/include/proxies-reverseproxy.yml
@@ -366,7 +366,6 @@
 website: mirrors.centos.org
 destname: mirrormanager-mirrorlist
 proxyurl: http://localhost:10002
-when: env == "staging"
 
   - role: httpd/reverseproxy
 website: download.fedoraproject.org
diff --git a/playbooks/include/proxies-websites.yml 
b/playbooks/include/proxies-websites.yml
index 99fef15cb..fb144733f 100644
--- a/playbooks/include/proxies-websites.yml
+++ b/playbooks/include/proxies-websites.yml
@@ -158,8 +158,7 @@
 server_aliases:
 - mirrors.stg.centos.org
 cert_name: "{{mirrors_centos_org_cert_name}}"
-SSLCertificateChainFile: mirrors.stg.centos.org.intermediate.cert
-when: env == "staging"
+SSLCertificateChainFile: 
"mirrors{{env_suffix}}.centos.org.intermediate.cert"
 
   - role: httpd/website
 site_name: src.fedoraproject.org

> 
> There are risks doing code changes like this during a freeze. So far I
> have not seen any problems in staging, but staging is not using using
> MirrorManager as thoroughly as prod. I don't expect any major problems
> with this change.
> 
> I hope someone from the CentOS team can weigh if this is very time
> critical to get running or if we can wait until after the freeze.

I think it would be safe to do at this point, but if we can hold off
until after freeze thats of course great. 

kevin


signature.asc
Description: PGP signature
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


FBR: Enable CentOS Stream in MirrorManager

2021-09-06 Thread Adrian Reber
Over the last weeks we prepared adding CentOS Stream to Fedora's
MirrorManager instance and are now at a point where we would like to
push the changes to ansible.

The current state can be seen at:

http://mirrors.stg.centos.org/metalink?repo=centos-baseos-9-stream&arch=x86_64

(https just broke over the weekend)

To enable CentOS Stream in MirrorManager not only configuration file
changes are necessary, but it also requires an update of all software
components. This is mainly due to the fact that CentOS Stream is using
an empty topdir. (topdir in MirrorManager are things like 'epel/' or
'fedora/linux' or 'fedora-secondary/').

Unfortunately all code assumed that topdir is not '' and hard-coded the
removal of a slash all over the place.

All corresponding projects have been update to handle empty topdirs.

To apply https://pagure.io/fedora-infra/ansible/pull-request/775 for
prod I need this FBR.

There are risks doing code changes like this during a freeze. So far I
have not seen any problems in staging, but staging is not using using
MirrorManager as thoroughly as prod. I don't expect any major problems
with this change.

I hope someone from the CentOS team can weigh if this is very time
critical to get running or if we can wait until after the freeze.

Adrian
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Meeting Agenda Item: Introduction Mahij

2021-09-06 Thread Mahij Momin
Hi All,
My name is Mahij and I would love to be the part of Fedora Infrastructure team. 
Here's my introduction as per the wiki 
IRC Handle: khallnayak
Skills:
 - Python
 - Ansible
 - Bash
I want to learn so many things about infrastructure management that it is quite 
hard to list here :)
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[Fedocal] Reminder meeting : Websites & Apps Team Meeting

2021-09-06 Thread jflory7
Dear all,

You are kindly invited to the meeting:
   Websites & Apps Team Meeting on 2021-09-07 from 15:00:00 to 16:00:00 UTC
   At https://meet.jit.si/fedora-websites-apps-meeting

The meeting will be about:
Weekly team meeting for the Websites & Apps Team. This is part of the [Websites 
& Apps Community Revamp 
Objective](https://fedoraproject.org/wiki/Objectives/Websites_%26_Apps_Community_Revamp).
 See [past discussion](
https://discussion.fedoraproject.org/t/planning-meeting-for-websites-apps-team-reboot/27911)
 to learn more about the Websites & Apps Team and how it came together.

More information available at:
[hackmd.io/Mxm2We3yTqKybLsdohadOA](https://hackmd.io/Mxm2We3yTqKybLsdohadOA?view)


Source: https://calendar.fedoraproject.org//meeting/9990/

___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure