)]}'
{"id":"openstack%2Fopenstack-helm-infra~869273","triplet_id":"openstack%2Fopenstack-helm-infra~master~I4e1542b62777f25c08ddd2cb74f0a0e7bfea5145","project":"openstack/openstack-helm-infra","branch":"master","attention_set":{},"removed_from_attention_set":{"34520":{"account":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"last_update":"2023-01-05 20:24:34.000000000","reason":"Change was submitted"},"21420":{"account":{"_account_id":21420,"name":"Gage Hugo","email":"gagehugo@gmail.com","username":"ghugo"},"last_update":"2023-01-05 19:34:58.000000000","reason":"\u003cGERRIT_ACCOUNT_21420\u003e replied on the change","reason_account":{"_account_id":21420,"name":"Gage Hugo","email":"gagehugo@gmail.com","username":"ghugo"}},"17119":{"account":{"_account_id":17119,"name":"Dmitrii Kabanov","email":"dmitrii.kabanov@att.com","username":"dk370c"},"last_update":"2023-01-05 20:24:34.000000000","reason":"Change was submitted"}},"hashtags":[],"change_id":"I4e1542b62777f25c08ddd2cb74f0a0e7bfea5145","subject":"[grafana] Migrator job is mariadb-fail-proof","status":"MERGED","created":"2023-01-05 04:01:58.000000000","updated":"2023-01-05 20:25:38.000000000","submitted":"2023-01-05 20:24:34.000000000","submitter":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"total_comment_count":1,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"869273","meta_rev_id":"96c66520b9063dfd7dd2b5d2140d969a3e301642","_number":869273,"virtual_id_number":869273,"owner":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":21040,"name":"Alexey","email":"aodinokov@mirantis.com","username":"aodinokov"},{"value":0,"_account_id":29974,"name":"Stephen Taylor","email":"stephen.taylor.1@att.com","username":"st053q"},{"tag":"autogenerated:zuul:gate","value":2,"date":"2023-01-05 20:24:34.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":0,"_account_id":21420,"name":"Gage Hugo","email":"gagehugo@gmail.com","username":"ghugo"}],"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":{"approved":{"_account_id":29974,"name":"Stephen Taylor","email":"stephen.taylor.1@att.com","username":"st053q"},"recommended":{"_account_id":21040,"name":"Alexey","email":"aodinokov@mirantis.com","username":"aodinokov"},"all":[{"value":1,"date":"2023-01-05 19:09:07.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":21040,"name":"Alexey","email":"aodinokov@mirantis.com","username":"aodinokov"},{"value":2,"date":"2023-01-05 17:42:54.000000000","_account_id":29974,"name":"Stephen Taylor","email":"stephen.taylor.1@att.com","username":"st053q"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":2,"date":"2023-01-05 19:34:58.000000000","_account_id":21420,"name":"Gage Hugo","email":"gagehugo@gmail.com","username":"ghugo"}],"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":"","value":1,"default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":21420,"name":"Gage Hugo","email":"gagehugo@gmail.com","username":"ghugo"},"all":[{"value":0,"_account_id":21040,"name":"Alexey","email":"aodinokov@mirantis.com","username":"aodinokov"},{"value":0,"_account_id":29974,"name":"Stephen Taylor","email":"stephen.taylor.1@att.com","username":"st053q"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":1,"date":"2023-01-05 19:34:58.000000000","_account_id":21420,"name":"Gage Hugo","email":"gagehugo@gmail.com","username":"ghugo"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[{"_account_id":17119,"name":"Dmitrii Kabanov","email":"dmitrii.kabanov@att.com","username":"dk370c"}],"reviewers":{"REVIEWER":[{"_account_id":17119,"name":"Dmitrii Kabanov","email":"dmitrii.kabanov@att.com","username":"dk370c"},{"_account_id":21040,"name":"Alexey","email":"aodinokov@mirantis.com","username":"aodinokov"},{"_account_id":21420,"name":"Gage Hugo","email":"gagehugo@gmail.com","username":"ghugo"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":29974,"name":"Stephen Taylor","email":"stephen.taylor.1@att.com","username":"st053q"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2023-01-05 05:50:45.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"},{"updated":"2023-01-05 17:42:54.000000000","updated_by":{"_account_id":29974,"name":"Stephen Taylor","email":"stephen.taylor.1@att.com","username":"st053q"},"reviewer":{"_account_id":29974,"name":"Stephen Taylor","email":"stephen.taylor.1@att.com","username":"st053q"},"state":"REVIEWER"},{"updated":"2023-01-05 18:35:30.000000000","updated_by":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"reviewer":{"_account_id":17119,"name":"Dmitrii Kabanov","email":"dmitrii.kabanov@att.com","username":"dk370c"},"state":"REVIEWER"},{"updated":"2023-01-05 18:35:30.000000000","updated_by":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"reviewer":{"_account_id":21420,"name":"Gage Hugo","email":"gagehugo@gmail.com","username":"ghugo"},"state":"REVIEWER"},{"updated":"2023-01-05 19:09:07.000000000","updated_by":{"_account_id":21040,"name":"Alexey","email":"aodinokov@mirantis.com","username":"aodinokov"},"reviewer":{"_account_id":21040,"name":"Alexey","email":"aodinokov@mirantis.com","username":"aodinokov"},"state":"REVIEWER"}],"messages":[{"id":"c5fe2b0b25775ed5dc961dc9806127db1bf09dee","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"date":"2023-01-05 04:01:58.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"99f3c52074cd16cca06dcc0387af46b4f39d3b18","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"date":"2023-01-05 04:20:16.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"6219607f23a94db4613d0a33c954f602e14b4fee","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"date":"2023-01-05 04:23:03.000000000","message":"Uploaded patch set 3: Commit message was updated.","accounts_in_message":[],"_revision_number":3},{"id":"897f9f2c14d258098c13e8b3b4e2e497e29c3365","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"date":"2023-01-05 04:23:35.000000000","message":"Uploaded patch set 4: Commit message was updated.","accounts_in_message":[],"_revision_number":4},{"id":"dec1909d31ebbc5cf998e52f5d9c69de0895ab12","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"date":"2023-01-05 04:30:48.000000000","message":"Uploaded patch set 5.","accounts_in_message":[],"_revision_number":5},{"id":"4701750a5605de9d7db22f3fb93827b556d00278","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"date":"2023-01-05 04:42:58.000000000","message":"Uploaded patch set 6.","accounts_in_message":[],"_revision_number":6},{"id":"8729a9bac7953ae93993508dd9cef5c728ced7fb","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"date":"2023-01-05 05:04:13.000000000","message":"Uploaded patch set 7.","accounts_in_message":[],"_revision_number":7},{"id":"db9aee5f5fd381124dcf95f776a037efb31ccaff","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2023-01-05 05:50:45.000000000","message":"Patch Set 7: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/d214e12721de4d78adac6688a8ca7cc2\n\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/c96c868a95f141b1b33846e4b1c564f3 : SUCCESS in 2m 38s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/867bbb65d85e4c23b4e351d82d6d9f22 : SUCCESS in 2m 34s\n- openstack-helm-lint https://zuul.opendev.org/t/openstack/build/02fbd40ee30d4e85800b14cc0bbfdeb1 : SUCCESS in 3m 48s\n- openstack-helm-infra-deploy https://zuul.opendev.org/t/openstack/build/6a27d8fb2817449caf9cdab85462b3f7 : SUCCESS in 10m 42s\n- openstack-helm-infra-aio-logging https://zuul.opendev.org/t/openstack/build/8492163da49147efb6952da7982c5c13 : SUCCESS in 34m 01s\n- openstack-helm-infra-aio-monitoring https://zuul.opendev.org/t/openstack/build/39272586849a40338bd2515ca242d2ed : SUCCESS in 27m 59s\n- openstack-helm-infra-openstack-support https://zuul.opendev.org/t/openstack/build/b2f0b7b3852b40858408007b833776af : SUCCESS in 41m 42s\n- openstack-helm-infra-openstack-support-ssl https://zuul.opendev.org/t/openstack/build/db72cea12d2c465d8048a09769440945 : SUCCESS in 42m 00s\n- openstack-helm-infra-metacontroller https://zuul.opendev.org/t/openstack/build/a82f934ab3ad43ea943d9921fd6e993c : SUCCESS in 15m 57s","accounts_in_message":[],"_revision_number":7},{"id":"e4d7bc1b128caf2a31c5424dc39eb240f6d04d0d","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"date":"2023-01-05 16:22:38.000000000","message":"Uploaded patch set 8.","accounts_in_message":[],"_revision_number":8},{"id":"3cdbcfa12d48398c64b1a27fe216e1606609bb87","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"date":"2023-01-05 16:24:34.000000000","message":"Uploaded patch set 9.","accounts_in_message":[],"_revision_number":9},{"id":"259f35b5dd8e4582503a654995354076fce19434","author":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"date":"2023-01-05 16:41:36.000000000","message":"Patch Set 9:\n\n(1 comment)","accounts_in_message":[],"_revision_number":9},{"id":"7e37a0777381baa5d294b5cb50f9394645f0dfdb","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"date":"2023-01-05 16:43:25.000000000","message":"Uploaded patch set 10: Commit message was updated.","accounts_in_message":[],"_revision_number":10},{"id":"b7d1b89a7087cbe912feadce88923007562549c8","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2023-01-05 17:39:29.000000000","message":"Patch Set 10: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/ece15941a1aa402f9ac3258955f160b6\n\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/5e3ad8f6c91a4503b8e045a0f7952c4d : SUCCESS in 3m 00s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/a2574689cefe465aa0f5f39021edd7d8 : SUCCESS in 3m 32s\n- openstack-helm-lint https://zuul.opendev.org/t/openstack/build/d014d7f52ed348aabf7b79fa2365b807 : SUCCESS in 3m 00s\n- openstack-helm-infra-deploy https://zuul.opendev.org/t/openstack/build/be9359484ca6467aa36071852f453d50 : SUCCESS in 10m 15s\n- openstack-helm-infra-aio-logging https://zuul.opendev.org/t/openstack/build/1c55d9f7294e4cb39bd1d31017fa0653 : SUCCESS in 35m 20s\n- openstack-helm-infra-aio-monitoring https://zuul.opendev.org/t/openstack/build/c3c84686c3994321beab8a8c03ee0610 : SUCCESS in 27m 56s\n- openstack-helm-infra-openstack-support https://zuul.opendev.org/t/openstack/build/dab1352ba63944cdb300a107f23afc39 : SUCCESS in 42m 38s\n- openstack-helm-infra-openstack-support-ssl https://zuul.opendev.org/t/openstack/build/3ed30ffa57d54216a0f69ca16a305bb4 : SUCCESS in 47m 59s\n- openstack-helm-infra-metacontroller https://zuul.opendev.org/t/openstack/build/7997cac84e6b4e50b72c638824755788 : SUCCESS in 15m 23s","accounts_in_message":[],"_revision_number":10},{"id":"e7e13cdf8738171b093e891ad4e1a4c8841e2862","author":{"_account_id":29974,"name":"Stephen Taylor","email":"stephen.taylor.1@att.com","username":"st053q"},"date":"2023-01-05 17:42:54.000000000","message":"Patch Set 10: Code-Review+2","accounts_in_message":[],"_revision_number":10},{"id":"b2a443ff82f934e5b74991218ac4a8f0a692f4d4","author":{"_account_id":21040,"name":"Alexey","email":"aodinokov@mirantis.com","username":"aodinokov"},"date":"2023-01-05 19:09:07.000000000","message":"Patch Set 10: Code-Review+1","accounts_in_message":[],"_revision_number":10},{"id":"62cfcc4e051d5a27c88a5a6fd55d8541951e05eb","author":{"_account_id":21420,"name":"Gage Hugo","email":"gagehugo@gmail.com","username":"ghugo"},"date":"2023-01-05 19:34:58.000000000","message":"Patch Set 10: Code-Review+2 Workflow+1","accounts_in_message":[],"_revision_number":10},{"id":"10a83927ab6384f4d15cb8a7de7c05c638195b6f","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2023-01-05 19:35:19.000000000","message":"Patch Set 10: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":10},{"id":"b032e09568d6ef364a112aba94c454dcad54cb73","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2023-01-05 20:24:34.000000000","message":"Patch Set 10: Verified+2\n\nBuild succeeded (gate pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/cb7d83b42d2945daa4814441f3366f6d\n\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/7015ea80663047ad99360cecf87b7916 : SUCCESS in 3m 02s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/e59e1b474b5241b08c53ccddda34ccd5 : SUCCESS in 3m 05s\n- openstack-helm-lint https://zuul.opendev.org/t/openstack/build/ac22c98de4014d9bb6f154117bb4ad3d : SUCCESS in 3m 10s\n- openstack-helm-infra-aio-logging https://zuul.opendev.org/t/openstack/build/dcc57c08eb594fba9772bb7a28a3964a : SUCCESS in 32m 52s\n- openstack-helm-infra-aio-monitoring https://zuul.opendev.org/t/openstack/build/9a0b0da1d02d4710a0f8b7884761ccea : SUCCESS in 31m 36s\n- openstack-helm-infra-openstack-support https://zuul.opendev.org/t/openstack/build/5e2fbdff87b8422b89534bd108ea7a3e : SUCCESS in 44m 33s\n- openstack-helm-infra-openstack-support-ssl https://zuul.opendev.org/t/openstack/build/25d14c7da1ad45e7bd021435a07fc44a : SUCCESS in 44m 27s","accounts_in_message":[],"_revision_number":10},{"id":"3d53aa291ccfe141fd53cf91e97dbd84d1fcb5c4","tag":"autogenerated:gerrit:merged","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2023-01-05 20:24:34.000000000","message":"Change has been successfully merged","accounts_in_message":[],"_revision_number":10},{"id":"96c66520b9063dfd7dd2b5d2140d969a3e301642","tag":"autogenerated:zuul:promote","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2023-01-05 20:25:38.000000000","message":"Patch Set 10:\n\nBuild succeeded (promote pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/bc0eb4c75ce8420896d93da250e71538\n\n- promote-openstack-tox-docs https://zuul.opendev.org/t/openstack/build/3a0572d9785943708910cb4f7346158b : SUCCESS in 43s\n- promote-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/5280378fc4534b0cb12d43c25a0a2ba6 : SUCCESS in 43s","accounts_in_message":[],"_revision_number":10}],"current_revision_number":10,"current_revision":"00846e2e025319692b1fb48230fc8c1d66c29e73","revisions":{"a22aa44764b531125dd11c162fdf390786e8c13e":{"kind":"REWORK","_number":1,"created":"2023-01-05 04:01:58.000000000","uploader":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"ref":"refs/changes/73/869273/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-helm-infra","ref":"refs/changes/73/869273/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/1"}}},"commit":{"parents":[{"commit":"8b5ed4fe1945d1ba40c2a30502ab865e8bc2ba00","subject":"Merge \"Merge ovs-db and ovs-vswitchd in one Daemonset\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/8b5ed4fe1945d1ba40c2a30502ab865e8bc2ba00"}]}],"author":{"name":"Markin, Sergiy","email":"sergiy.markin@att.com","date":"2023-01-05 04:01:20.000000000","tz":-360},"committer":{"name":"Markin, Sergiy","email":"sergiy.markin@att.com","date":"2023-01-05 04:01:20.000000000","tz":-360},"subject":"[grafana] Migrator job is mariadb-fail-proof","message":"[grafana] Migrator job is mariadb-fail-proof\n\nThe main goal of this PS is to make sure the migrator can complete the migrations even if mariadb galera cluster dropped the migrator connection leaving the database in inconsistent state. It may happen that migration_log has a record of a successfully performed migration while the database scheme misses an entity so any further attempts to re-run the migrator fail because of missed entity the migrator expects to be present.\n\nThis PS runs migrator in a safe way:\n- prepares database backup\n- runs a single instance of grafana as migrator with log file as a background process in a loop\n- constantly checks the log file in the main process\n- in case of the migrations completed it stops grafana-server process and completed the job\n- in case of a migration error it restores the previously prepared backup so the grafana-server that is running in a background loop can re-try the migration\n- the database operations are prefixed with code that makes sure the database is reachable.\n\nChange-Id: I4e1542b62777f25c08ddd2cb74f0a0e7bfea5145\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/a22aa44764b531125dd11c162fdf390786e8c13e"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/a22aa44764b531125dd11c162fdf390786e8c13e"}]},"branch":"refs/heads/master"},"b80a1a32f3f61f0501e52e3bbb80a0a46b9325ca":{"kind":"REWORK","_number":2,"created":"2023-01-05 04:20:16.000000000","uploader":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"ref":"refs/changes/73/869273/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-helm-infra","ref":"refs/changes/73/869273/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/2"}}},"commit":{"parents":[{"commit":"8b5ed4fe1945d1ba40c2a30502ab865e8bc2ba00","subject":"Merge \"Merge ovs-db and ovs-vswitchd in one Daemonset\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/8b5ed4fe1945d1ba40c2a30502ab865e8bc2ba00"}]}],"author":{"name":"Markin, Sergiy","email":"sergiy.markin@att.com","date":"2023-01-05 04:01:20.000000000","tz":-360},"committer":{"name":"Markin, Sergiy","email":"sergiy.markin@att.com","date":"2023-01-05 04:20:06.000000000","tz":-360},"subject":"[grafana] Migrator job is mariadb-fail-proof","message":"[grafana] Migrator job is mariadb-fail-proof\n\nThe main goal of this PS is to make sure the migrator can complete the migrations even if mariadb galera cluster dropped the migrator connection leaving the database in inconsistent state. It may happen that migration_log has a record of a successfully performed migration while the database scheme misses an entity so any further attempts to re-run the migrator fail because of missed entity the migrator expects to be present.\n\nThis PS runs migrator in a safe way:\n- prepares database backup\n- runs a single instance of grafana as migrator with log file as a background process in a loop\n- constantly checks the log file in the main process\n- in case of the migrations completed it stops grafana-server process and completed the job\n- in case of a migration error it restores the previously prepared backup so the grafana-server that is running in a background loop can re-try the migration\n- the database operations are prefixed with code that makes sure the database is reachable.\n\nChange-Id: I4e1542b62777f25c08ddd2cb74f0a0e7bfea5145\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/b80a1a32f3f61f0501e52e3bbb80a0a46b9325ca"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/b80a1a32f3f61f0501e52e3bbb80a0a46b9325ca"}]},"branch":"refs/heads/master"},"e0c960c2db239fe0727a1b084ed8657bdc78755b":{"kind":"NO_CODE_CHANGE","_number":3,"created":"2023-01-05 04:23:03.000000000","uploader":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"ref":"refs/changes/73/869273/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-helm-infra","ref":"refs/changes/73/869273/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/3"}}},"commit":{"parents":[{"commit":"8b5ed4fe1945d1ba40c2a30502ab865e8bc2ba00","subject":"Merge \"Merge ovs-db and ovs-vswitchd in one Daemonset\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/8b5ed4fe1945d1ba40c2a30502ab865e8bc2ba00"}]}],"author":{"name":"Markin, Sergiy","email":"sergiy.markin@att.com","date":"2023-01-05 04:01:20.000000000","tz":-360},"committer":{"name":"Markin, Sergiy","email":"sergiy.markin@att.com","date":"2023-01-05 04:20:54.000000000","tz":-360},"subject":"[grafana] Migrator job is mariadb-fail-proof","message":"[grafana] Migrator job is mariadb-fail-proof\n\nThe main goal of this PS is to make sure the migrator can complete the migrations even if mariadb galera cluster dropped the migrator connection leaving the database in inconsistent state. It may happen that migration_log has a record of a successfully performed migration while the database scheme misses an entity so any further attempts to re-run the migrator fail because of missed entity the migrator expects to be present.\n\nAlso in the chart template grafana user uid has been changed form 104 to 472. Migrator is running mariadb image as a main one and grafana binaries are mounted as /usr/share/grafana. Migrator job container is running under nobody user uid.\n\nThis PS runs migrator in a safe way:\n- prepares database backup\n- runs a single instance of grafana as migrator with log file as a background process in a loop\n- constantly checks the log file in the main process\n- in case of the migrations completed it stops grafana-server process and completed the job\n- in case of a migration error it restores the previously prepared backup so the grafana-server that is running in a background loop can re-try the migration\n- the database operations are prefixed with code that makes sure the database is reachable.\n\nChange-Id: I4e1542b62777f25c08ddd2cb74f0a0e7bfea5145\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/e0c960c2db239fe0727a1b084ed8657bdc78755b"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/e0c960c2db239fe0727a1b084ed8657bdc78755b"}]},"branch":"refs/heads/master"},"93d69a953ce77370cf3d2d30990a3426b9edeae2":{"kind":"NO_CODE_CHANGE","_number":4,"created":"2023-01-05 04:23:35.000000000","uploader":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"ref":"refs/changes/73/869273/4","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-helm-infra","ref":"refs/changes/73/869273/4","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/4"}}},"commit":{"parents":[{"commit":"8b5ed4fe1945d1ba40c2a30502ab865e8bc2ba00","subject":"Merge \"Merge ovs-db and ovs-vswitchd in one Daemonset\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/8b5ed4fe1945d1ba40c2a30502ab865e8bc2ba00"}]}],"author":{"name":"Markin, Sergiy","email":"sergiy.markin@att.com","date":"2023-01-05 04:01:20.000000000","tz":-360},"committer":{"name":"Markin, Sergiy","email":"sergiy.markin@att.com","date":"2023-01-05 04:23:18.000000000","tz":-360},"subject":"[grafana] Migrator job is mariadb-fail-proof","message":"[grafana] Migrator job is mariadb-fail-proof\n\nThe main goal of this PS is to make sure the migrator can complete the migrations even if mariadb galera cluster dropped the migrator connection leaving the database in inconsistent state. It may happen that migration_log has a record of a successfully performed migration while the database scheme misses an entity so any further attempts to re-run the migrator fail because of missed entity the migrator expects to be present.\n\nAlso in the chart template grafana user uid has been changed from 104 to 472. Migrator is running mariadb image as a main one and grafana binaries are mounted as /usr/share/grafana. Migrator job container is running under nobody user uid.\n\nThis PS runs migrator in a safe way:\n- prepares database backup\n- runs a single instance of grafana as migrator with log file as a background process in a loop\n- constantly checks the log file in the main process\n- in case of the migrations completed it stops grafana-server process and completed the job\n- in case of a migration error it restores the previously prepared backup so the grafana-server that is running in a background loop can re-try the migration\n- the database operations are prefixed with code that makes sure the database is reachable.\n\nChange-Id: I4e1542b62777f25c08ddd2cb74f0a0e7bfea5145\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/93d69a953ce77370cf3d2d30990a3426b9edeae2"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/93d69a953ce77370cf3d2d30990a3426b9edeae2"}]},"branch":"refs/heads/master"},"79c697b6d8113a61f6fa8d54ca4601c8f009630a":{"kind":"REWORK","_number":5,"created":"2023-01-05 04:30:48.000000000","uploader":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"ref":"refs/changes/73/869273/5","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-helm-infra","ref":"refs/changes/73/869273/5","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/5 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/5 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/5 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/5"}}},"commit":{"parents":[{"commit":"8b5ed4fe1945d1ba40c2a30502ab865e8bc2ba00","subject":"Merge \"Merge ovs-db and ovs-vswitchd in one Daemonset\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/8b5ed4fe1945d1ba40c2a30502ab865e8bc2ba00"}]}],"author":{"name":"Markin, Sergiy","email":"sergiy.markin@att.com","date":"2023-01-05 04:01:20.000000000","tz":-360},"committer":{"name":"Markin, Sergiy","email":"sergiy.markin@att.com","date":"2023-01-05 04:30:43.000000000","tz":-360},"subject":"[grafana] Migrator job is mariadb-fail-proof","message":"[grafana] Migrator job is mariadb-fail-proof\n\nThe main goal of this PS is to make sure the migrator can complete the migrations even if mariadb galera cluster dropped the migrator connection leaving the database in inconsistent state. It may happen that migration_log has a record of a successfully performed migration while the database scheme misses an entity so any further attempts to re-run the migrator fail because of missed entity the migrator expects to be present.\n\nAlso in the chart template grafana user uid has been changed from 104 to 472. Migrator is running mariadb image as a main one and grafana binaries are mounted as /usr/share/grafana. Migrator job container is running under nobody user uid.\n\nThis PS runs migrator in a safe way:\n- prepares database backup\n- runs a single instance of grafana as migrator with log file as a background process in a loop\n- constantly checks the log file in the main process\n- in case of the migrations completed it stops grafana-server process and completed the job\n- in case of a migration error it restores the previously prepared backup so the grafana-server that is running in a background loop can re-try the migration\n- the database operations are prefixed with code that makes sure the database is reachable.\n\nChange-Id: I4e1542b62777f25c08ddd2cb74f0a0e7bfea5145\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/79c697b6d8113a61f6fa8d54ca4601c8f009630a"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/79c697b6d8113a61f6fa8d54ca4601c8f009630a"}]},"branch":"refs/heads/master"},"f4113b0cd1f2decec1ed9b8d1d4d0a74dad2586e":{"kind":"REWORK","_number":6,"created":"2023-01-05 04:42:58.000000000","uploader":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"ref":"refs/changes/73/869273/6","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-helm-infra","ref":"refs/changes/73/869273/6","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/6 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/6 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/6 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/6"}}},"commit":{"parents":[{"commit":"8b5ed4fe1945d1ba40c2a30502ab865e8bc2ba00","subject":"Merge \"Merge ovs-db and ovs-vswitchd in one Daemonset\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/8b5ed4fe1945d1ba40c2a30502ab865e8bc2ba00"}]}],"author":{"name":"Markin, Sergiy","email":"sergiy.markin@att.com","date":"2023-01-05 04:01:20.000000000","tz":-360},"committer":{"name":"Markin, Sergiy","email":"sergiy.markin@att.com","date":"2023-01-05 04:42:53.000000000","tz":-360},"subject":"[grafana] Migrator job is mariadb-fail-proof","message":"[grafana] Migrator job is mariadb-fail-proof\n\nThe main goal of this PS is to make sure the migrator can complete the migrations even if mariadb galera cluster dropped the migrator connection leaving the database in inconsistent state. It may happen that migration_log has a record of a successfully performed migration while the database scheme misses an entity so any further attempts to re-run the migrator fail because of missed entity the migrator expects to be present.\n\nAlso in the chart template grafana user uid has been changed from 104 to 472. Migrator is running mariadb image as a main one and grafana binaries are mounted as /usr/share/grafana. Migrator job container is running under nobody user uid.\n\nThis PS runs migrator in a safe way:\n- prepares database backup\n- runs a single instance of grafana as migrator with log file as a background process in a loop\n- constantly checks the log file in the main process\n- in case of the migrations completed it stops grafana-server process and completed the job\n- in case of a migration error it restores the previously prepared backup so the grafana-server that is running in a background loop can re-try the migration\n- the database operations are prefixed with code that makes sure the database is reachable.\n\nChange-Id: I4e1542b62777f25c08ddd2cb74f0a0e7bfea5145\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/f4113b0cd1f2decec1ed9b8d1d4d0a74dad2586e"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/f4113b0cd1f2decec1ed9b8d1d4d0a74dad2586e"}]},"branch":"refs/heads/master"},"d25e463cc64f6112c430a82c448b9836050ee37c":{"kind":"REWORK","_number":7,"created":"2023-01-05 05:04:13.000000000","uploader":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"ref":"refs/changes/73/869273/7","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-helm-infra","ref":"refs/changes/73/869273/7","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/7 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/7 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/7 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/7"}}},"commit":{"parents":[{"commit":"8b5ed4fe1945d1ba40c2a30502ab865e8bc2ba00","subject":"Merge \"Merge ovs-db and ovs-vswitchd in one Daemonset\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/8b5ed4fe1945d1ba40c2a30502ab865e8bc2ba00"}]}],"author":{"name":"Markin, Sergiy","email":"sergiy.markin@att.com","date":"2023-01-05 04:01:20.000000000","tz":-360},"committer":{"name":"Markin, Sergiy","email":"sergiy.markin@att.com","date":"2023-01-05 05:04:07.000000000","tz":-360},"subject":"[grafana] Migrator job is mariadb-fail-proof","message":"[grafana] Migrator job is mariadb-fail-proof\n\nThe main goal of this PS is to make sure the migrator can complete the migrations even if mariadb galera cluster dropped the migrator connection leaving the database in inconsistent state. It may happen that migration_log has a record of a successfully performed migration while the database scheme misses an entity so any further attempts to re-run the migrator fail because of missed entity the migrator expects to be present.\n\nAlso in the chart template grafana user uid has been changed from 104 to 472. Migrator is running mariadb image as a main one and grafana binaries are mounted as /usr/share/grafana. Migrator job container is running under nobody user uid.\n\nThis PS runs migrator in a safe way:\n- prepares database backup\n- runs a single instance of grafana as migrator with log file as a background process in a loop\n- constantly checks the log file in the main process\n- in case of the migrations completed it stops grafana-server process and completed the job\n- in case of a migration error it restores the previously prepared backup so the grafana-server that is running in a background loop can re-try the migration\n- the database operations are prefixed with code that makes sure the database is reachable.\n\nChange-Id: I4e1542b62777f25c08ddd2cb74f0a0e7bfea5145\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/d25e463cc64f6112c430a82c448b9836050ee37c"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/d25e463cc64f6112c430a82c448b9836050ee37c"}]},"branch":"refs/heads/master"},"77022bd494412bd47248a5ec4f1b579d8956bcf6":{"kind":"REWORK","_number":8,"created":"2023-01-05 16:22:38.000000000","uploader":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"ref":"refs/changes/73/869273/8","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-helm-infra","ref":"refs/changes/73/869273/8","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/8 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/8 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/8 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/8"}}},"commit":{"parents":[{"commit":"05ba56e0a9444853ac5fe8224bb714d62e0152db","subject":"Merge \"[helm-toolkit]: Allow tls for external ingress without specifying key and crt\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/05ba56e0a9444853ac5fe8224bb714d62e0152db"}]}],"author":{"name":"Markin, Sergiy","email":"sergiy.markin@att.com","date":"2023-01-05 04:01:20.000000000","tz":-360},"committer":{"name":"Markin, Sergiy","email":"sergiy.markin@att.com","date":"2023-01-05 16:21:48.000000000","tz":-360},"subject":"[grafana] Migrator job is mariadb-fail-proof","message":"[grafana] Migrator job is mariadb-fail-proof\n\nThe main goal of this PS is to make sure the migrator can complete the migrations even if mariadb galera cluster dropped the migrator connection leaving the database in inconsistent state. It may happen that migration_log has a record of a successfully performed migration while the database scheme misses an entity so any further attempts to re-run the migrator fail because of missed entity the migrator expects to be present.\n\nAlso in the chart template grafana user uid has been changed from 104 to 472. Migrator is running mariadb image as a main one and grafana binaries are mounted as /usr/share/grafana. Migrator job container is running under nobody user uid.\n\nThis PS runs migrator in a safe way:\n- prepares database backup\n- runs a single instance of grafana as migrator with log file as a background process in a loop\n- constantly checks the log file in the main process\n- in case of the migrations completed it stops grafana-server process and completed the job\n- in case of a migration error it restores the previously prepared backup so the grafana-server that is running in a background loop can re-try the migration\n- the database operations are prefixed with code that makes sure the database is reachable.\n\nChange-Id: I4e1542b62777f25c08ddd2cb74f0a0e7bfea5145\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/77022bd494412bd47248a5ec4f1b579d8956bcf6"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/77022bd494412bd47248a5ec4f1b579d8956bcf6"}]},"branch":"refs/heads/master"},"be9b75f05962cd11f40ad595ea08a702f614bfc8":{"kind":"REWORK","_number":9,"created":"2023-01-05 16:24:34.000000000","uploader":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"ref":"refs/changes/73/869273/9","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-helm-infra","ref":"refs/changes/73/869273/9","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/9 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/9 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/9 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/9"}}},"commit":{"parents":[{"commit":"05ba56e0a9444853ac5fe8224bb714d62e0152db","subject":"Merge \"[helm-toolkit]: Allow tls for external ingress without specifying key and crt\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/05ba56e0a9444853ac5fe8224bb714d62e0152db"}]}],"author":{"name":"Markin, Sergiy","email":"sergiy.markin@att.com","date":"2023-01-05 04:01:20.000000000","tz":-360},"committer":{"name":"Markin, Sergiy","email":"sergiy.markin@att.com","date":"2023-01-05 16:24:05.000000000","tz":-360},"subject":"[grafana] Migrator job is mariadb-fail-proof","message":"[grafana] Migrator job is mariadb-fail-proof\n\nThe main goal of this PS is to make sure the migrator can complete the migrations even if mariadb galera cluster dropped the migrator connection leaving the database in inconsistent state. It may happen that migration_log has a record of a successfully performed migration while the database scheme misses an entity so any further attempts to re-run the migrator fail because of missed entity the migrator expects to be present.\n\nAlso in the chart template grafana user uid has been changed from 104 to 472. Migrator is running mariadb image as a main one and grafana binaries are mounted as /usr/share/grafana. Migrator job container is running under nobody user uid.\n\nThis PS runs migrator in a safe way:\n- prepares database backup\n- runs a single instance of grafana as migrator with log file as a background process in a loop\n- constantly checks the log file in the main process\n- in case of the migrations completed it stops grafana-server process and completed the job\n- in case of a migration error it restores the previously prepared backup so the grafana-server that is running in a background loop can re-try the migration\n- the database operations are prefixed with code that makes sure the database is reachable.\n\nChange-Id: I4e1542b62777f25c08ddd2cb74f0a0e7bfea5145\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/be9b75f05962cd11f40ad595ea08a702f614bfc8"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/be9b75f05962cd11f40ad595ea08a702f614bfc8"}]},"branch":"refs/heads/master"},"00846e2e025319692b1fb48230fc8c1d66c29e73":{"kind":"NO_CODE_CHANGE","_number":10,"created":"2023-01-05 16:43:25.000000000","uploader":{"_account_id":34520,"name":"Sergiy Markin","email":"smarkin@mirantis.com","username":"sm515x"},"ref":"refs/changes/73/869273/10","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-helm-infra","ref":"refs/changes/73/869273/10","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/10 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/10 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/10 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-helm-infra refs/changes/73/869273/10"}}},"commit":{"parents":[{"commit":"05ba56e0a9444853ac5fe8224bb714d62e0152db","subject":"Merge \"[helm-toolkit]: Allow tls for external ingress without specifying key and crt\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/05ba56e0a9444853ac5fe8224bb714d62e0152db"}]}],"author":{"name":"Markin, Sergiy","email":"sergiy.markin@att.com","date":"2023-01-05 04:01:20.000000000","tz":-360},"committer":{"name":"Markin, Sergiy","email":"sergiy.markin@att.com","date":"2023-01-05 16:27:37.000000000","tz":-360},"subject":"[grafana] Migrator job is mariadb-fail-proof","message":"[grafana] Migrator job is mariadb-fail-proof\n\nThe main goal of this PS is to make sure the migrator can complete the migrations even if mariadb galera cluster dropped the migrator connection leaving the database in inconsistent state. It may happen that migration_log has a record of a successfully performed migration while the database scheme misses an entity so any further attempts to re-run the migrator fail because of missed entity the migrator expects to be present.\n\nAlso the migrator is running mariadb image as a main one and grafana binaries are mounted as /usr/share/grafana. Migrator job container is running under nobody user uid.\n\nThis PS runs migrator in a safe way:\n- prepares database backup\n- runs a single instance of grafana as migrator with log file as a background process in a loop\n- constantly checks the log file in the main process\n- in case of the migrations completed it stops grafana-server process and completed the job\n- in case of a migration error it restores the previously prepared backup so the grafana-server that is running in a background loop can re-try the migration\n- the database operations are prefixed with code that makes sure the database is reachable.\n\nChange-Id: I4e1542b62777f25c08ddd2cb74f0a0e7bfea5145\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/00846e2e025319692b1fb48230fc8c1d66c29e73"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-infra/commit/00846e2e025319692b1fb48230fc8c1d66c29e73"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[{"rule_name":"gerrit~DefaultSubmitRule","status":"CLOSED","labels":[{"label":"Verified","status":"OK","applied_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}},{"label":"Code-Review","status":"OK","applied_by":{"_account_id":21420,"name":"Gage Hugo","email":"gagehugo@gmail.com","username":"ghugo"}},{"label":"Workflow","status":"OK","applied_by":{"_account_id":21420,"name":"Gage Hugo","email":"gagehugo@gmail.com","username":"ghugo"}}]}],"submit_requirements":[]}
