** 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:
https://bugs.launchpad.n
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
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 Fr
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 rel
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 rel
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
htt
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
http
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
** 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 disablin
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; ca
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 later
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
-
https://github.com/GrahamDumpleton/mo
** 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.
https:
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 runnin
** 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.
https:
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.
https://bugs.launchpad.net/
** 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:
https://bugs.launchpad.net
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
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
Bugs,
** 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:
https://bugs.launchpad.net/ubuntu/+sou
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
21 matches
Mail list logo