)]}'
{"contrib/ansible/README.rst":[{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"628f1fca0e9893ea5ede4edab091aa9b48bc8bc3","unresolved":false,"context_lines":[{"line_number":11,"context_line":""},{"line_number":12,"context_line":"for ``hosts`` file, the ansible_ssh_host ip should be modified to the host where your rally will be installed, ansible_ssh_user and ansible_ssh_pass are the username and password of your rally host. For ``roles/rally_install/vars/main.yml`` file, the parameters are used for the Rally configuration file example.json under ``/contrib/ansible/roles/rally_install/templates`` directory, rally_topdir are the path of where your rally package located, TestCloud_IP is the ip of openstack cloud to be tested."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Before you run the ansible to install rally, make sure ansible is installed in your host::"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"     $ pip install ansible"},{"line_number":17,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a016987_1a3bfbd2","line":14,"updated":"2015-05-28 12:34:48.000000000","message":"Maybe is more right \"on your host\"","commit_id":"82c166b7adcf7b163564a56e945cd21d2f30a719"},{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"628f1fca0e9893ea5ede4edab091aa9b48bc8bc3","unresolved":false,"context_lines":[{"line_number":20,"context_line":"     $ cd contrib/ansible"},{"line_number":21,"context_line":"     $ ansible-playbook -i hosts install_rally.yml"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"after the rally is successfully installed, you can can run check or run some tests, such as::"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"     $ rally deployment check"},{"line_number":26,"context_line":"     $ rally show images/flavors..."}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a016987_5a09732b","line":23,"updated":"2015-05-28 12:34:48.000000000","message":"typo \"can can\"","commit_id":"82c166b7adcf7b163564a56e945cd21d2f30a719"}],"contrib/ansible/roles/install_rally/tasks/main.yml":[{"author":{"_account_id":7369,"name":"Sergey Skripnick","email":"sskripnick@mirantis.com","username":"redixin"},"change_message_id":"36c47898ed966b246b12379ff29a51b66a25140c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"- name: install rally prerequirements"},{"line_number":3,"context_line":"  apt: pkg\u003d\"{{item}}\" state\u003dpresent"},{"line_number":4,"context_line":"  with_items:"},{"line_number":5,"context_line":"      - git"},{"line_number":6,"context_line":"      - python2.7"},{"line_number":7,"context_line":"      - \"python-pip\""}],"source_content_type":"text/x-yaml","patch_set":4,"id":"fa32b979_8ff6415b","line":4,"updated":"2015-06-18 16:31:14.000000000","message":"all this items are not necessary anymore. only python and wget/curl are required","commit_id":"5635b1f87ee4e7e45e3cbb8d9a87a7a1b7080dfb"},{"author":{"_account_id":7369,"name":"Sergey Skripnick","email":"sskripnick@mirantis.com","username":"redixin"},"change_message_id":"45d15ac4ff2a0e99a82b04bddf9495e387bc443e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"- name: install rally prerequirements"},{"line_number":3,"context_line":"  apt: pkg\u003d\"{{item}}\" state\u003dpresent"},{"line_number":4,"context_line":"  with_items:"},{"line_number":5,"context_line":"      - git"},{"line_number":6,"context_line":"      - python2.7"},{"line_number":7,"context_line":"      - \"python-pip\""}],"source_content_type":"text/x-yaml","patch_set":4,"id":"3a50d1a3_09cbd554","line":4,"in_reply_to":"ba3cc151_98694dc1","updated":"2015-07-20 13:04:42.000000000","message":"So it is a bug. Install script should work with ubuntu and centos. AFAIR it should event install wget/curl if necessary, so only apt-get/yum is required.","commit_id":"5635b1f87ee4e7e45e3cbb8d9a87a7a1b7080dfb"},{"author":{"_account_id":15681,"name":"MatthewLi","email":"matthew.lijun@huawei.com","username":"MatthewLi"},"change_message_id":"49e07a0913805959b040873f6477cc0581bd5799","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"- name: install rally prerequirements"},{"line_number":3,"context_line":"  apt: pkg\u003d\"{{item}}\" state\u003dpresent"},{"line_number":4,"context_line":"  with_items:"},{"line_number":5,"context_line":"      - git"},{"line_number":6,"context_line":"      - python2.7"},{"line_number":7,"context_line":"      - \"python-pip\""}],"source_content_type":"text/x-yaml","patch_set":4,"id":"ba3cc151_98694dc1","line":4,"in_reply_to":"fa32b979_8ff6415b","updated":"2015-06-30 08:51:05.000000000","message":"hi, Sergey,\nI am afraid they are essential, I have do an experiment in a new ubuntu14.04 environment, without these packages, the first task \"install rally\", which is install_rally.sh can\u0027t be passed, however, when adding these packages, it works.","commit_id":"5635b1f87ee4e7e45e3cbb8d9a87a7a1b7080dfb"},{"author":{"_account_id":18560,"name":"Rémy","email":"remy.greinhofer@gmail.com","username":"remy.greinhofer"},"change_message_id":"7c9c866af2327e793c1686df764eed68ac52553a","unresolved":false,"context_lines":[{"line_number":16,"context_line":"      - \"python-virtualenv\""},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"- name: install rally"},{"line_number":19,"context_line":"  shell: cd {{ rally_topdir }}/rally; su -s /bin/sh -c \"./install_rally.sh\""},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"- name: restart DB"},{"line_number":22,"context_line":"  shell: su -s /bin/sh -c \"rally-manage db recreate\""}],"source_content_type":"text/x-yaml","patch_set":4,"id":"ba15a1d1_c4d3ff36","line":19,"updated":"2015-09-23 20:19:43.000000000","message":"You may want to use the -y switch to make the installation unattended, and possibly -f depending on the behavior you want to achieve.","commit_id":"5635b1f87ee4e7e45e3cbb8d9a87a7a1b7080dfb"},{"author":{"_account_id":18560,"name":"Rémy","email":"remy.greinhofer@gmail.com","username":"remy.greinhofer"},"change_message_id":"7c9c866af2327e793c1686df764eed68ac52553a","unresolved":false,"context_lines":[{"line_number":25,"context_line":"  template: src\u003dexample.json dest\u003d{{ rally_topdir }}/rally/example.json backup\u003dyes"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"- name: create rally deployment"},{"line_number":28,"context_line":"  shell: cd {{ rally_topdir }}/rally; rally deployment create --file\u003dexample.json --name\u003dexample"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"ba15a1d1_c4a1bfaa","line":28,"updated":"2015-09-23 20:19:43.000000000","message":"If the deployment already exists this task will fail. You might want to use something like \n\nrally deployment list | grep -q {{ deployment_name }} \u0026\u0026 (echo \u0027Deployment  {{ deployment_name }} already exist. Skipping it.\u0027 \u0026\u0026 exit 0) || (rally deployment create --filename {{deployment_name}}.yml --name {{deployment_name}})\"","commit_id":"5635b1f87ee4e7e45e3cbb8d9a87a7a1b7080dfb"}]}
