Re: Freeze Break Request: reinstall buildvm-ppc64le-01/02 to power9 hw
+1 here On Tue, 26 Mar 2019 at 17:50, Rick Elrod wrote: > > +1 with saving the old ones off (and probably keeping them around until > after freeze so we can revert if we notice something wrong but not right > away). > > -re > > On 3/26/19 4:43 PM, Kevin Fenzi wrote: > > I'd like to reinstall buildvm-ppc64le-01 and 02 on power9 hardware. > > > > This should allow us to stop the crazy things we have had to do on the > > current ones (running on power8) which includes: > > > > * downgrading qemu > > * downgrading libfdt > > * downgrading the kernel and booting it and removing all other kernels > > * disabling security updates because we don't want to mess up the above. > > > > It should take only a few minutes and I will save the old vm's so we can > > back out to them if we have to. (Although I need to re-downgrade qemu on > > them because it was upgraded the other day when I upgraded libseccomp). > > > > kevin > > > > > > ___ > > infrastructure mailing list -- infrastructure@lists.fedoraproject.org > > To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org > > Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html > > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > > List Archives: > > https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org > > > ___ > infrastructure mailing list -- infrastructure@lists.fedoraproject.org > To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org > Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org -- Stephen J Smoogen. ___ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org
Re: Freeze Break Request: reinstall buildvm-ppc64le-01/02 to power9 hw
+1 with saving the old ones off (and probably keeping them around until after freeze so we can revert if we notice something wrong but not right away). -re On 3/26/19 4:43 PM, Kevin Fenzi wrote: I'd like to reinstall buildvm-ppc64le-01 and 02 on power9 hardware. This should allow us to stop the crazy things we have had to do on the current ones (running on power8) which includes: * downgrading qemu * downgrading libfdt * downgrading the kernel and booting it and removing all other kernels * disabling security updates because we don't want to mess up the above. It should take only a few minutes and I will save the old vm's so we can back out to them if we have to. (Although I need to re-downgrade qemu on them because it was upgraded the other day when I upgraded libseccomp). kevin ___ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org ___ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org
Freeze Break Request: reinstall buildvm-ppc64le-01/02 to power9 hw
I'd like to reinstall buildvm-ppc64le-01 and 02 on power9 hardware. This should allow us to stop the crazy things we have had to do on the current ones (running on power8) which includes: * downgrading qemu * downgrading libfdt * downgrading the kernel and booting it and removing all other kernels * disabling security updates because we don't want to mess up the above. It should take only a few minutes and I will save the old vm's so we can back out to them if we have to. (Although I need to re-downgrade qemu on them because it was upgraded the other day when I upgraded libseccomp). 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 Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org
Re: FBR: clean up disk space on mirrors
On Tue, 26 Mar 2019 at 11:48, Adrian Reber wrote: > > On Mon, Mar 25, 2019 at 04:28:09PM -0400, Stephen John Smoogen wrote: > > On Mon, 25 Mar 2019 at 16:01, Mohan Boddu wrote: > > > > > > On Mon, Mar 25, 2019 at 8:37 AM Stephen John Smoogen > > > wrote: > > >> > > >> 1. Remove F29beta from mirrors so mirrors can keep up > > >> /pub/fedora/linux/releases/test/29_Beta/ > > > > > > +1 > > >> > > >> > > >> 2. Move F27 to archives > > >> a. Have mirrormanager point to /pub/archives/fedora/linux/27 > > >> b. Remove /pub/fedora/linux/27 > > > > > > +1 > > > > OK will look at tomorrow morning > > Let me know if you need any help on the mirrormanager side. If you could make sure there aren't any links for 29_Beta and that the 27 is pointing to archives that would be great. -- Stephen J Smoogen. ___ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org
Re: FBR: clean up disk space on mirrors
On Mon, Mar 25, 2019 at 04:28:09PM -0400, Stephen John Smoogen wrote: > On Mon, 25 Mar 2019 at 16:01, Mohan Boddu wrote: > > > > On Mon, Mar 25, 2019 at 8:37 AM Stephen John Smoogen > > wrote: > >> > >> 1. Remove F29beta from mirrors so mirrors can keep up > >> /pub/fedora/linux/releases/test/29_Beta/ > > > > +1 > >> > >> > >> 2. Move F27 to archives > >> a. Have mirrormanager point to /pub/archives/fedora/linux/27 > >> b. Remove /pub/fedora/linux/27 > > > > +1 > > OK will look at tomorrow morning Let me know if you need any help on the mirrormanager side. Adrian 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://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org
[FBR] cache headers for emojione.sprites.png
Hi all, I've wrote two patch for issue #7629. pagure frontend: caching emojione sprites for 1 week roles/pagure/frontend/templates/0_pagure.conf | 12 1 file changed, 12 insertions(+) diff --git a/roles/pagure/frontend/templates/0_pagure.conf b/roles/pagure/frontend/templates/0_pagure.conf index 50c2d6e9b..87009fce0 100644 --- a/roles/pagure/frontend/templates/0_pagure.conf +++ b/roles/pagure/frontend/templates/0_pagure.conf @@ -78,6 +78,12 @@ WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-na Alias /static /usr/lib/python2.7/site-packages/pagure/static/ + + ExpiresActive On + ExpiresDefault "access plus 1 week" + Header append Cache-Control "public" + + SetEnv GIT_PROJECT_ROOT /srv/git/repositories @@ -145,6 +151,12 @@ WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-na Alias /static /usr/lib/python2.7/site-packages/pagure/static/ + + ExpiresActive On + ExpiresDefault "access plus 1 week" + Header append Cache-Control "public" + + WSGIProcessGroup paguredocs -- 2.20.1 Site src.fp.org: caching emojione sprites for 1 week --- roles/fedora-web/src/files/expires.conf| 5 + roles/fedora-web/src/tasks/main.yml| 12 roles/httpd/website/templates/website.conf | 5 - 4 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 roles/fedora-web/src/files/expires.conf diff --git a/roles/fedora-web/src/files/expires.conf b/roles/fedora-web/src/files/expires.conf new file mode 100644 index 0..199080880 --- /dev/null +++ b/roles/fedora-web/src/files/expires.conf @@ -0,0 +1,5 @@ + + ExpiresActive On + ExpiresDefault "access plus 1 week" + Header append Cache-Control "public" + diff --git a/roles/fedora-web/src/tasks/main.yml b/roles/fedora-web/src/tasks/main.yml index d7616e84c..fbe8e87d1 100644 --- a/roles/fedora-web/src/tasks/main.yml +++ b/roles/fedora-web/src/tasks/main.yml @@ -19,3 +19,15 @@ tags: - fedora-web - fedora-web/src + +- name: Copy some config files for {{website}} + copy: > + src={{item}} dest=/etc/httpd/conf.d/{{website}}/{{item}} + owner=root group=root mode=0644 + with_items: + - expires.conf + notify: + - reload proxyhttpd + tags: + - fedora-web + - fedora-web/src diff --git a/roles/httpd/website/templates/website.conf b/roles/httpd/website/templates/website.conf index 2a6241a77..931655e6a 100644 --- a/roles/httpd/website/templates/website.conf +++ b/roles/httpd/website/templates/website.conf @@ -20,6 +20,10 @@ Alias /static/hotspot.txt /srv/web/hotspot.txt {% endif %} +{% if site_name == "src.fedoraproject.org" %} + Include "conf.d/src.fedoraproject.org/expires.conf" +{% endif %} + {% if sslonly %} RewriteEngine On RewriteCond %{REQUEST_URI} !/.well-known/acme-challenge/.* @@ -85,4 +89,3 @@ Include "conf.d/{{ site_name }}/*.conf" {% endif %} - -- 2.20.1 -- Alessandro Lorenzi ___ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org