)]}'
{"id":"openstack%2Fopenstack-helm~649156","triplet_id":"openstack%2Fopenstack-helm~master~I1aa58e077af06e5467488ec195a89813b32229c4","project":"openstack/openstack-helm","branch":"master","hashtags":[],"change_id":"I1aa58e077af06e5467488ec195a89813b32229c4","subject":"[WIP/DNM] This adds the lcm.sh script for lifecylce management","status":"ABANDONED","created":"2019-04-01 18:27:42.000000000","updated":"2019-04-03 15:55:22.000000000","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"e9f77016e4533864ac10c43e6d61af15fed851c3","_number":649156,"virtual_id_number":649156,"owner":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"actions":{},"labels":{"Verified":{"disliked":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"value":-1,"date":"2019-04-01 21:46:20.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}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2019-04-01 21:46:20.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":"db58109dc62168b31d978b702b3c59069085a758","author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"date":"2019-04-01 18:27:42.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"18dc5eff795cf0160027b5b3e75c394a61457ea6","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-04-01 19:19:46.000000000","message":"Patch Set 1: Verified-1\n\nBuild failed (check pipeline).  For information on how to proceed, see\nhttp://docs.openstack.org/infra/manual/developers.html#automated-testing\n\n\n- openstack-tox-docs http://logs.openstack.org/56/649156/1/check/openstack-tox-docs/18cb732/html/ : SUCCESS in 5m 23s\n- openstack-helm-lint http://logs.openstack.org/56/649156/1/check/openstack-helm-lint/1c93d26/ : SUCCESS in 2m 35s\n- openstack-helm-keystone http://logs.openstack.org/56/649156/1/check/openstack-helm-keystone/479c043/ : FAILURE in 35m 39s\n- openstack-helm-keystone-ldap http://logs.openstack.org/56/649156/1/check/openstack-helm-keystone-ldap/97b39c9/ : FAILURE in 35m 44s\n- openstack-helm-glance http://logs.openstack.org/56/649156/1/check/openstack-helm-glance/a3fb57a/ : FAILURE in 38m 10s\n- openstack-helm-heat http://logs.openstack.org/56/649156/1/check/openstack-helm-heat/963f0e5/ : FAILURE in 35m 35s\n- openstack-helm-cinder http://logs.openstack.org/56/649156/1/check/openstack-helm-cinder/a712e81/ : FAILURE in 46m 55s\n- openstack-helm-compute-kit http://logs.openstack.org/56/649156/1/check/openstack-helm-compute-kit/77d4562/ : FAILURE in 35m 41s","accounts_in_message":[],"_revision_number":1},{"id":"ae35b01085cd41b7922263c4fa8e7b34f2dc1c07","author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"date":"2019-04-01 20:39:45.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"93ade33e250c931a62ed61342fdd7a225425a7a0","author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"date":"2019-04-01 21:00:08.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"e409f0e6184675c15038350d1ce1231dfd9a804d","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-04-01 21:46:20.000000000","message":"Patch Set 3: Verified-1\n\nBuild failed (check pipeline).  For information on how to proceed, see\nhttp://docs.openstack.org/infra/manual/developers.html#automated-testing\n\n\n- openstack-tox-docs http://logs.openstack.org/56/649156/3/check/openstack-tox-docs/cf5cdf8/html/ : SUCCESS in 9m 09s\n- openstack-helm-lint http://logs.openstack.org/56/649156/3/check/openstack-helm-lint/6c54a06/ : SUCCESS in 3m 28s\n- openstack-helm-keystone http://logs.openstack.org/56/649156/3/check/openstack-helm-keystone/ddc2be9/ : FAILURE in 35m 46s\n- openstack-helm-keystone-ldap http://logs.openstack.org/56/649156/3/check/openstack-helm-keystone-ldap/0681da8/ : FAILURE in 35m 24s\n- openstack-helm-glance http://logs.openstack.org/56/649156/3/check/openstack-helm-glance/a4193fa/ : FAILURE in 35m 34s\n- openstack-helm-heat http://logs.openstack.org/56/649156/3/check/openstack-helm-heat/f9bb032/ : FAILURE in 43m 44s\n- openstack-helm-cinder http://logs.openstack.org/56/649156/3/check/openstack-helm-cinder/4e8dd0a/ : FAILURE in 45m 00s\n- openstack-helm-compute-kit http://logs.openstack.org/56/649156/3/check/openstack-helm-compute-kit/9fffa76/ : FAILURE in 36m 15s","accounts_in_message":[],"_revision_number":3},{"id":"e9f77016e4533864ac10c43e6d61af15fed851c3","author":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"date":"2019-04-03 15:55:22.000000000","message":"Abandoned","accounts_in_message":[],"_revision_number":3}],"current_revision_number":3,"current_revision":"42a085c2bc9b75491655f7fa645e400ca9e6e6a6","revisions":{"019b6d18fa227e47b5f997829cc7e648c99a1228":{"kind":"REWORK","_number":1,"created":"2019-04-01 18:27:42.000000000","uploader":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"ref":"refs/changes/56/649156/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-helm","ref":"refs/changes/56/649156/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-helm refs/changes/56/649156/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-helm refs/changes/56/649156/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-helm refs/changes/56/649156/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-helm refs/changes/56/649156/1"}}},"commit":{"parents":[{"commit":"6e07902b1f6483d130e70cee363b4d0bd1045f4c","subject":"WIP/DNM Implement argo workflows into the keystone chart","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm/commit/6e07902b1f6483d130e70cee363b4d0bd1045f4c"}]}],"author":{"name":"Ian Howell","email":"ian.howell0@gmail.com","date":"2019-04-01 18:15:54.000000000","tz":-300},"committer":{"name":"Ian Howell","email":"ian.howell0@gmail.com","date":"2019-04-01 18:26:15.000000000","tz":-300},"subject":"[WIP/DNM] This adds the lcm.sh script for lifecylce management","message":"[WIP/DNM] This adds the lcm.sh script for lifecylce management\n\nNote to reviewers: This commit is a POC, and will not be able to pass\nthe gates without changing the gates\n\nProblems this commit addresses:\n\n* We want to introduce usage of Argo Workflows to our current process, which\n  uses Helm. This doesn\u0027t work too well, because a Workflow is a sort of \"one\n  and done\" deal. Once the Helm chart has been installed, there\u0027s virtually no\n  way to change it, since everything was done by the Workflow, and the Workflow\n  can\u0027t be rerun\n* There\u0027s a semantics issue with `helm install` - It makes sense to /deploy/ a\n  service, but for upgrading/deleting/backing-up/etc, it\u0027s a bit nonsense.\n\nA solution:\n\n* Helm install installs an armada-like object into the cluster.  This object\n  knows things like where the chart is located.  It might also be beneficial to\n  include configmaps in this object.\n\n* We then supply a handful of Argo Workflows, where each wf is associated with\n  a lifecycle event for the chart. We might have these wfs:\n  - Install\n  - Backup\n  - Upgrade\n  - Delete\n  This solves the issue of including an Argo Workflow into a helm chart\n\n* Finally, we create a lifecycle management tool (lcm.sh in this POC),\n  which wraps helm template and kubectl apply to instantiate Workflows.\n  The Lifecycle then looks something like this:\n\n  ```\n  # Inject the relevant configmaps, secrets, etc into the cluster\n  helm install keystone ./keystone --namespace\u003dopenstack\n  # Instantiate the install workflow\n  ./lcm.sh install keystone\n  # Make some changes to upgrade the keystone chart,\n  # and instantiate the upgrade workflow\n  ./lcm.sh install upgrade\n\nFuture:\n* This process may be streamlined - this needs some experimentation, but it may\n  be possible to create generic workflows which work for any given Openstack\n  service. That is, rather than having multiple `lifecycle-events` directories,\n  we create a single directory which is then shared among all services\n\nChange-Id: I1aa58e077af06e5467488ec195a89813b32229c4\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm/commit/019b6d18fa227e47b5f997829cc7e648c99a1228"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm/commit/019b6d18fa227e47b5f997829cc7e648c99a1228"}]},"branch":"refs/heads/master"},"923cfc3ce001d264fdedceb570ba1e2baa0f1990":{"kind":"REWORK","_number":2,"created":"2019-04-01 20:39:45.000000000","uploader":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"ref":"refs/changes/56/649156/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-helm","ref":"refs/changes/56/649156/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-helm refs/changes/56/649156/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-helm refs/changes/56/649156/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-helm refs/changes/56/649156/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-helm refs/changes/56/649156/2"}}},"commit":{"parents":[{"commit":"6e07902b1f6483d130e70cee363b4d0bd1045f4c","subject":"WIP/DNM Implement argo workflows into the keystone chart","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm/commit/6e07902b1f6483d130e70cee363b4d0bd1045f4c"}]}],"author":{"name":"Ian Howell","email":"ian.howell0@gmail.com","date":"2019-04-01 18:15:54.000000000","tz":-300},"committer":{"name":"Ian Howell","email":"ian.howell0@gmail.com","date":"2019-04-01 20:39:11.000000000","tz":-300},"subject":"[WIP/DNM] This adds the lcm.sh script for lifecylce management","message":"[WIP/DNM] This adds the lcm.sh script for lifecylce management\n\nNote to reviewers: This commit is a POC, and will not be able to pass\nthe gates without changing the gates\n\nProblems this commit addresses:\n\n* We want to introduce usage of Argo Workflows to our current process, which\n  uses Helm. This doesn\u0027t work too well, because a Workflow is a sort of \"one\n  and done\" deal. Once the Helm chart has been installed, there\u0027s virtually no\n  way to change it, since everything was done by the Workflow, and the Workflow\n  can\u0027t be rerun\n* There\u0027s a semantics issue with `helm install` - It makes sense to /deploy/ a\n  service, but for upgrading/deleting/backing-up/etc, it\u0027s a bit nonsense.\n\nA solution:\n\n* Helm install installs an armada-like object into the cluster.  This object\n  knows things like where the chart is located.  It might also be beneficial to\n  include configmaps in this object.\n\n* We then supply a handful of Argo Workflows, where each wf is associated with\n  a lifecycle event for the chart. We might have these wfs:\n  - Install\n  - Backup\n  - Upgrade\n  - Delete\n  This solves the issue of including an Argo Workflow into a helm chart\n\n* Finally, we create a lifecycle management tool (lcm.sh in this POC),\n  which wraps helm template and kubectl apply to instantiate Workflows.\n  The Lifecycle then looks something like this:\n\n  ```\n  # Inject the relevant configmaps, secrets, etc into the cluster\n  helm install keystone ./keystone --namespace\u003dopenstack\n  # Instantiate the install workflow\n  ./lcm.sh install keystone\n  # Make some changes to upgrade the keystone chart,\n  # and instantiate the upgrade workflow\n  ./lcm.sh install upgrade\n\nFuture:\n* This process may be streamlined - this needs some experimentation, but it may\n  be possible to create generic workflows which work for any given Openstack\n  service. That is, rather than having multiple `lifecycle-events` directories,\n  we create a single directory which is then shared among all services\n\nChange-Id: I1aa58e077af06e5467488ec195a89813b32229c4\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm/commit/923cfc3ce001d264fdedceb570ba1e2baa0f1990"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm/commit/923cfc3ce001d264fdedceb570ba1e2baa0f1990"}]},"branch":"refs/heads/master"},"42a085c2bc9b75491655f7fa645e400ca9e6e6a6":{"kind":"REWORK","_number":3,"created":"2019-04-01 21:00:08.000000000","uploader":{"_account_id":28869,"name":"Ian Howell","email":"ian.howell0@gmail.com","username":"ian"},"ref":"refs/changes/56/649156/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-helm","ref":"refs/changes/56/649156/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-helm refs/changes/56/649156/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-helm refs/changes/56/649156/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-helm refs/changes/56/649156/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-helm refs/changes/56/649156/3"}}},"commit":{"parents":[{"commit":"6e07902b1f6483d130e70cee363b4d0bd1045f4c","subject":"WIP/DNM Implement argo workflows into the keystone chart","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm/commit/6e07902b1f6483d130e70cee363b4d0bd1045f4c"}]}],"author":{"name":"Ian Howell","email":"ian.howell0@gmail.com","date":"2019-04-01 18:15:54.000000000","tz":-300},"committer":{"name":"Ian Howell","email":"ian.howell0@gmail.com","date":"2019-04-01 21:00:00.000000000","tz":-300},"subject":"[WIP/DNM] This adds the lcm.sh script for lifecylce management","message":"[WIP/DNM] This adds the lcm.sh script for lifecylce management\n\nNote to reviewers: This commit is a POC, and will not be able to pass\nthe gates without changing the gates\n\nProblems this commit addresses:\n\n* We want to introduce usage of Argo Workflows to our current process, which\n  uses Helm. This doesn\u0027t work too well, because a Workflow is a sort of \"one\n  and done\" deal. Once the Helm chart has been installed, there\u0027s virtually no\n  way to change it, since everything was done by the Workflow, and the Workflow\n  can\u0027t be rerun\n* There\u0027s a semantics issue with `helm install` - It makes sense to /deploy/ a\n  service, but for upgrading/deleting/backing-up/etc, it\u0027s a bit nonsense.\n\nA solution:\n\n* Helm install installs an armada-like object into the cluster.  This object\n  knows things like where the chart is located.  It might also be beneficial to\n  include configmaps in this object.\n\n* We then supply a handful of Argo Workflows, where each wf is associated with\n  a lifecycle event for the chart. We might have these wfs:\n  - Install\n  - Backup\n  - Upgrade\n  - Delete\n  This solves the issue of including an Argo Workflow into a helm chart\n\n* Finally, we create a lifecycle management tool (lcm.sh in this POC),\n  which wraps helm template and kubectl apply to instantiate Workflows.\n  The Lifecycle then looks something like this:\n\n  ```\n  # Inject the relevant configmaps, secrets, etc into the cluster\n  helm install keystone ./keystone --namespace\u003dopenstack\n  # Instantiate the install workflow\n  ./lcm.sh install keystone\n  # Make some changes to upgrade the keystone chart,\n  # and instantiate the upgrade workflow\n  ./lcm.sh install upgrade\n\nFuture:\n* This process may be streamlined - this needs some experimentation, but it may\n  be possible to create generic workflows which work for any given Openstack\n  service. That is, rather than having multiple `lifecycle-events` directories,\n  we create a single directory which is then shared among all services\n\nChange-Id: I1aa58e077af06e5467488ec195a89813b32229c4\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm/commit/42a085c2bc9b75491655f7fa645e400ca9e6e6a6"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm/commit/42a085c2bc9b75491655f7fa645e400ca9e6e6a6"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
