)]}'
{"deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml":[{"author":{"_account_id":6796,"name":"Giulio Fidente","email":"gfidente@redhat.com","username":"gfidente"},"change_message_id":"9ceaac84d62ba821ea0816cb21777b295d08fa33","unresolved":false,"context_lines":[{"line_number":412,"context_line":"            - name: prevent osd rebalancing"},{"line_number":413,"context_line":"              shell: |"},{"line_number":414,"context_line":"                set -e"},{"line_number":415,"context_line":"                if which ceph ; then ceph osd set noout ; fi"},{"line_number":416,"context_line":"              ignore_errors: yes"},{"line_number":417,"context_line":"            - name: update podman"},{"line_number":418,"context_line":"              package:"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"3fa7e38b_7a5ba821","line":415,"updated":"2019-12-18 15:23:27.000000000","message":"the \"ceph\" command is only found inside the containers and we can really only set the noout flag from within a MON container\n\nanother, probably more general comment is that we need to do the set/unset only once; it is probably acceptable to set/unset it once for every node undergoing migration but we should not be setting/unsetting this in parallel from multiple nodes because it applies to the entire cluster","commit_id":"86481996572799ddc578ff3c014a7eca2878dd9f"},{"author":{"_account_id":6796,"name":"Giulio Fidente","email":"gfidente@redhat.com","username":"gfidente"},"change_message_id":"91d1503e4091644e5bc128a13f8fbd7f4fc172af","unresolved":false,"context_lines":[{"line_number":412,"context_line":"            - name: prevent osd rebalancing"},{"line_number":413,"context_line":"              shell: |"},{"line_number":414,"context_line":"                set -e"},{"line_number":415,"context_line":"                if which ceph ; then ceph osd set noout ; fi"},{"line_number":416,"context_line":"              ignore_errors: yes"},{"line_number":417,"context_line":"            - name: update podman"},{"line_number":418,"context_line":"              package:"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"3fa7e38b_a25807f9","line":415,"in_reply_to":"3fa7e38b_617f7417","updated":"2019-12-19 12:03:42.000000000","message":"sounds to me the step2/set \u003e step4/unset idea would work pretty well, especially if we can make it run on bootstrap node on the role hosting MONs only\n\nbut are we able to trigger a command in the MON container when other roles, like computes, are running this code?","commit_id":"86481996572799ddc578ff3c014a7eca2878dd9f"},{"author":{"_account_id":8297,"name":"Sofer Athlan-Guyot","email":"sathlang@redhat.com","username":"chem"},"change_message_id":"f2ac3d8425f845566880a5750098504002926593","unresolved":false,"context_lines":[{"line_number":412,"context_line":"            - name: prevent osd rebalancing"},{"line_number":413,"context_line":"              shell: |"},{"line_number":414,"context_line":"                set -e"},{"line_number":415,"context_line":"                if which ceph ; then ceph osd set noout ; fi"},{"line_number":416,"context_line":"              ignore_errors: yes"},{"line_number":417,"context_line":"            - name: update podman"},{"line_number":418,"context_line":"              package:"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"3fa7e38b_617f7417","line":415,"in_reply_to":"3fa7e38b_7a5ba821","updated":"2019-12-19 02:12:46.000000000","message":"Right ... of course. This become very complex then (and in ansible):\n - if update a ceph osd (how do I do I know that)\n   - delegate to bootstrap node to do something like podman exec -ti ceph-mon ceph osd set noout (omg ...)\n   - when done with that osd, unset it\n\nNow that serial could be something !\u003d1 and that role can be updated in //, then I would need a global lock to not unset it at the wrong time ... man this is getting out of hand ... \n\nother solution :\n - if step2 and bootstrap node, something like podman exec -ti ceph-mon ceph osd set noout\n - update everything\n - if step4 and bootstrap node, podman exec -ti ceph-mon ceph osd unset noout\n\nfinal solution: kb article","commit_id":"86481996572799ddc578ff3c014a7eca2878dd9f"}]}
