)]}'
{"id":"openstack%2Fopenstack-helm~967825","triplet_id":"openstack%2Fopenstack-helm~master~Ic6167754694ba508157e2568bec8b46313d7830f","project":"openstack/openstack-helm","branch":"master","hashtags":[],"change_id":"Ic6167754694ba508157e2568bec8b46313d7830f","subject":"uwsgi: use uWSGI stats for liveness probes in deployments","status":"ABANDONED","created":"2025-11-20 11:35:36.000000000","updated":"2025-11-20 12:44:32.000000000","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"8fdc100de52fb48a8bf693f75a6d7c9e51709d28","_number":967825,"virtual_id_number":967825,"owner":{"_account_id":37208,"name":"Marek Skrobacki","display_name":"Marek Skrobacki","email":"skrobul@skrobul.com","username":"skrobul"},"actions":{},"labels":{"Verified":{"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{},"pending_reviewers":{},"reviewer_updates":[],"messages":[{"id":"eb0974fed17aeeb64de3af42d3a1efd555caab07","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":37208,"name":"Marek Skrobacki","display_name":"Marek Skrobacki","email":"skrobul@skrobul.com","username":"skrobul"},"date":"2025-11-20 11:35:36.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"5f380163c26adaf308ad2099f572ae61c07d1126","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":37208,"name":"Marek Skrobacki","display_name":"Marek Skrobacki","email":"skrobul@skrobul.com","username":"skrobul"},"date":"2025-11-20 12:42:45.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"8fdc100de52fb48a8bf693f75a6d7c9e51709d28","tag":"autogenerated:gerrit:abandon","author":{"_account_id":37208,"name":"Marek Skrobacki","display_name":"Marek Skrobacki","email":"skrobul@skrobul.com","username":"skrobul"},"date":"2025-11-20 12:44:32.000000000","message":"Abandoned\n\nduplicate","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"524c54b9fcbe70e6a4435ce2523a67800a432998","revisions":{"cb3272b853d04452642a90c80d397365da5732fb":{"kind":"REWORK","_number":1,"created":"2025-11-20 11:35:36.000000000","uploader":{"_account_id":37208,"name":"Marek Skrobacki","display_name":"Marek Skrobacki","email":"skrobul@skrobul.com","username":"skrobul"},"ref":"refs/changes/25/967825/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-helm","ref":"refs/changes/25/967825/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-helm refs/changes/25/967825/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-helm refs/changes/25/967825/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-helm refs/changes/25/967825/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-helm refs/changes/25/967825/1"}}},"commit":{"parents":[{"commit":"a1599e717561ef6ecf7399346e396219289e7f6d","subject":"Merge \"Fix monitoring job\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm/commit/a1599e717561ef6ecf7399346e396219289e7f6d"}]}],"author":{"name":"Marek Skrobacki","email":"marek.skrobacki@rackspace.co.uk","date":"2025-11-20 10:34:55.000000000","tz":0},"committer":{"name":"Marek Skrobacki","email":"marek.skrobacki@rackspace.co.uk","date":"2025-11-20 11:35:06.000000000","tz":0},"subject":"uwsgi: enable stats server","message":"uwsgi: enable stats server\n\nCurrently, the OSH uses main uWSGI app to serve responses to the\nKubernetes readiness and liveness probes. Unfortunately, this is not\nsustainable during load. When all of the uWSGI workers are occupied with\nwork for longer than the probe timeout, the liveness probe fails as the\nrequest is queued up for too long.\n\nThis commit proposes alternative solution of running the liveness probes\nagainst an uWSGI stats endpoint which is a lightweight endpoint served\nby the master process and is not affected by the workers being busy.\n\nThis change enables the uWSGI stats server on port 1717 in each of the\nrelevant pods, but does not change the Kubernetes probe configuration as\nthat will be done separately.\n\nReadiness probes will remain unchanged as it makes sense to check actual\napplication on start.\n\nChange-Id: Ic6167754694ba508157e2568bec8b46313d7830f\nSigned-off-by: Marek Skrobacki \u003cmarek.skrobacki@rackspace.co.uk\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm/commit/cb3272b853d04452642a90c80d397365da5732fb"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm/commit/cb3272b853d04452642a90c80d397365da5732fb"}]},"branch":"refs/heads/master"},"524c54b9fcbe70e6a4435ce2523a67800a432998":{"kind":"REWORK","_number":2,"created":"2025-11-20 12:42:45.000000000","uploader":{"_account_id":37208,"name":"Marek Skrobacki","display_name":"Marek Skrobacki","email":"skrobul@skrobul.com","username":"skrobul"},"ref":"refs/changes/25/967825/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-helm","ref":"refs/changes/25/967825/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-helm refs/changes/25/967825/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-helm refs/changes/25/967825/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-helm refs/changes/25/967825/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-helm refs/changes/25/967825/2"}}},"commit":{"parents":[{"commit":"a1599e717561ef6ecf7399346e396219289e7f6d","subject":"Merge \"Fix monitoring job\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm/commit/a1599e717561ef6ecf7399346e396219289e7f6d"}]}],"author":{"name":"Marek Skrobacki","email":"marek.skrobacki@rackspace.co.uk","date":"2025-11-20 10:34:55.000000000","tz":0},"committer":{"name":"Marek Skrobacki","email":"marek.skrobacki@rackspace.co.uk","date":"2025-11-20 12:40:31.000000000","tz":0},"subject":"uwsgi: use uWSGI stats for liveness probes in deployments","message":"uwsgi: use uWSGI stats for liveness probes in deployments\n\nCurrently, the OSH uses main uWSGI app to serve responses to the\nKubernetes readiness and liveness probes. Unfortunately, this is not\nsustainable during load. When all of the uWSGI workers are occupied with\nwork for longer than the probe timeout, the liveness probe fails as the\nrequest is queued up for too long.\n\nThis change proposes alternative solution of running the liveness probes\nagainst an uWSGI stats endpoint which is a lightweight endpoint served\nby the master process and is not affected by the workers being busy.\n\nIt enables the uWSGI stats server on port 1717 in each of the\nrelevant pods and updates the deployments to use the port exposed by\nthose endpoints.\n\nThis change allows the deployment to use a liveness port that is\ndifferent from the one dynamically looked up in service catalog.\n\nReadiness probes will remain unchanged as it makes sense to check actual\napplication on start.\n\nChange-Id: Ic6167754694ba508157e2568bec8b46313d7830f\nSigned-off-by: Marek Skrobacki \u003cmarek.skrobacki@rackspace.co.uk\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm/commit/524c54b9fcbe70e6a4435ce2523a67800a432998"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm/commit/524c54b9fcbe70e6a4435ce2523a67800a432998"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[{"name":"Verified","description":"Verified in gate by CI","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Verified\u003dMAX AND -label:Verified\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Verified\u003dMAX","label:Verified\u003dMIN"],"atom_explanations":{}}},{"name":"Code-Review","description":"Code reviewed by core reviewer","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Code-Review\u003dMAX AND -label:Code-Review\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Code-Review\u003dMAX","label:Code-Review\u003dMIN"],"atom_explanations":{}}},{"name":"Workflow","description":"Approved for gate by core reviewer","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Workflow\u003dMAX AND -label:Workflow\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Workflow\u003dMAX","label:Workflow\u003dMIN"],"atom_explanations":{}}}]}
