)]}'
{"id":"openstack%2Fkolla~887370","triplet_id":"openstack%2Fkolla~master~I5a63fb283150c68c73e10c07397e0f32f6e5d079","project":"openstack/kolla","branch":"master","topic":"cinder-user-tty-group","attention_set":{},"removed_from_attention_set":{"9535":{"account":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"last_update":"2023-07-25 13:09:20.000000000","reason":"Change was abandoned"}},"hashtags":[],"change_id":"I5a63fb283150c68c73e10c07397e0f32f6e5d079","subject":"Add Cinder user to the tty group","status":"ABANDONED","created":"2023-06-30 12:16:51.000000000","updated":"2023-07-25 13:09:20.000000000","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"b953ebae455c670226b0b617e3ad63eaa9843662","_number":887370,"virtual_id_number":887370,"owner":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"actions":{},"labels":{"Verified":{"disliked":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"tag":"autogenerated:zuul:check","value":-1,"date":"2023-06-30 14:38:50.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","value":-1,"default_value":0,"optional":true},"Code-Review":{"all":[{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"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":{"all":[{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Backport-Candidate":{"all":[{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-1":"Do Not Backport"," 0":"Backport Review Needed","+1":"Should Backport"},"description":"","default_value":0,"optional":true},"Review-Priority":{"all":[{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-1":"Branch Freeze"," 0":"No Priority","+1":"Important Change","+2":"Gate Blocker Fix / Urgent Change"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2023-06-30 13:47:57.000000000","updated_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"reviewer":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"state":"CC"},{"updated":"2023-06-30 14:38:50.000000000","updated_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"reviewer":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"state":"REVIEWER"}],"messages":[{"id":"6be6761fe8892ce56f969cbfb9dadb6bd3e3bfe7","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"date":"2023-06-30 12:16:51.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"bfae577447ba839e1da863885ba77ee7423940c3","tag":"autogenerated:zuul:check-arm64","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2023-06-30 13:47:57.000000000","message":"Patch Set 1:\n\nBuild succeeded (ARM64 pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/e8daa19787f1456080f5522caa0bef37\n\n- kolla-build-centos9s-aarch64 https://zuul.opendev.org/t/openstack/build/2ff2d8fb41b440788fb3fbbc339e1eb3 : SUCCESS in 59m 35s (non-voting)\n- kolla-build-debian-aarch64 https://zuul.opendev.org/t/openstack/build/a6d6cf43ec714930842d6fc7d83e4201 : SUCCESS in 27m 16s (non-voting)\n- kolla-ansible-debian-aarch64 https://zuul.opendev.org/t/openstack/build/e5119595bd6e4f8f8658731cb3e7c409 : SUCCESS in 1h 27m 58s (non-voting)\n- openstack-tox-py38-arm64 https://zuul.opendev.org/t/openstack/build/f1b9694083754023989b485b42a285db : SUCCESS in 3m 02s (non-voting)\n- openstack-tox-py39-arm64 https://zuul.opendev.org/t/openstack/build/d2abafd1834f4f038d4be195925da509 : SUCCESS in 2m 57s (non-voting)\n- openstack-tox-py310-arm64 https://zuul.opendev.org/t/openstack/build/49924115254b4b8da00f0c174f4ef44e : SUCCESS in 3m 01s (non-voting)\n- kolla-build-rocky9-aarch64 https://zuul.opendev.org/t/openstack/build/f6a125d0667d4f8e820fdf207b3115c9 : SUCCESS in 28m 35s (non-voting)\n- kolla-build-ubuntu-aarch64 https://zuul.opendev.org/t/openstack/build/cdfaae5af53a46d1a3e9364ea17872e4 : SUCCESS in 20m 17s (non-voting)","accounts_in_message":[],"_revision_number":1},{"id":"56747576831dbbaaa9eb0e506cf68d79c45e165e","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2023-06-30 14:38:50.000000000","message":"Patch Set 1: Verified-1\n\nBuild failed (check pipeline).  For information on how to proceed, see\nhttps://docs.opendev.org/opendev/infra-manual/latest/developers.html#automated-testing\n\nhttps://zuul.opendev.org/t/openstack/buildset/6ed381a11cf54bfb996870e907d6fc16\n\n- kolla-build-centos9s https://zuul.opendev.org/t/openstack/build/3d544213e6fd4b6bab3afdd80c809228 : SUCCESS in 21m 41s (non-voting)\n- kolla-ansible-centos9s https://zuul.opendev.org/t/openstack/build/1a74e8aa2e284d4d8bd8841d40474869 : SUCCESS in 1h 03m 48s (non-voting)\n- kolla-build-debian https://zuul.opendev.org/t/openstack/build/e201e942682845849a3dd7c87dc682d5 : SUCCESS in 16m 10s\n- kolla-ansible-debian https://zuul.opendev.org/t/openstack/build/4b8a432003cc4da0b5da463a39559581 : SUCCESS in 59m 46s\n- kolla-ansible-debian-upgrade https://zuul.opendev.org/t/openstack/build/aab881d4fc4541e7af027a2d910b8f8b : SUCCESS in 1h 03m 46s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/5b897edda8a8436e8954ec24f9714a47 : SUCCESS in 2m 58s\n- openstack-tox-py38 https://zuul.opendev.org/t/openstack/build/807dd33efb584bffb82d3491301be416 : SUCCESS in 3m 02s\n- openstack-tox-py39 https://zuul.opendev.org/t/openstack/build/79d150ab592545dd8cc375fc4afe1350 : SUCCESS in 3m 06s\n- openstack-tox-py310 https://zuul.opendev.org/t/openstack/build/d967efa7bcf041a2a68ec0538b3c623f : SUCCESS in 2m 51s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/e12de935974e43e3af314486ca12ae7c : SUCCESS in 2m 48s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/e3d045fbe8e3496faecd740fe030bf9a : SUCCESS in 5m 11s\n- kolla-build-rocky9 https://zuul.opendev.org/t/openstack/build/fc398598dedc4efb8f5c57b979b5495e : SUCCESS in 20m 14s\n- kolla-ansible-rocky9 https://zuul.opendev.org/t/openstack/build/5312454648334cddacec1864c4d4c0e8 : TIMED_OUT in 2h 05m 39s\n- kolla-ansible-rocky9-upgrade https://zuul.opendev.org/t/openstack/build/1e66099aaea246df97679417caf86290 : SUCCESS in 1h 22m 35s\n- kolla-ansible-rocky9-cephadm https://zuul.opendev.org/t/openstack/build/ac3bd86903be4badbb34cb5e9d36e705 : SUCCESS in 1h 29m 50s (non-voting)\n- kolla-ansible-rocky9-upgrade-cephadm https://zuul.opendev.org/t/openstack/build/3fa2fd442ea64affbb24072f362b3a1b : FAILURE in 2h 14m 46s (non-voting)\n- kolla-ansible-rocky9-zun https://zuul.opendev.org/t/openstack/build/1e4610aa67044ff5a6421a821c9f9bc5 : FAILURE in 1h 15m 16s (non-voting)\n- kolla-build-ubuntu https://zuul.opendev.org/t/openstack/build/b6a975a8fa2d408181a4d8a783586463 : SUCCESS in 15m 03s\n- kolla-ansible-ubuntu https://zuul.opendev.org/t/openstack/build/2caacbad5e7948b59c82971d40216884 : SUCCESS in 46m 56s\n- kolla-ansible-ubuntu-upgrade https://zuul.opendev.org/t/openstack/build/847338ea97814bf4ac8b6500c02b32f4 : SUCCESS in 1h 05m 46s\n- kolla-ansible-ubuntu-cephadm https://zuul.opendev.org/t/openstack/build/715bf0fd2b234cecafef44fd78d9a19a : SUCCESS in 1h 41m 09s (non-voting)\n- kolla-ansible-ubuntu-upgrade-cephadm https://zuul.opendev.org/t/openstack/build/4fe95c86970143758351429bb4e644a7 : SUCCESS in 1h 47m 28s (non-voting)\n- kolla-ansible-ubuntu-zun https://zuul.opendev.org/t/openstack/build/74ab4893aaba4e98b7b8691ac31c9ae6 : SUCCESS in 1h 50m 32s (non-voting)","accounts_in_message":[],"_revision_number":1},{"id":"b953ebae455c670226b0b617e3ad63eaa9843662","tag":"autogenerated:gerrit:abandon","author":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"date":"2023-07-25 13:09:20.000000000","message":"Abandoned","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"2dd51cd2e93511d06239b0b371522d393d3a5076","revisions":{"2dd51cd2e93511d06239b0b371522d393d3a5076":{"kind":"REWORK","_number":1,"created":"2023-06-30 12:16:51.000000000","uploader":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"ref":"refs/changes/70/887370/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/kolla","ref":"refs/changes/70/887370/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/kolla refs/changes/70/887370/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/kolla refs/changes/70/887370/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/kolla refs/changes/70/887370/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/kolla refs/changes/70/887370/1"}}},"commit":{"parents":[{"commit":"00cebc3cde7aa35dfdca04dfe490c9dd7c3c40b7","subject":"Merge \"base: Debian 12 uses new APT sources file\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/kolla/commit/00cebc3cde7aa35dfdca04dfe490c9dd7c3c40b7"}]}],"author":{"name":"Gorka Eguileor","email":"geguileo@redhat.com","date":"2023-06-30 12:07:31.000000000","tz":120},"committer":{"name":"Gorka Eguileor","email":"geguileo@redhat.com","date":"2023-06-30 12:16:38.000000000","tz":120},"subject":"Add Cinder user to the tty group","message":"Add Cinder user to the tty group\n\nWhen running cinder api under apache all its logs appear as [wsgi:error]\nentries, and in some deployments we may want to get cleaner logs and\ndecide to add to the cinder.conf file config option\n`log_file\u003d/dev/stdout` under the `[DEFAULT]` group.\n\nDoing this may fail with:\n  PermissionError: [Errno 13] Permission denied: \u0027/dev/stdout\u0027\n\nRecurrently looking at permissions of /dev/stdout we find:\n\n  [cinder@cinder-api-54859ccfbd-pqxwf ~]$ ls -la /dev/stdout\n  lrwxrwxrwx. 1 root root 15 Jun 28 19:41 /dev/stdout -\u003e /proc/self/fd/1\n\n  [cinder@cinder-api-54859ccfbd-pqxwf ~]$ ls -la /proc/self/fd/1\n  lrwx------. 1 cinder cinder 64 Jun 28 20:01 /proc/self/fd/1 -\u003e /dev/pts/0\n\n  [cinder@cinder-api-54859ccfbd-pqxwf ~]$ ls -la /dev/pts/0\n  crw--w----. 1 root tty 136, 0 Jun 28 20:01 /dev/pts/0\n\nNon cinder API services (scheduler, volume, and backup) wont\u0027t have this\nissue because they run as root, but httpd doesn\u0027t allow to run mod_wsgi\nas root, so we are running it as the cinder user:\n\n  WSGIDaemonProcess cinder-api display-name\u003dcinder_wsgi group\u003dcinder processes\u003d4 threads\u003d1 user\u003dcinder\n\nThis patch adds the cinder user to the group `tty`, thus allowing the\ncinder api service to log directly to stdout and avoiding the whole\n[wsgi:error].\n\nChange-Id: I5a63fb283150c68c73e10c07397e0f32f6e5d079\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/kolla/commit/2dd51cd2e93511d06239b0b371522d393d3a5076"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/kolla/commit/2dd51cd2e93511d06239b0b371522d393d3a5076"}]},"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":"Backport-Candidate","description":"Backport candidate status","status":"NOT_APPLICABLE","is_legacy":false,"applicability_expression_result":{"fulfilled":false,"status":"FAIL"},"submittability_expression_result":{"expression":"is:true","fulfilled":true,"status":"NOT_EVALUATED","passing_atoms":[],"failing_atoms":[],"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":"Review-Priority","description":"Review priority","status":"SATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"-label:Review-Priority\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":[],"failing_atoms":["label:Review-Priority\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":{}}}]}
