[Bug 1863232] Re: daemon rotates socket on restart

2020-09-22 Thread Mauricio Faria de Oliveira
** Tags removed: sts-sponsor-mfo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1863232 Title: daemon rotates socket on restart To manage notifications about this bug go to:

[Bug 1863232] Re: daemon rotates socket on restart

2020-03-02 Thread Launchpad Bug Tracker
This bug was fixed in the package mod-wsgi - 4.3.0-1.1ubuntu1 --- mod-wsgi (4.3.0-1.1ubuntu1) xenial; urgency=medium * d/p/allow-disabling-daemon-socket-rotation-on-restart.patch: Add option for disabling daemon socket rotation on restarts (LP: #1863232) -- Dariusz Gadomski

[Bug 1863232] Re: daemon rotates socket on restart

2020-03-02 Thread Launchpad Bug Tracker
This bug was fixed in the package mod-wsgi - 4.5.17-1ubuntu1 --- mod-wsgi (4.5.17-1ubuntu1) bionic; urgency=medium * d/p/allow-disabling-daemon-socket-rotation-on-restart.patch: Add option for disabling daemon socket rotation on restarts (LP: #1863232) -- Dariusz Gadomski

[Bug 1863232] Re: daemon rotates socket on restart

2020-02-20 Thread Dariusz Gadomski
Xenial verification: Similarly to bionic with Xenial version of libapache2-mod-wsgi 4.3.0-1.1ubuntu1 and setting WSGISocketRotation Off in /etc/apache2/conf-enabled/wsgi.conf there's no socket rotation: $ ls -1 /var/run/apache2/wsgi.*.sock /var/run/apache2/wsgi.3170.u33.1.sock $ sudo systemctl

[Bug 1863232] Re: daemon rotates socket on restart

2020-02-20 Thread Dariusz Gadomski
Bionic verification: After installing libapache2-mod-wsgi 4.5.17-1ubuntu1 and setting WSGISocketRotation Off in /etc/apache2/mods-available/wsgi.conf I confirm there is no socket rotation after reload: $ ls -1 /var/run/apache2/wsgi.*.sock /var/run/apache2/wsgi.4963.u33.1.sock $ sudo systemctl

[Bug 1863232] Re: daemon rotates socket on restart

2020-02-20 Thread Łukasz Zemczak
Hello Dariusz, or anyone else affected, Accepted mod-wsgi into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/mod- wsgi/4.3.0-1.1ubuntu1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1863232] Re: daemon rotates socket on restart

2020-02-20 Thread Łukasz Zemczak
Hello Dariusz, or anyone else affected, Accepted mod-wsgi into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/mod- wsgi/4.5.17-1ubuntu1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1863232] Re: daemon rotates socket on restart

2020-02-18 Thread Mauricio Faria de Oliveira
Uploaded changes to B/X. There are no other mod-wsgi uploads in the unapproved queue nor waiting in -proposed/pending SRU. mod-wsgi (source) 4.5.17-1ubuntu1 mainpython medium ubuntu-server Proposed56 seconds ago mod-wsgi (source) 4.3.0-1.1ubuntu1

[Bug 1863232] Re: daemon rotates socket on restart

2020-02-18 Thread Mauricio Faria de Oliveira
** Description changed: [Impact] - * Lack of option for disabling wsgi socket rotation leads to errors on graceful restarts, making them not as graceful. - * This change introduces a new config option WSGISocketRotation that allows to disable the rotation. +  * Lack of option for

[Bug 1863232] Re: daemon rotates socket on restart

2020-02-18 Thread Mauricio Faria de Oliveira
Steps to reproduce/verify on Bionic: === Similarly to steps described for Xenial. Skipping the identical steps. $ lxc launch ubuntu:bionic lp1863232b $ lxc exec lp1863232b -- su - ubuntu One connection/Two requests (added timestamps to check timeout values) --- $ (cat http-request; sleep 1;

[Bug 1863232] Re: daemon rotates socket on restart

2020-02-18 Thread Mauricio Faria de Oliveira
Hi Dariusz, I reviewed the debdiffs, they look good overall. I just had some minor changes to reflect review practices/comments that I have been thru myself: - Nice catch on updating the Maintainers field. - Changelog order of patch file/description: I changed to file first, description

[Bug 1863232] Re: daemon rotates socket on restart

2020-02-18 Thread Mauricio Faria de Oliveira
Steps to reproduce/verify on Xenial: === References: - https://modwsgi.readthedocs.io/en/develop/user-guides/quick-configuration-guide.html - https://modwsgi.readthedocs.io/en/develop/user-guides/quick-configuration-guide.html#delegation-to-daemon-process -

[Bug 1863232] Re: daemon rotates socket on restart

2020-02-18 Thread Mauricio Faria de Oliveira
** Patch added: "lp1863232_bionic_mod-wsgi.debdiff" https://bugs.launchpad.net/ubuntu/+source/mod-wsgi/+bug/1863232/+attachment/5329326/+files/lp1863232_bionic_mod-wsgi.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1863232] Re: daemon rotates socket on restart

2020-02-18 Thread Mauricio Faria de Oliveira
Dariusz, As part of my learning homework to be able to technically review the patch in this proposal, I came across three things that may be useful for the bug description/SRU template, so I'll just add them, if you don't mind. 1) Understanding the scenario where the bug happens (mod-wsgi

[Bug 1863232] Re: daemon rotates socket on restart

2020-02-18 Thread Mauricio Faria de Oliveira
** Patch added: "lp1863232_xenial_mod-wsgi.debdiff" https://bugs.launchpad.net/ubuntu/+source/mod-wsgi/+bug/1863232/+attachment/5329327/+files/lp1863232_xenial_mod-wsgi.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1863232] Re: daemon rotates socket on restart

2020-02-18 Thread Mauricio Faria de Oliveira
Attaching the updated debdiffs for reference. They build successfully on a PPA for all architectures, and have been used on steps to reproduce/verify (below.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1863232] Re: daemon rotates socket on restart

2020-02-14 Thread Mauricio Faria de Oliveira
** Tags added: sts-sponsor-mfo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1863232 Title: daemon rotates socket on restart To manage notifications about this bug go to:

[Bug 1863232] Re: daemon rotates socket on restart

2020-02-14 Thread Dariusz Gadomski
SRU proposal for Xenial. ** Description changed: - On Apache reloads the daemon tries to rotate wsgi sockets causing - unnecessary log entries, especially in OpenStack context. + [Impact] + + * Lack of option for disabling wsgi socket rotation leads to errors on graceful restarts, making them

[Bug 1863232] Re: daemon rotates socket on restart

2020-02-14 Thread Dariusz Gadomski
SRU proposal for bionic. ** Patch added: "bionic_mod-wsgi_4.5.17-1ubuntu1.debdiff" https://bugs.launchpad.net/ubuntu/+source/mod-wsgi/+bug/1863232/+attachment/5328185/+files/bionic_mod-wsgi_4.5.17-1ubuntu1.debdiff -- You received this bug notification because you are a member of Ubuntu

[Bug 1863232] Re: daemon rotates socket on restart

2020-02-14 Thread Dariusz Gadomski
** Tags added: sts -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1863232 Title: daemon rotates socket on restart To manage notifications about this bug go to:

[Bug 1863232] Re: daemon rotates socket on restart

2020-02-14 Thread Dariusz Gadomski
Since it is already present upstream it's fixed for focal and eoan. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1863232 Title: daemon rotates socket on restart To manage notifications about this