)]}'
{"specs/6.1/fuel-library-modularization.rst":[{"author":{"_account_id":11827,"name":"Stanislaw Bogatkin","email":"regs+ubuntu.com@sbog.ru","username":"sbogatkin"},"change_message_id":"f76442e96e3cc4c7f86dfc714a4cb4605eefff14","unresolved":false,"context_lines":[{"line_number":26,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"In order to increase engineering velocity and ability for 3rd party users"},{"line_number":29,"context_line":"and developers to inject pieces into deployment workflow we We are going"},{"line_number":30,"context_line":"to change the architecture of the Fuel Library and make it more modular."},{"line_number":31,"context_line":"The idea behind the modular architecture is the separation"},{"line_number":32,"context_line":"of our legacy monolithic manifest into a group of small manifests. Each of"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a930d6b_7f7a1b78","line":29,"updated":"2015-01-26 09:38:23.000000000","message":"s/we We/we/","commit_id":"7fa621aeebcb3cf494e96aeab7c343d7d5170021"},{"author":{"_account_id":11827,"name":"Stanislaw Bogatkin","email":"regs+ubuntu.com@sbog.ru","username":"sbogatkin"},"change_message_id":"f76442e96e3cc4c7f86dfc714a4cb4605eefff14","unresolved":false,"context_lines":[{"line_number":73,"context_line":"    to be done using Puppet and some other methods or tools would be able to"},{"line_number":74,"context_line":"    do it much easier or better. Granular deployment allows us to use any tools"},{"line_number":75,"context_line":"    we see fit for the task, from shell scripts to Python or Ruby or even"},{"line_number":76,"context_line":"    binary executables. Taks, tests and pre/post hooks can be implemented"},{"line_number":77,"context_line":"    using anything the developer knows best. *For the first release only"},{"line_number":78,"context_line":"    pre/post hooks can use non-Puppet tasks.*"},{"line_number":79,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a930d6b_3f6093a4","line":76,"updated":"2015-01-26 09:38:23.000000000","message":"s/Taks/Tasks/","commit_id":"7fa621aeebcb3cf494e96aeab7c343d7d5170021"},{"author":{"_account_id":11827,"name":"Stanislaw Bogatkin","email":"regs+ubuntu.com@sbog.ru","username":"sbogatkin"},"change_message_id":"f76442e96e3cc4c7f86dfc714a4cb4605eefff14","unresolved":false,"context_lines":[{"line_number":151,"context_line":"This data graph will be traversed and sent to the Astute as an ordered"},{"line_number":152,"context_line":"list of tasks to be executed with information on which nodes they should"},{"line_number":153,"context_line":"be run. Astute receives this data structure and begins to run the tasks"},{"line_number":154,"context_line":"one by one. First, it doest the pre-deploy actions, then, the main"},{"line_number":155,"context_line":"deployment tasks, and, finally, the post-deploy actions. Each task"},{"line_number":156,"context_line":"reports back if it was successful and Astute stops deployment on any task"},{"line_number":157,"context_line":"that have failed."}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a930d6b_bfe803e3","line":154,"updated":"2015-01-26 09:38:23.000000000","message":"s/doest/do/","commit_id":"7fa621aeebcb3cf494e96aeab7c343d7d5170021"},{"author":{"_account_id":11827,"name":"Stanislaw Bogatkin","email":"regs+ubuntu.com@sbog.ru","username":"sbogatkin"},"change_message_id":"f76442e96e3cc4c7f86dfc714a4cb4605eefff14","unresolved":false,"context_lines":[{"line_number":164,"context_line":""},{"line_number":165,"context_line":"Astute receives this data structure and begins to run tasks one by one. First,"},{"line_number":166,"context_line":"it doest the pre-deploy actions, then, the main deployment tasks, and, finally,"},{"line_number":167,"context_line":"the post-deploy actions. Each tasks reports back if it was successful and"},{"line_number":168,"context_line":"Astute stops deployment on any failed task."},{"line_number":169,"context_line":""},{"line_number":170,"context_line":" .. image:: ../../images/6.1/fuel-library-modularization/granular_scheme.png"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a930d6b_5fbd5fb6","line":167,"updated":"2015-01-26 09:38:23.000000000","message":"\"First, it doest the pre-deploy actions, then, the main deployment tasks, and, finally, \tthe post-deploy actions\" - it is duplicate. Should be rephrased (or is it so important that have to be said more than one time)?","commit_id":"7fa621aeebcb3cf494e96aeab7c343d7d5170021"},{"author":{"_account_id":11827,"name":"Stanislaw Bogatkin","email":"regs+ubuntu.com@sbog.ru","username":"sbogatkin"},"change_message_id":"f76442e96e3cc4c7f86dfc714a4cb4605eefff14","unresolved":false,"context_lines":[{"line_number":201,"context_line":"* **parameters** The actual payload of the task. For the Puppet task they can"},{"line_number":202,"context_line":"  be paths to modules and the manifest to apply and exec type requires the"},{"line_number":203,"context_line":"  actual command to run. Timeout determines how long orchestrator should wait"},{"line_number":204,"context_line":"  for the task to complete before the tasks if marked failed by time out."},{"line_number":205,"context_line":""},{"line_number":206,"context_line":".. code-block:: yaml"},{"line_number":207,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a930d6b_1f44b7b5","line":204,"updated":"2015-01-26 09:38:23.000000000","message":"s/if/will/","commit_id":"7fa621aeebcb3cf494e96aeab7c343d7d5170021"},{"author":{"_account_id":11827,"name":"Stanislaw Bogatkin","email":"regs+ubuntu.com@sbog.ru","username":"sbogatkin"},"change_message_id":"f76442e96e3cc4c7f86dfc714a4cb4605eefff14","unresolved":false,"context_lines":[{"line_number":260,"context_line":"        timeout: 3600"},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"This graph data will be processed to the following graph when imported to the"},{"line_number":263,"context_line":"Nailgun. Deploy task is a achor used to start the graph traversal and is hidden"},{"line_number":264,"context_line":"from the image."},{"line_number":265,"context_line":""},{"line_number":266,"context_line":" .. image:: ../../images/6.1/fuel-library-modularization/graph_example.png"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a930d6b_7f813bc2","line":263,"updated":"2015-01-26 09:38:23.000000000","message":"s/achor/anchor/","commit_id":"7fa621aeebcb3cf494e96aeab7c343d7d5170021"},{"author":{"_account_id":11827,"name":"Stanislaw Bogatkin","email":"regs+ubuntu.com@sbog.ru","username":"sbogatkin"},"change_message_id":"f76442e96e3cc4c7f86dfc714a4cb4605eefff14","unresolved":false,"context_lines":[{"line_number":267,"context_line":"    :scale: 75 %"},{"line_number":268,"context_line":""},{"line_number":269,"context_line":"Nailgun will run hiera task first, then netconfig or tools, and then firewall"},{"line_number":270,"context_line":"or hosts. Astute will start each tasks on those nodes which roles are present"},{"line_number":271,"context_line":"in the groups field of each tasks."},{"line_number":272,"context_line":""},{"line_number":273,"context_line":"Previously we have used the single entry point manifest that can be found"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a930d6b_9fa26749","line":270,"updated":"2015-01-26 09:38:23.000000000","message":"So, if task duos depends on task one and task tres depends on task one then after time when task one will be finished, which of them will started first? Will it be selected randomly?","commit_id":"7fa621aeebcb3cf494e96aeab7c343d7d5170021"},{"author":{"_account_id":11827,"name":"Stanislaw Bogatkin","email":"regs+ubuntu.com@sbog.ru","username":"sbogatkin"},"change_message_id":"f76442e96e3cc4c7f86dfc714a4cb4605eefff14","unresolved":false,"context_lines":[{"line_number":387,"context_line":"    :scale: 75%"},{"line_number":388,"context_line":""},{"line_number":389,"context_line":"Start, config and site requires package to be installed and site and config"},{"line_number":390,"context_line":"require hiera function to work. Obviously, pache should be configured and site"},{"line_number":391,"context_line":"should be created to start. Now, let’s write a data yaml to describe this"},{"line_number":392,"context_line":"structure:"},{"line_number":393,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a930d6b_1f53d739","line":390,"updated":"2015-01-26 09:38:23.000000000","message":"s/pache/Apache/","commit_id":"7fa621aeebcb3cf494e96aeab7c343d7d5170021"},{"author":{"_account_id":11827,"name":"Stanislaw Bogatkin","email":"regs+ubuntu.com@sbog.ru","username":"sbogatkin"},"change_message_id":"f76442e96e3cc4c7f86dfc714a4cb4605eefff14","unresolved":false,"context_lines":[{"line_number":485,"context_line":"start task will not produce any errors due to Puppet’s idempotency."},{"line_number":486,"context_line":""},{"line_number":487,"context_line":"Currently we have several task already merged:"},{"line_number":488,"context_line":"* **hiera** Together with modularisation we are moving from the *fuel_settings*"},{"line_number":489,"context_line":"yaml to Hiera, the commonly acceptable method of passing data to the Puppet"},{"line_number":490,"context_line":"manifests. This task configures hiera backend for Puppet and uses the old"},{"line_number":491,"context_line":"*astute.yaml* uploaded by Astute as the first Hiera data source. Aster this"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a930d6b_021b8073","line":488,"updated":"2015-01-26 09:38:23.000000000","message":"s/modularisation/modularization/","commit_id":"7fa621aeebcb3cf494e96aeab7c343d7d5170021"},{"author":{"_account_id":11827,"name":"Stanislaw Bogatkin","email":"regs+ubuntu.com@sbog.ru","username":"sbogatkin"},"change_message_id":"f76442e96e3cc4c7f86dfc714a4cb4605eefff14","unresolved":false,"context_lines":[{"line_number":488,"context_line":"* **hiera** Together with modularisation we are moving from the *fuel_settings*"},{"line_number":489,"context_line":"yaml to Hiera, the commonly acceptable method of passing data to the Puppet"},{"line_number":490,"context_line":"manifests. This task configures hiera backend for Puppet and uses the old"},{"line_number":491,"context_line":"*astute.yaml* uploaded by Astute as the first Hiera data source. Aster this"},{"line_number":492,"context_line":"task all the variable found in the astute yaml becomes available as for hiera"},{"line_number":493,"context_line":"function in Puppet as for the hiera CLI command."},{"line_number":494,"context_line":"* **globals** During the previous years of Fuel Library development we have put"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a930d6b_c23b38cf","line":491,"updated":"2015-01-26 09:38:23.000000000","message":"s/Aster/After/","commit_id":"7fa621aeebcb3cf494e96aeab7c343d7d5170021"},{"author":{"_account_id":11827,"name":"Stanislaw Bogatkin","email":"regs+ubuntu.com@sbog.ru","username":"sbogatkin"},"change_message_id":"f76442e96e3cc4c7f86dfc714a4cb4605eefff14","unresolved":false,"context_lines":[{"line_number":489,"context_line":"yaml to Hiera, the commonly acceptable method of passing data to the Puppet"},{"line_number":490,"context_line":"manifests. This task configures hiera backend for Puppet and uses the old"},{"line_number":491,"context_line":"*astute.yaml* uploaded by Astute as the first Hiera data source. Aster this"},{"line_number":492,"context_line":"task all the variable found in the astute yaml becomes available as for hiera"},{"line_number":493,"context_line":"function in Puppet as for the hiera CLI command."},{"line_number":494,"context_line":"* **globals** During the previous years of Fuel Library development we have put"},{"line_number":495,"context_line":"a lot of data processing and mangling logic into the old *site.pp* file and"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a930d6b_625444ff","line":492,"updated":"2015-01-26 09:38:23.000000000","message":"s/variable/variables/","commit_id":"7fa621aeebcb3cf494e96aeab7c343d7d5170021"},{"author":{"_account_id":11827,"name":"Stanislaw Bogatkin","email":"regs+ubuntu.com@sbog.ru","username":"sbogatkin"},"change_message_id":"f76442e96e3cc4c7f86dfc714a4cb4605eefff14","unresolved":false,"context_lines":[{"line_number":518,"context_line":"  configures the network interfaces on the node. It uses hiera function to"},{"line_number":519,"context_line":"  fetch the input data and uses several variables that were generated by the"},{"line_number":520,"context_line":"  globals task."},{"line_number":521,"context_line":"* **fierewall** Configures firewall on the node."},{"line_number":522,"context_line":"* **tools** Installs several tools useful for the developers."},{"line_number":523,"context_line":"* **hosts** Updates /etc/hosts files on the node to contain records for every"},{"line_number":524,"context_line":"  other nodes in the cluster."}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a930d6b_225ddc15","line":521,"updated":"2015-01-26 09:38:23.000000000","message":"s/fierewall/firewall/","commit_id":"7fa621aeebcb3cf494e96aeab7c343d7d5170021"},{"author":{"_account_id":11827,"name":"Stanislaw Bogatkin","email":"regs+ubuntu.com@sbog.ru","username":"sbogatkin"},"change_message_id":"f76442e96e3cc4c7f86dfc714a4cb4605eefff14","unresolved":false,"context_lines":[{"line_number":548,"context_line":"Running the spec should produce an output like this:"},{"line_number":549,"context_line":"::"},{"line_number":550,"context_line":""},{"line_number":551,"context_line":"    Package \"nginx\""},{"line_number":552,"context_line":"      should be installed"},{"line_number":553,"context_line":""},{"line_number":554,"context_line":"    Finished in 0.17428 seconds"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a930d6b_e2dbd479","line":551,"updated":"2015-01-26 09:38:23.000000000","message":"Test check that apache should be installed, but say to us, that nginx should instead :)","commit_id":"7fa621aeebcb3cf494e96aeab7c343d7d5170021"},{"author":{"_account_id":11827,"name":"Stanislaw Bogatkin","email":"regs+ubuntu.com@sbog.ru","username":"sbogatkin"},"change_message_id":"26a398118be8c50d5d7ab18f8eb39f86678795f8","unresolved":false,"context_lines":[{"line_number":649,"context_line":"  * sahara"},{"line_number":650,"context_line":"  * murano"},{"line_number":651,"context_line":"  * vcenter"},{"line_number":652,"context_line":"  * mallanox"},{"line_number":653,"context_line":""},{"line_number":654,"context_line":"* Step #4:"},{"line_number":655,"context_line":"  Split openstack-controller (openstack::controller class) into smaller tasks:"}],"source_content_type":"text/x-rst","patch_set":9,"id":"da86d52c_fc2683b9","line":652,"updated":"2015-02-02 14:34:05.000000000","message":"s/mallanox/mellanox/","commit_id":"0632b5f67d3a8b2a3a18e3d60c6085719cea333a"},{"author":{"_account_id":6926,"name":"Bogdan Dobrelya","email":"bdobreli@redhat.com","username":"bogdando"},"change_message_id":"a1c985924243fd4216304e019cf26ae2fd96bc99","unresolved":false,"context_lines":[{"line_number":298,"context_line":""},{"line_number":299,"context_line":"    # site.pp"},{"line_number":300,"context_line":""},{"line_number":301,"context_line":"    $fuel_settings \u003d parseyaml($astute_settings_yaml)"},{"line_number":302,"context_line":""},{"line_number":303,"context_line":"    File {"},{"line_number":304,"context_line":"      owner \u003d\u003e ‘root’,"}],"source_content_type":"text/x-rst","patch_set":13,"id":"da86d52c_99d33e03","line":301,"updated":"2015-02-12 10:46:28.000000000","message":"please update to hiera","commit_id":"4bcdbad41fcc280d64c6e730597882f1df0006f8"},{"author":{"_account_id":9387,"name":"Aleksandr Didenko","email":"adidenko@mirantis.com","username":"AD"},"change_message_id":"35ca365e8618bd2ed0fdcb56503cef0a5f395ce1","unresolved":false,"context_lines":[{"line_number":298,"context_line":""},{"line_number":299,"context_line":"    # site.pp"},{"line_number":300,"context_line":""},{"line_number":301,"context_line":"    $fuel_settings \u003d parseyaml($astute_settings_yaml)"},{"line_number":302,"context_line":""},{"line_number":303,"context_line":"    File {"},{"line_number":304,"context_line":"      owner \u003d\u003e ‘root’,"}],"source_content_type":"text/x-rst","patch_set":13,"id":"da86d52c_0ff53bec","line":301,"in_reply_to":"da86d52c_99d33e03","updated":"2015-02-12 11:50:14.000000000","message":"But it\u0027s an example of old-style manifest with fuel_settings.","commit_id":"4bcdbad41fcc280d64c6e730597882f1df0006f8"},{"author":{"_account_id":6926,"name":"Bogdan Dobrelya","email":"bdobreli@redhat.com","username":"bogdando"},"change_message_id":"a1c985924243fd4216304e019cf26ae2fd96bc99","unresolved":false,"context_lines":[{"line_number":320,"context_line":"      content \u003d\u003e template(‘apache/config.erb’),"},{"line_number":321,"context_line":"    }"},{"line_number":322,"context_line":""},{"line_number":323,"context_line":"    $www_root \u003d $fuel_settings[‘www_root’]"},{"line_number":324,"context_line":""},{"line_number":325,"context_line":"    file { “${www_root}/index.html” :"},{"line_number":326,"context_line":"      ensure \u003d\u003e present,"}],"source_content_type":"text/x-rst","patch_set":13,"id":"da86d52c_f9d43aea","line":323,"updated":"2015-02-12 10:46:28.000000000","message":"ditto","commit_id":"4bcdbad41fcc280d64c6e730597882f1df0006f8"},{"author":{"_account_id":9387,"name":"Aleksandr Didenko","email":"adidenko@mirantis.com","username":"AD"},"change_message_id":"35ca365e8618bd2ed0fdcb56503cef0a5f395ce1","unresolved":false,"context_lines":[{"line_number":320,"context_line":"      content \u003d\u003e template(‘apache/config.erb’),"},{"line_number":321,"context_line":"    }"},{"line_number":322,"context_line":""},{"line_number":323,"context_line":"    $www_root \u003d $fuel_settings[‘www_root’]"},{"line_number":324,"context_line":""},{"line_number":325,"context_line":"    file { “${www_root}/index.html” :"},{"line_number":326,"context_line":"      ensure \u003d\u003e present,"}],"source_content_type":"text/x-rst","patch_set":13,"id":"da86d52c_2fdf5f6a","line":323,"in_reply_to":"da86d52c_f9d43aea","updated":"2015-02-12 11:50:14.000000000","message":"But it\u0027s an example of old-style manifest with fuel_settings.","commit_id":"4bcdbad41fcc280d64c6e730597882f1df0006f8"},{"author":{"_account_id":6926,"name":"Bogdan Dobrelya","email":"bdobreli@redhat.com","username":"bogdando"},"change_message_id":"a1c985924243fd4216304e019cf26ae2fd96bc99","unresolved":false,"context_lines":[{"line_number":522,"context_line":"* **tools** Installs several tools useful for the developers."},{"line_number":523,"context_line":"* **hosts** Updates /etc/hosts files on the node to contain records for every"},{"line_number":524,"context_line":"  other nodes in the cluster."},{"line_number":525,"context_line":"* **legacy** This tasks is just a copy of the old site.pp file. It uses the old"},{"line_number":526,"context_line":"  monolithic deployment method for those components we have not made a separate"},{"line_number":527,"context_line":"  tasks for. This task will be removed later when we finish the modularization."},{"line_number":528,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"da86d52c_3931725a","line":525,"updated":"2015-02-12 10:46:28.000000000","message":"this part requires update as there is no more legacy step","commit_id":"4bcdbad41fcc280d64c6e730597882f1df0006f8"},{"author":{"_account_id":9387,"name":"Aleksandr Didenko","email":"adidenko@mirantis.com","username":"AD"},"change_message_id":"35ca365e8618bd2ed0fdcb56503cef0a5f395ce1","unresolved":false,"context_lines":[{"line_number":522,"context_line":"* **tools** Installs several tools useful for the developers."},{"line_number":523,"context_line":"* **hosts** Updates /etc/hosts files on the node to contain records for every"},{"line_number":524,"context_line":"  other nodes in the cluster."},{"line_number":525,"context_line":"* **legacy** This tasks is just a copy of the old site.pp file. It uses the old"},{"line_number":526,"context_line":"  monolithic deployment method for those components we have not made a separate"},{"line_number":527,"context_line":"  tasks for. This task will be removed later when we finish the modularization."},{"line_number":528,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"da86d52c_8f4e8b36","line":525,"in_reply_to":"da86d52c_3931725a","updated":"2015-02-12 11:50:14.000000000","message":"We don\u0027t have it atm, but it was a part of our implementation plan. And it\u0027s reflected in Implementation Plan section.","commit_id":"4bcdbad41fcc280d64c6e730597882f1df0006f8"}]}
