Allow to disable wsgi socket rotation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
New
|
Undecided
|
Unassigned | ||
OpenStack Ceilometer Charm |
Fix Committed
|
Undecided
|
Unassigned | ||
OpenStack Cinder Charm |
Fix Committed
|
Wishlist
|
Unassigned | ||
OpenStack Dashboard Charm |
Fix Committed
|
Wishlist
|
Unassigned | ||
OpenStack Glance Charm |
Invalid
|
Wishlist
|
Unassigned | ||
OpenStack Keystone Charm |
Fix Committed
|
Wishlist
|
Unassigned | ||
OpenStack Neutron API Charm |
Invalid
|
Wishlist
|
Unassigned | ||
OpenStack Nova Cloud Controller Charm |
Fix Committed
|
Wishlist
|
Hua Zhang |
Bug Description
The lp bug 1863232 introduces a new config WSGISocketRotation that allow to disable the wsgi socket rotation for apache's mod-wsgi, and this option is disabled in apache by default so the default behavior remains consistent with the previous versions. But for charm, there is no config to set whether WSGISocketRotation is turned on or off. Moreover, sometimes allowing customers to disable rotation can solve HTTP 503 issue mentioned in the lp bug 1863232
But this HTTP 503 issue is quite difficult to reproduce, I have made the following effort, but I still cannot reproduce them so far. I also asked the customer to run the following effort on his production env, it also failed to reproduce the problem.
#eg: on nova-cloud-
cat <<EOF >http-request
GET / HTTP/1.1
Host: 127.0.0.1
Connection: keep-alive
EOF
for i in {1..1000}; do echo $i; date; (cat http-request; sleep 1; cat http-request; sleep 9) | telnet 127.0.0.1 8754 2>&1 | while read line; do echo "$(date +'%T') == $line"; done >>output.txt; done
We did see HTTP 503 issue in the customer's production env, I cannot request the customer to directly modify WSGISocketRotat
1, when disable-
2, when disable-
The config disable-
tags: | added: sts |
summary: |
- Allow to disable wsgi socket rotaion + Allow to disable wsgi socket rotation |
Changed in charm-cinder: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in charm-openstack-dashboard: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in charm-glance: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in charm-keystone: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in charm-neutron-api: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in charm-nova-cloud-controller: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in charm-glance: | |
status: | Triaged → Invalid |
Changed in charm-neutron-api: | |
status: | Triaged → Invalid |
Changed in charm-ceilometer: | |
status: | New → In Progress |
Changed in charm-glance: | |
status: | In Progress → Invalid |
Fix proposed to branch: master /review. opendev. org/c/openstack /charm- nova-cloud- controller/ +/885836
Review: https:/