Discussion:
Redirecting and testing the new fedocal in openshift
Pierre-Yves Chibon
2021-04-06 19:32:14 UTC
Permalink
This is both a call for more testing as well as the first FBR of this
new freeze.

I have deployed fedocal in openshift, using OIDC and fedora-messaging,
running on python 3 at: https://calendar.fedoraproject.org
I have done some testing and for what I looked at and for everything
seems to work (including the sending of the reminder email).

If you have a little time, please have a look at it.
Do note that this instances uses the prod database so be reasonable, if
you want to do more testing feel free to poke at the staging instance
at: https://calendar.stg.fedoraproject.org.

Unless I hear otherwise, I would like to redirect the current (VM-based)
fedocal over to its new location (openshift) using the attached patch.

+1?

Thanks,

Pierre

_______________________________________________
infrastructure mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-***@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/***@lists.fedoraproject.org
Do not reply to spam on the
Pierre-Yves Chibon
2021-04-06 19:32:15 UTC
Permalink
Signed-off-by: Pierre-Yves Chibon <***@pingoured.fr>
---
playbooks/include/proxies-redirects.yml | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/playbooks/include/proxies-redirects.yml b/playbooks/include/proxies-redirects.yml
index 17a536149..4d5223ad5 100644
--- a/playbooks/include/proxies-redirects.yml
+++ b/playbooks/include/proxies-redirects.yml
@@ -111,6 +111,12 @@
regex: /voting
target: https://elections.fedoraproject.org/

+ - role: httpd/redirectmatch
+ shortname: calendar
+ website: admin.fedoraproject.org
+ regex: /calendar
+ target: https://calendar.fedoraproject.org/
+
- role: httpd/redirectmatch
shortname: mailman
website: admin.fedoraproject.org
--
2.30.2
_______________________________________________
infrastructure mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-***@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/***@lists.fedoraproject.org
Do not reply to spam on the list, report it: h
Pierre-Yves Chibon
2021-04-06 19:42:35 UTC
Permalink
Signed-off-by: Pierre-Yves Chibon <***@pingoured.fr>
---
playbooks/include/proxies-redirects.yml | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/playbooks/include/proxies-redirects.yml b/playbooks/include/proxies-redirects.yml
index 17a536149..49f2bb418 100644
--- a/playbooks/include/proxies-redirects.yml
+++ b/playbooks/include/proxies-redirects.yml
@@ -111,6 +111,12 @@
regex: /voting
target: https://elections.fedoraproject.org/

+ - role: httpd/redirectmatch
+ shortname: calendar
+ website: apps.fedoraproject.org
+ regex: /calendar
+ target: https://calendar.fedoraproject.org/
+
- role: httpd/redirectmatch
shortname: mailman
website: admin.fedoraproject.org
--
2.30.2
_______________________________________________
infrastructure mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-***@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/***@lists.fedoraproject.org
Do not reply to spam on the list, report it: ht
Nick Bebout
2021-04-06 19:58:05 UTC
Permalink
This looks good to me. +1
Post by Pierre-Yves Chibon
---
playbooks/include/proxies-redirects.yml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/playbooks/include/proxies-redirects.yml
b/playbooks/include/proxies-redirects.yml
index 17a536149..49f2bb418 100644
--- a/playbooks/include/proxies-redirects.yml
+++ b/playbooks/include/proxies-redirects.yml
@@ -111,6 +111,12 @@
regex: /voting
target: https://elections.fedoraproject.org/
+ - role: httpd/redirectmatch
+ shortname: calendar
+ website: apps.fedoraproject.org
+ regex: /calendar
+ target: https://calendar.fedoraproject.org/
+
- role: httpd/redirectmatch
shortname: mailman
website: admin.fedoraproject.org
--
2.30.2
_______________________________________________
To unsubscribe send an email to
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
https://pagure.io/fedora-infrastructure
Kevin Fenzi
2021-04-06 20:34:48 UTC
Permalink
Post by Pierre-Yves Chibon
---
playbooks/include/proxies-redirects.yml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/playbooks/include/proxies-redirects.yml b/playbooks/include/proxies-redirects.yml
index 17a536149..49f2bb418 100644
--- a/playbooks/include/proxies-redirects.yml
+++ b/playbooks/include/proxies-redirects.yml
@@ -111,6 +111,12 @@
regex: /voting
target: https://elections.fedoraproject.org/
+ - role: httpd/redirectmatch
+ shortname: calendar
+ website: apps.fedoraproject.org
+ regex: /calendar
+ target: https://calendar.fedoraproject.org/
+
- role: httpd/redirectmatch
shortname: mailman
website: admin.fedoraproject.org
--
2.30.2
Looks ok to me. +1

kevin
Mark O'Brien
2021-04-07 09:42:53 UTC
Permalink
+1 LGTM
Post by Pierre-Yves Chibon
Post by Pierre-Yves Chibon
---
playbooks/include/proxies-redirects.yml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/playbooks/include/proxies-redirects.yml
b/playbooks/include/proxies-redirects.yml
Post by Pierre-Yves Chibon
index 17a536149..49f2bb418 100644
--- a/playbooks/include/proxies-redirects.yml
+++ b/playbooks/include/proxies-redirects.yml
@@ -111,6 +111,12 @@
regex: /voting
target: https://elections.fedoraproject.org/
+ - role: httpd/redirectmatch
+ shortname: calendar
+ website: apps.fedoraproject.org
+ regex: /calendar
+ target: https://calendar.fedoraproject.org/
+
- role: httpd/redirectmatch
shortname: mailman
website: admin.fedoraproject.org
--
2.30.2
Looks ok to me. +1
kevin
_______________________________________________
To unsubscribe send an email to
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
https://pagure.io/fedora-infrastructure
Ben Cotton
2021-04-06 20:07:54 UTC
Permalink
Post by Pierre-Yves Chibon
This is both a call for more testing as well as the first FBR of this
new freeze.
I have deployed fedocal in openshift, using OIDC and fedora-messaging,
running on python 3 at: https://calendar.fedoraproject.org
I have done some testing and for what I looked at and for everything
seems to work (including the sending of the reminder email).
In my limited testing so far, it seems to work as expected.
--
Ben Cotton
He / Him / His
Senior Program Manager, Fedora & CentOS Stream
Red Hat
TZ=America/Indiana/Indianapolis
_______________________________________________
infrastructure mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-***@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/***@lists.fedoraproject.org
Do not reply to spam on the list, report it: https:
Jan K
2021-04-07 05:45:38 UTC
Permalink
+1 looks good

________________________________
From: Pierre-Yves Chibon <***@pingoured.fr>
Sent: Tuesday, April 6, 2021 10:32 PM
To: ***@lists.fedoraproject.org <***@lists.fedoraproject.org>
Subject: Redirecting and testing the new fedocal in openshift

This is both a call for more testing as well as the first FBR of this
new freeze.

I have deployed fedocal in openshift, using OIDC and fedora-messaging,
running on python 3 at: https://calendar.fedoraproject.org
I have done some testing and for what I looked at and for everything
seems to work (including the sending of the reminder email).

If you have a little time, please have a look at it.
Do note that this instances uses the prod database so be reasonable, if
you want to do more testing feel free to poke at the staging instance
at: https://calendar.stg.fedoraproject.org.

Unless I hear otherwise, I would like to redirect the current (VM-based)
fedocal over to its new location (openshift) using the attached patch.

+1?

Thanks,

Pierre

_______________________________________________
infrastructure mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-***@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/***@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Arnaud
2021-04-07 08:09:00 UTC
Permalink
Hello,

Maybe it is just me, but I am getting: Internal Server Error
if I click on a calendar for: https://calendar.fedoraproject.org/

Arnaud
Post by Pierre-Yves Chibon
This is both a call for more testing as well as the first FBR of this
new freeze.
I have deployed fedocal in openshift, using OIDC and fedora-messaging,
running on python 3 at: https://calendar.fedoraproject.org
I have done some testing and for what I looked at and for everything
seems to work (including the sending of the reminder email).
If you have a little time, please have a look at it.
Do note that this instances uses the prod database so be reasonable, if
you want to do more testing feel free to poke at the staging instance
at: https://calendar.stg.fedoraproject.org.
Unless I hear otherwise, I would like to redirect the current (VM-based)
fedocal over to its new location (openshift) using the attached patch.
+1?
Thanks,
Pierre
_______________________________________________
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
_______________________________________________
infrastructure mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-***@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/***@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-
Pierre-Yves Chibon
2021-04-07 08:23:54 UTC
Permalink
Post by Arnaud
Hello,
Maybe it is just me, but I am getting: Internal Server Error
if I click on a calendar for: https://calendar.fedoraproject.org/
Could you give a link?
All of these work for me:
https://calendar.fedoraproject.org/design-FAD/
https://calendar.fedoraproject.org/Elections/
https://calendar.fedoraproject.org/infrastructure/

Pierre
_______________________________________________
infrastructure mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-***@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/***@lists.fedoraproject.org
Do not reply to spam on the list, report it:
Arnaud
2021-04-07 08:30:25 UTC
Permalink
All of them give me the error.

I checked in tor browser, and it doesn't do it there.
It must be my firefox configuration (but it is the one I use all the time).

As it does it only for me it seems (and the ones that use a configuration close to me),
I give you the error log I get in firefox as information.

Arnaud
Post by Pierre-Yves Chibon
Post by Arnaud
Hello,
Maybe it is just me, but I am getting: Internal Server Error
if I click on a calendar for: https://calendar.fedoraproject.org/
Could you give a link?
https://calendar.fedoraproject.org/design-FAD/
https://calendar.fedoraproject.org/Elections/
https://calendar.fedoraproject.org/infrastructure/
Pierre
_______________________________________________
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Pierre-Yves Chibon
2021-04-07 10:24:01 UTC
Permalink
Post by Arnaud
All of them give me the error.
I checked in tor browser, and it doesn't do it there.
It must be my firefox configuration (but it is the one I use all the time).
As it does it only for me it seems (and the ones that use a configuration close to me),
I give you the error log I get in firefox as information.
So we've debugged this on IRC and found out that this was related to the french
locale that basically fails to load.

I've turned off localization in fedocal for now until someone can figure out how
to make it work properly in a container (starting with compiling the .po files
so they are usable).

We tested in staging and once we found the fix we pushed it in production as
well, so things are now working for Arnaud as well as darknao who could also
reproduce this.

Thanks for your help folks!


Pierre
_______________________________________________
infrastructure mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-***@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/***@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.i
Jan K
2021-04-07 17:42:36 UTC
Permalink
I recompiled .po file(s) (there is actually only French translation), but have to still get local copy working (has nothing to do with the translation) to fully test is.

Jan

________________________________
From: Pierre-Yves Chibon <***@pingoured.fr>
Sent: Wednesday, April 7, 2021 1:24 PM
To: Fedora Infrastructure <***@lists.fedoraproject.org>
Subject: Re: Redirecting and testing the new fedocal in openshift
Post by Arnaud
All of them give me the error.
I checked in tor browser, and it doesn't do it there.
It must be my firefox configuration (but it is the one I use all the time).
As it does it only for me it seems (and the ones that use a configuration close to me),
I give you the error log I get in firefox as information.
So we've debugged this on IRC and found out that this was related to the french
locale that basically fails to load.

I've turned off localization in fedocal for now until someone can figure out how
to make it work properly in a container (starting with compiling the .po files
so they are usable).

We tested in staging and once we found the fix we pushed it in production as
well, so things are now working for Arnaud as well as darknao who could also
reproduce this.

Thanks for your help folks!


Pierre
_______________________________________________
infrastructure mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-***@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/***@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Loading...