)]}'
{"manifests/db/sync.pp":[{"author":{"_account_id":10540,"name":"Clayton O\u0027Neill","email":"clayton.oneill@charter.com","username":"coneill"},"change_message_id":"3e27f0934f853dd47ff6cf8c31fc832a680cec6e","unresolved":false,"context_lines":[{"line_number":5,"context_line":""},{"line_number":6,"context_line":"  include ::sahara::params"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"  Package \u003c| title \u003d\u003d \u0027sahara\u0027 |\u003e -\u003e Class[\u0027sahara::db::sync\u0027]"},{"line_number":9,"context_line":"  Sahara_config \u003c||\u003e -\u003e Exec[\u0027sahara-dbmanage\u0027]"},{"line_number":10,"context_line":"  Sahara_config \u003c| title \u003d\u003d \u0027database/connection\u0027 |\u003e ~\u003e Exec[\u0027sahara-dbmanage\u0027]"},{"line_number":11,"context_line":"  Exec[\u0027sahara-dbmanage\u0027] ~\u003e Service \u003c| title \u003d\u003d \u0027sahara\u0027 |\u003e"}],"source_content_type":"text/x-puppet","patch_set":2,"id":"9a41bdd9_30f9e4c7","line":8,"updated":"2015-07-14 20:01:17.000000000","message":"Package upgrades need to notify the exec so that db migrations can be run on upgrade.  Really all service related package upgrades should trigger a db sync, since any of them may inadvertently pull in the common package which is what actually contains the migrations.","commit_id":"42c0aebcfbc889310a1e3d7297ec86ad5edbd647"},{"author":{"_account_id":7745,"name":"Denis Egorenko","email":"degorenko@mirantis.com","username":"degorenko"},"change_message_id":"c6dc5ee797ee87ca5607377b2984e3f6cd78e010","unresolved":false,"context_lines":[{"line_number":6,"context_line":"  include ::sahara::params"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"  Package \u003c| tag \u003d\u003d \u0027sahara-package\u0027 |\u003e ~\u003e Exec[\u0027sahara-dbmanage\u0027]"},{"line_number":9,"context_line":"  Exec[\u0027sahara-dbmanage\u0027] ~\u003e Service \u003c| tag \u003d\u003d \u0027sahara-service\u0027 |\u003e"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"  Sahara_config \u003c||\u003e -\u003e Exec[\u0027sahara-dbmanage\u0027]"},{"line_number":12,"context_line":"  Sahara_config \u003c| title \u003d\u003d \u0027database/connection\u0027 |\u003e ~\u003e Exec[\u0027sahara-dbmanage\u0027]"}],"source_content_type":"text/x-puppet","patch_set":6,"id":"1a4dcd0f_d9a59b04","line":9,"updated":"2015-08-04 14:08:57.000000000","message":"I guess, we shouldn\u0027t run exec db-manage after each new sahara package.","commit_id":"038e352256c1107ca633be3ae21bb89ad3589e02"},{"author":{"_account_id":7745,"name":"Denis Egorenko","email":"degorenko@mirantis.com","username":"degorenko"},"change_message_id":"096b2e823d26ade36351a2f3cc03df1393ead4f7","unresolved":false,"context_lines":[{"line_number":6,"context_line":"  include ::sahara::params"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"  Package \u003c| tag \u003d\u003d \u0027sahara-package\u0027 |\u003e ~\u003e Exec[\u0027sahara-dbmanage\u0027]"},{"line_number":9,"context_line":"  Exec[\u0027sahara-dbmanage\u0027] ~\u003e Service \u003c| tag \u003d\u003d \u0027sahara-service\u0027 |\u003e"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"  Sahara_config \u003c||\u003e -\u003e Exec[\u0027sahara-dbmanage\u0027]"},{"line_number":12,"context_line":"  Sahara_config \u003c| title \u003d\u003d \u0027database/connection\u0027 |\u003e ~\u003e Exec[\u0027sahara-dbmanage\u0027]"}],"source_content_type":"text/x-puppet","patch_set":6,"id":"1a4dcd0f_7a33d5ab","line":9,"in_reply_to":"1a4dcd0f_7f1987d6","updated":"2015-08-05 14:43:49.000000000","message":"Thanks for the explanation.","commit_id":"038e352256c1107ca633be3ae21bb89ad3589e02"},{"author":{"_account_id":9410,"name":"Yanis Guenane","email":"yguenane@redhat.com","username":"yguenane"},"change_message_id":"b1e57f6a54cc8355b1cf8d0a83a0aaedbd638f7f","unresolved":false,"context_lines":[{"line_number":6,"context_line":"  include ::sahara::params"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"  Package \u003c| tag \u003d\u003d \u0027sahara-package\u0027 |\u003e ~\u003e Exec[\u0027sahara-dbmanage\u0027]"},{"line_number":9,"context_line":"  Exec[\u0027sahara-dbmanage\u0027] ~\u003e Service \u003c| tag \u003d\u003d \u0027sahara-service\u0027 |\u003e"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"  Sahara_config \u003c||\u003e -\u003e Exec[\u0027sahara-dbmanage\u0027]"},{"line_number":12,"context_line":"  Sahara_config \u003c| title \u003d\u003d \u0027database/connection\u0027 |\u003e ~\u003e Exec[\u0027sahara-dbmanage\u0027]"}],"source_content_type":"text/x-puppet","patch_set":6,"id":"1a4dcd0f_7f1987d6","line":9,"in_reply_to":"1a4dcd0f_d9a59b04","updated":"2015-08-05 14:29:49.000000000","message":"Denis, on the long run, most modules\u0027 init.pp will have this chunk of code in[1].\n\nThis resulting in Package \u003c| tag \u003d\u003d \u0027sahara-package\u0027 |\u003e being moved to Anchor \u003c| title \u003d\u003d designate::config::end |\u003e.\n\nEach package tagged with sahara-package could potentially require a new db-sync hence this relation here.\n\nWhy shouldn\u0027t we run the db-manage after new sahara packages ?\n\nAlthough, just to be clear, it is not run after *each* package installation. It is run after all packages are installed. Notify will wait for all packages to be installed before actually running the db-manage\n\n[1] https://github.com/openstack/puppet-designate/blob/master/manifests/init.pp#L137-L147","commit_id":"038e352256c1107ca633be3ae21bb89ad3589e02"},{"author":{"_account_id":7745,"name":"Denis Egorenko","email":"degorenko@mirantis.com","username":"degorenko"},"change_message_id":"c6dc5ee797ee87ca5607377b2984e3f6cd78e010","unresolved":false,"context_lines":[{"line_number":8,"context_line":"  Package \u003c| tag \u003d\u003d \u0027sahara-package\u0027 |\u003e ~\u003e Exec[\u0027sahara-dbmanage\u0027]"},{"line_number":9,"context_line":"  Exec[\u0027sahara-dbmanage\u0027] ~\u003e Service \u003c| tag \u003d\u003d \u0027sahara-service\u0027 |\u003e"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"  Sahara_config \u003c||\u003e -\u003e Exec[\u0027sahara-dbmanage\u0027]"},{"line_number":12,"context_line":"  Sahara_config \u003c| title \u003d\u003d \u0027database/connection\u0027 |\u003e ~\u003e Exec[\u0027sahara-dbmanage\u0027]"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"  exec { \u0027sahara-dbmanage\u0027:"}],"source_content_type":"text/x-puppet","patch_set":6,"id":"1a4dcd0f_192783b7","line":11,"updated":"2015-08-04 14:08:57.000000000","message":"We can run Exec[\u0027sahara-dbmanage\u0027] only after \u0027database/connection\u0027 was added. And  this line will be changed only once in each module applying.","commit_id":"038e352256c1107ca633be3ae21bb89ad3589e02"},{"author":{"_account_id":9410,"name":"Yanis Guenane","email":"yguenane@redhat.com","username":"yguenane"},"change_message_id":"b1e57f6a54cc8355b1cf8d0a83a0aaedbd638f7f","unresolved":false,"context_lines":[{"line_number":8,"context_line":"  Package \u003c| tag \u003d\u003d \u0027sahara-package\u0027 |\u003e ~\u003e Exec[\u0027sahara-dbmanage\u0027]"},{"line_number":9,"context_line":"  Exec[\u0027sahara-dbmanage\u0027] ~\u003e Service \u003c| tag \u003d\u003d \u0027sahara-service\u0027 |\u003e"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"  Sahara_config \u003c||\u003e -\u003e Exec[\u0027sahara-dbmanage\u0027]"},{"line_number":12,"context_line":"  Sahara_config \u003c| title \u003d\u003d \u0027database/connection\u0027 |\u003e ~\u003e Exec[\u0027sahara-dbmanage\u0027]"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"  exec { \u0027sahara-dbmanage\u0027:"}],"source_content_type":"text/x-puppet","patch_set":6,"id":"1a4dcd0f_1f8163c3","line":11,"in_reply_to":"1a4dcd0f_192783b7","updated":"2015-08-05 14:29:49.000000000","message":"Same as above. Although for the configuration I remember in some component I think neutron, but I am not sure, that dbsync needed other components to be set before running else the output would be different than the one expected.","commit_id":"038e352256c1107ca633be3ae21bb89ad3589e02"}]}
