)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"[WIP] Import initial os_searchlight role."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Import the initial verison of the os_searchlight role."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"This code is based on the os_gnocchi role and most likely has some"},{"line_number":12,"context_line":"artefacts from the copied role that need to be removed."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":27,"id":"1a6eadb0_7c74849b","line":9,"range":{"start_line":9,"start_character":22,"end_line":9,"end_character":23},"updated":"2016-12-20 18:20:06.000000000","message":"nit: version","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"CONTRIBUTING.rst":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":1,"context_line":"os_searchlight"},{"line_number":2,"context_line":"#######"},{"line_number":3,"context_line":":tags: openstack, cloud, ansible"},{"line_number":4,"context_line":":category: \\*nix"},{"line_number":5,"context_line":""}],"source_content_type":"text/x-rst","patch_set":27,"id":"1a6eadb0_dc291839","line":2,"updated":"2016-12-20 18:20:06.000000000","message":"a few # are missing","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":3,"context_line":":tags: openstack, cloud, ansible"},{"line_number":4,"context_line":":category: \\*nix"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"contributor guidelines"},{"line_number":7,"context_line":"^^^^^^^^^^^^^^^^^^^^^^"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Filing Bugs"}],"source_content_type":"text/x-rst","patch_set":27,"id":"1a6eadb0_7ce9e419","line":6,"range":{"start_line":6,"start_character":0,"end_line":6,"end_character":1},"updated":"2016-12-20 18:20:06.000000000","message":"nit: Caps","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":15,"context_line":"When submitting a bug, or working on a bug, please ensure the following criteria are met:"},{"line_number":16,"context_line":"    * The description clearly states or describes the original problem or root cause of the problem."},{"line_number":17,"context_line":"    * Include historical information on how the problem was identified."},{"line_number":18,"context_line":"    * Any relevant logs are included."},{"line_number":19,"context_line":"    * The provided information should be totally self-contained. External access to web services/sites should not be needed."},{"line_number":20,"context_line":"    * Steps to reproduce the problem if possible."},{"line_number":21,"context_line":""}],"source_content_type":"text/x-rst","patch_set":27,"id":"1a6eadb0_9c3a4097","line":18,"updated":"2016-12-20 18:20:06.000000000","message":"relevant logs and configuration details","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":17,"context_line":"    * Include historical information on how the problem was identified."},{"line_number":18,"context_line":"    * Any relevant logs are included."},{"line_number":19,"context_line":"    * The provided information should be totally self-contained. External access to web services/sites should not be needed."},{"line_number":20,"context_line":"    * Steps to reproduce the problem if possible."},{"line_number":21,"context_line":""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Submitting Code"}],"source_content_type":"text/x-rst","patch_set":27,"id":"1a6eadb0_5c5188d7","line":20,"updated":"2016-12-20 18:20:06.000000000","message":"You probably need the version too.\n\nI\u0027d be enclined to remote this whole content, but if you definitely want to keep it, it\u0027s maybe worth redirecting to our openstack-ansible documentation about bugs.","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":32,"context_line":"Extra"},{"line_number":33,"context_line":"-----"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"Tags: "},{"line_number":36,"context_line":"    If it\u0027s a bug that needs fixing in a branch in addition to Master, add a \u0027\\\u003crelease\\\u003e-backport-potential\u0027 tag (eg ``juno-backport-potential``).  There are predefined tags that will autocomplete."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"Status:"}],"source_content_type":"text/x-rst","patch_set":27,"id":"1a6eadb0_5c16e8f1","line":35,"updated":"2016-12-20 18:20:06.000000000","message":"nit: space","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Style guide"},{"line_number":46,"context_line":"-----------"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"When creating tasks and other roles for use in Ansible please create then using the YAML dictionary format. "},{"line_number":49,"context_line":""}],"source_content_type":"text/x-rst","patch_set":27,"id":"1a6eadb0_9cbde0d9","line":46,"updated":"2016-12-20 18:20:06.000000000","message":"Redirect to OSA style guide.","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":73,"context_line":""},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"Issues"},{"line_number":76,"context_line":"------"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"When submitting an issue, or working on an issue please ensure the following criteria are met:"},{"line_number":79,"context_line":"    * The description clearly states or describes the original problem or root cause of the problem."}],"source_content_type":"text/x-rst","patch_set":27,"id":"1a6eadb0_3cf20cd3","line":76,"updated":"2016-12-20 18:20:06.000000000","message":"Isn\u0027t that a duplicate of above?","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"README.rst":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":".. code-block:: yaml"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"    # Keystone credentials"},{"line_number":23,"context_line":"    keystone_admin_tenant_name: admin"},{"line_number":24,"context_line":"    keystone_admin_user_name: admin"},{"line_number":25,"context_line":"    keystone_auth_admin_password: \"SuperSecretePassword\""},{"line_number":26,"context_line":"    keystone_service_adminuri_insecure: false"},{"line_number":27,"context_line":"    keystone_service_adminurl: \"https://10.100.100.10:35357/v3\""},{"line_number":28,"context_line":"    keystone_service_internalurl: \"https://10.100.100.10:5000/v3\""},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    # Keystone password for the searchlight service user"},{"line_number":31,"context_line":"    searchlight_service_password: \"secrete\""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    # hostname or IP of load balancer providing external network"},{"line_number":34,"context_line":"    # access to Keystone"},{"line_number":35,"context_line":"    external_lb_vip_address: 10.100.100.102"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    # hostname or IP of load balancer providing internal network"},{"line_number":38,"context_line":"    # access to Keystone"},{"line_number":39,"context_line":"    internal_lb_vip_address: 10.100.100.102"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Example Playbook"},{"line_number":42,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":27,"id":"1a6eadb0_1c9f1051","line":39,"range":{"start_line":22,"start_character":0,"end_line":39,"end_character":43},"updated":"2016-12-20 18:20:06.000000000","message":"probably to be modified","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"..  code-block:: yaml"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    - name: Installation and setup of Keystone"},{"line_number":47,"context_line":"      hosts: keystone_all"},{"line_number":48,"context_line":"      user: root"},{"line_number":49,"context_line":"      roles:"},{"line_number":50,"context_line":"        - { role: \"os_keystone\", tags: [ \"os-keystone\" ] }"},{"line_number":51,"context_line":"      vars:"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"Tags"},{"line_number":54,"context_line":"\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":27,"id":"1a6eadb0_9cb960ce","line":51,"range":{"start_line":46,"start_character":0,"end_line":51,"end_character":11},"updated":"2016-12-20 18:20:06.000000000","message":"definitely to be modified!","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"defaults/main.yml":[{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"aa3a351a3b4dd7aaa9b4bd1b9825e3ba02404a42","unresolved":false,"context_lines":[{"line_number":59,"context_line":"#: Location to retrieve the pre-built virtuelenv for searchlight (optional)"},{"line_number":60,"context_line":"searchlight_venv_download_url: http://127.0.0.1/venvs/untagged/ubuntu/searchlight.tgz"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"# Don\u0027t think this is needed for searchlight TODO: REMOVE"},{"line_number":63,"context_line":"##: Index DB info"},{"line_number":64,"context_line":"#searchlight_galera_database: searchlight"},{"line_number":65,"context_line":"#searchlight_galera_user: searchlight"}],"source_content_type":"text/x-yaml","patch_set":22,"id":"3a71b18c_620318b9","line":62,"range":{"start_line":62,"start_character":14,"end_line":62,"end_character":18},"updated":"2016-12-08 22:45:58.000000000","message":"Correct!","commit_id":"f515472cd100636ff1392bf9f6f26b04c7c271a9"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":137,"context_line":"searchlight_service_description: \"Searchlight service\""},{"line_number":138,"context_line":"searchlight_api_program_name: \"searchlight-api\""},{"line_number":139,"context_line":"searchlight_manage_program_name: \"searchlight-manage\""},{"line_number":140,"context_line":"searchllight_manage_index_command: \"index sync --force\""},{"line_number":141,"context_line":"searchlight_listener_program_name: \"searchlight-listener\""},{"line_number":142,"context_line":"searchlight_role_name: \"admin\""},{"line_number":143,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_f27c3d22","line":140,"updated":"2016-12-20 18:20:06.000000000","message":"searchlight_ instead of searchllight","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"doc/Makefile":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":22,"context_line":".PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest coverage gettext"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"help:"},{"line_number":25,"context_line":"\t@echo \"Please use \\`make \u003ctarget\u003e\u0027 where \u003ctarget\u003e is one of\""},{"line_number":26,"context_line":"\t@echo \"  html       to make standalone HTML files\""},{"line_number":27,"context_line":"\t@echo \"  dirhtml    to make HTML files named index.html in directories\""},{"line_number":28,"context_line":"\t@echo \"  singlehtml to make a single large HTML file\""}],"source_content_type":"application/octet-stream","patch_set":27,"id":"1a6eadb0_129ff950","line":25,"updated":"2016-12-20 18:20:06.000000000","message":"this character doesn\u0027t sound right.","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"doc/source/conf.py":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"# The link to the browsable source code (for the left hand menu)"},{"line_number":70,"context_line":"oslosphinx_cgit_link \u003d \u0027http://git.openstack.org/cgit/openstack/\u0027 + target_name"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"# The version info for the project you\u0027re documenting, acts as replacement for"},{"line_number":73,"context_line":"# |version| and |release|, also used in various other places throughout the"},{"line_number":74,"context_line":"# built documents."}],"source_content_type":"text/x-python","patch_set":27,"id":"1a6eadb0_b2264566","line":71,"updated":"2016-12-20 18:20:06.000000000","message":"This doesn\u0027t look like the last/correct way to do it.\nPlease have a look at:\n\nhttps://github.com/openstack/openstack-ansible-os_keystone/blob/master/doc/source/conf.py#L91-L99\n\nYou\u0027d also need: https://github.com/openstack/openstack-ansible-os_keystone/blob/master/doc/source/conf.py#L25-L26 and the requirements for it","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"library/searchlight":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/usr/bin/env python"},{"line_number":2,"context_line":"# Copyright 2014, Rackspace US, Inc."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":5,"context_line":"# you may not use this file except in compliance with the License."}],"source_content_type":"application/octet-stream","patch_set":27,"id":"1a6eadb0_f2ca7d4e","line":2,"range":{"start_line":2,"start_character":12,"end_line":2,"end_character":36},"updated":"2016-12-20 18:20:06.000000000","message":"worth updating","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":129,"context_line":"                err\u003d\u0027Initialisation Error: %s\u0027 % e,"},{"line_number":130,"context_line":"                rc\u003d1, msg\u003dstr(e))"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"    def _parse_openrc(self):"},{"line_number":133,"context_line":"        \"\"\"Get credentials from an openrc file.\"\"\""},{"line_number":134,"context_line":"        openrc_path \u003d self.module.params[\u0027openrc_path\u0027]"},{"line_number":135,"context_line":"        line_re \u003d re.compile(\u0027^export (?P\u003ckey\u003eOS_\\w*)\u003d(?P\u003cvalue\u003e[^\\n]*)\u0027)"},{"line_number":136,"context_line":"        with open(openrc_path) as openrc:"},{"line_number":137,"context_line":"            matches \u003d [line_re.match(line) for line in openrc]"},{"line_number":138,"context_line":"            return dict("},{"line_number":139,"context_line":"                (g.groupdict()[\u0027key\u0027].lower()[3:], g.groupdict()[\u0027value\u0027])"},{"line_number":140,"context_line":"                for g in matches if g"},{"line_number":141,"context_line":"            )"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"    def _auth_session(self):"},{"line_number":144,"context_line":"        \"\"\"Create a keystone auth session.\"\"\""},{"line_number":145,"context_line":"        from keystoneauth1.identity.generic import password"},{"line_number":146,"context_line":"        from keystoneauth1 import session"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"        opts \u003d {k: v for k, v in self._parse_openrc().iteritems()"},{"line_number":149,"context_line":"                if k in AUTH_OPTS}"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"        auth \u003d password.Password(**opts)"},{"line_number":152,"context_line":"        return session.Session(auth\u003dauth)"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"    def _init_searchlight(self):"},{"line_number":155,"context_line":"        \"\"\"Create searchlight client object using token and url from keystone."}],"source_content_type":"application/octet-stream","patch_set":27,"id":"1a6eadb0_d2d4a1be","line":152,"range":{"start_line":132,"start_character":1,"end_line":152,"end_character":41},"updated":"2016-12-20 18:20:06.000000000","message":"I really overlooked this. It seems powerful but...\n\nShouldn\u0027t we try to have the same kind of lib everywhere? this is definitely readable too:\n\nhttps://github.com/openstack/openstack-ansible-plugins/blob/master/library/keystone#L535-L597","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"meta/main.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":4,"context_line":"  description: An Ansible Galaxy Role for Deploying OpenStack Searchlight"},{"line_number":5,"context_line":"  company: Rackspace"},{"line_number":6,"context_line":"  license: Apache"},{"line_number":7,"context_line":"  min_ansible_version: 1.9"},{"line_number":8,"context_line":"  platforms:"},{"line_number":9,"context_line":"  - name: Ubuntu"},{"line_number":10,"context_line":"    versions:"}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_52541120","line":7,"range":{"start_line":7,"start_character":23,"end_line":7,"end_character":26},"updated":"2016-12-20 18:20:06.000000000","message":"you\u0027re requiring facts that are only present on 2.0 (maybe even 2.2 only I have to check) and above.\n\nI\u0027d bump the min_ansible version to at least 2.1","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":14,"context_line":"  - openstack"},{"line_number":15,"context_line":"dependencies:"},{"line_number":16,"context_line":"  - pip_install"},{"line_number":17,"context_line":"  - role: elasticsearch"},{"line_number":18,"context_line":"    tags: skip_ansible_lint"},{"line_number":19,"context_line":"  - role: apt_package_pinning"},{"line_number":20,"context_line":"    when:"}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_71082ada","line":17,"updated":"2016-12-20 18:20:06.000000000","message":"You install elastic search on every searchlight_nodes because it\u0027s included in here. Is that what should be done? Should you use another playbook instead and target ES nodes? Or is that by design, and you require this?\n\nYou could still collocate if you have 2 plays for that, while you can\u0027t separate if you have them as meta.","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":20,"context_line":"    when:"},{"line_number":21,"context_line":"      - ansible_pkg_mgr \u003d\u003d \u0027apt\u0027"},{"line_number":22,"context_line":"  - openstack_openrc"},{"line_number":23,"context_line":"# Extra dependency not installable this way"},{"line_number":24,"context_line":"#  git clone https://git.openstack.org/openstack/openstack-ansible-plugins {homedir}/.ansible/plugins"}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_f2b0bd8d","line":24,"range":{"start_line":23,"start_character":0,"end_line":24,"end_character":101},"updated":"2016-12-20 18:20:06.000000000","message":"remove this","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"releasenotes/source/conf.py":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":63,"context_line":"role_name \u003d \u0027os_searchlight\u0027"},{"line_number":64,"context_line":"target_name \u003d \u0027openstack-ansible-\u0027 + role_name"},{"line_number":65,"context_line":"title \u003d \u0027OpenStack-Ansible Release Notes: \u0027 + role_name + \u0027role\u0027"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"# The link to the browsable source code (for the left hand menu)"},{"line_number":68,"context_line":"oslosphinx_cgit_link \u003d \u0027http://git.openstack.org/cgit/openstack/\u0027 + target_name"},{"line_number":69,"context_line":""}],"source_content_type":"text/x-python","patch_set":27,"id":"1a6eadb0_b212c560","line":66,"updated":"2016-12-20 18:20:06.000000000","message":"make sure this is also the latest template.","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"tasks/main.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    - searchlight-install"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"- include: searchlight_post_install.yml"},{"line_number":36,"context_line":"  tags:"},{"line_number":37,"context_line":"    - searchlight-install"},{"line_number":38,"context_line":"    - searchlight-config"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"- include: searchlight_init.yml"},{"line_number":41,"context_line":"  tags:"}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_bc353c47","line":38,"range":{"start_line":36,"start_character":0,"end_line":38,"end_character":24},"updated":"2016-12-20 18:20:06.000000000","message":"I know we did this in the past, but it\u0027s maybe good to stop doing that, and target what we need more precisely.\nIn this case, include the tags in the tasks of searchlight_post_install.yml (if there is more than one task).\n\nBecause there is currently only one task in searchlight_post_install.yml, I\u0027d leave the tags: here, but only tag the task with searchlight-config.","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":"- include: searchlight_init.yml"},{"line_number":41,"context_line":"  tags:"},{"line_number":42,"context_line":"    - searchlight-install"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"- include: searchlight_index_sync.yml"},{"line_number":45,"context_line":"  when: inventory_hostname \u003d\u003d groups[\u0027searchlight_all\u0027][0]"}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_0d36fce6","line":42,"range":{"start_line":42,"start_character":18,"end_line":42,"end_character":25},"updated":"2016-12-20 18:20:06.000000000","message":"I don\u0027t think this is install.","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"tasks/refactor_init_systemd.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":44,"context_line":"    mode: \"0644\""},{"line_number":45,"context_line":"    owner: \"root\""},{"line_number":46,"context_line":"    group: \"root\""},{"line_number":47,"context_line":"  register: systemd_init"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"- name: Reload the systemd daemon"},{"line_number":50,"context_line":"  command: \"systemctl daemon-reload\""}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_cda884de","line":47,"updated":"2016-12-20 18:20:06.000000000","message":"not needed, notify \"Restart Searchlight services\" directly instead.","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    group: \"root\""},{"line_number":47,"context_line":"  register: systemd_init"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"- name: Reload the systemd daemon"},{"line_number":50,"context_line":"  command: \"systemctl daemon-reload\""},{"line_number":51,"context_line":"  when: systemd_init | changed"},{"line_number":52,"context_line":"  notify:"},{"line_number":53,"context_line":"    - Restart Searchlight services"}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_6d821054","line":52,"range":{"start_line":49,"start_character":0,"end_line":52,"end_character":9},"updated":"2016-12-20 18:20:06.000000000","message":"remove this to use systemd module if possible in the handler.","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"tasks/searchlight_index_sync.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":17,"context_line":"  command: \"{{ searchlight_bin }}/{{ searchlight_manage_program_name }} {{ searchllight_manage_index_command }}\""},{"line_number":18,"context_line":"  become: yes"},{"line_number":19,"context_line":"  become_user: \"{{ searchlight_system_user_name }}\""},{"line_number":20,"context_line":"  changed_when: false"}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_6d8f7023","line":20,"updated":"2016-12-20 18:20:06.000000000","message":"probably worth skipping linting.\n\nIs there a way to ensure this is idempotent? Use stdout results/rc?\nIs this possible to run this conditionally maybe?","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"tasks/searchlight_init.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":21,"context_line":"    system_group: \"{{ searchlight_system_group_name }}\""},{"line_number":22,"context_line":"    service_home: \"{{ searchlight_system_user_home }}\""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"- include: searchlight_init_common.yml"},{"line_number":25,"context_line":"  vars:"},{"line_number":26,"context_line":"    program_name: \"{{ searchlight_listener_program_name }}\""},{"line_number":27,"context_line":"    service_name: \"{{ searchlight_service_name }}\""},{"line_number":28,"context_line":"    system_user: \"{{ searchlight_system_user_name }}\""},{"line_number":29,"context_line":"    system_group: \"{{ searchlight_system_group_name }}\""},{"line_number":30,"context_line":"    service_home: \"{{ searchlight_system_user_home }}\""}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_2d5658d2","line":30,"range":{"start_line":24,"start_character":0,"end_line":30,"end_character":54},"updated":"2016-12-20 18:20:06.000000000","message":"could probably be reduced in one task:\n\n- include: searchlight_init_common.yml\n  with_items:\n    - program_name: \"{{ searchlight_api_program_name }}\"\n    - program_name: \"{{ searchlight_listener_program_name }}\"\n  vars:\n    service_name: \"{{ searchlight_service_name }}\"\n    system_user: \"{{ searchlight_system_user_name }}\"\n    system_group: \"{{ searchlight_system_group_name }}\"\n    service_home: \"{{ searchlight_system_user_home }}\"","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"tasks/searchlight_init_common.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"- include: searchlight_init_systemd.yml"},{"line_number":17,"context_line":"  when: ansible_service_mgr \u003d\u003d \u0027systemd\u0027"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"- name: Load service"},{"line_number":20,"context_line":"  service:"}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_4da9d47a","line":17,"updated":"2016-12-20 18:20:06.000000000","message":"I think we only support systemd in O onwards. but fine for me.","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":17,"context_line":"  when: ansible_service_mgr \u003d\u003d \u0027systemd\u0027"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"- name: Load service"},{"line_number":20,"context_line":"  service:"},{"line_number":21,"context_line":"   name: \"{{ program_name }}\""},{"line_number":22,"context_line":"   enabled: \"yes\""},{"line_number":23,"context_line":"  notify:"}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_8d084cdb","line":20,"updated":"2016-12-20 18:20:06.000000000","message":"or systemd module because we only support systemd in O onwards\n\nYou probably need to systemctl daemon-reload before doing this \u0027though. Do you have a flush handlers or?","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"tasks/searchlight_init_systemd.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"# Copyright 2016, Rackspace US, Inc."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\");"}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_ad26e865","line":1,"updated":"2016-12-20 18:20:06.000000000","message":"Why shipping an init systemd twice?","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"tasks/searchlight_install.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":27,"id":"1a6eadb0_6dc77012","updated":"2016-12-20 18:20:06.000000000","message":"Please see latest practices","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":37,"context_line":"  when:"},{"line_number":38,"context_line":"    - searchlight_developer_mode | bool"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"- name: Add constraints to pip_install_options fact for developer mode"},{"line_number":41,"context_line":"  set_fact:"},{"line_number":42,"context_line":"    pip_install_options_fact: \"{{ pip_install_options|default(\u0027\u0027) }} --constraint /opt/developer-pip-constraints.txt --constraint /opt/requirements/upper-constraints.txt\""},{"line_number":43,"context_line":"  when:"},{"line_number":44,"context_line":"    - searchlight_developer_mode | bool"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"- name: Set pip_install_options_fact when not in developer mode"},{"line_number":47,"context_line":"  set_fact:"},{"line_number":48,"context_line":"    pip_install_options_fact: \"{{ pip_install_options|default(\u0027\u0027) }}\""},{"line_number":49,"context_line":"  when:"},{"line_number":50,"context_line":"    - not searchlight_developer_mode | bool"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"- name: Install required pip packages"},{"line_number":53,"context_line":"  pip:"},{"line_number":54,"context_line":"    name: \"{{ searchlight_required_pip_packages | join(\u0027 \u0027) }}\""},{"line_number":55,"context_line":"    state: \"{{ searchlight_pip_package_state }}\""},{"line_number":56,"context_line":"    extra_args: \"{{ pip_install_options_fact }}\""},{"line_number":57,"context_line":"  register: install_packages"},{"line_number":58,"context_line":"  until: install_packages|success"},{"line_number":59,"context_line":"  retries: 5"}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_ad350847","line":56,"range":{"start_line":40,"start_character":6,"end_line":56,"end_character":19},"updated":"2016-12-20 18:20:06.000000000","message":"this is not latest practice IIRC.","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":59,"context_line":"  retries: 5"},{"line_number":60,"context_line":"  delay: 2"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"- name: Get local venv checksum"},{"line_number":63,"context_line":"  stat:"},{"line_number":64,"context_line":"    path: \"/var/cache/{{ searchlight_venv_download_url | basename }}\""},{"line_number":65,"context_line":"    get_md5: False"},{"line_number":66,"context_line":"  when:"},{"line_number":67,"context_line":"    - not searchlight_developer_mode | bool"},{"line_number":68,"context_line":"  register: local_venv_stat"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"- name: Get remote venv checksum"},{"line_number":71,"context_line":"  uri:"},{"line_number":72,"context_line":"    url: \"{{ searchlight_venv_download_url | replace(\u0027tgz\u0027, \u0027checksum\u0027) }}\""},{"line_number":73,"context_line":"    return_content: True"},{"line_number":74,"context_line":"  when:"},{"line_number":75,"context_line":"    - not searchlight_developer_mode | bool"},{"line_number":76,"context_line":"  register: remote_venv_checksum"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"# TODO: When project moves to ansible 2 we can pass this a sha256sum which will:"},{"line_number":79,"context_line":"#       a) allow us to remove force: yes"},{"line_number":80,"context_line":"#       b) allow the module to calculate the checksum of dest file which would"},{"line_number":81,"context_line":"#          result in file being downloaded only if provided and dest sha256sum"},{"line_number":82,"context_line":"#          checksums differ"},{"line_number":83,"context_line":"- name: Attempt venv download"},{"line_number":84,"context_line":"  get_url:"},{"line_number":85,"context_line":"    url: \"{{ searchlight_venv_download_url }}\""},{"line_number":86,"context_line":"    dest: \"/var/cache/{{ searchlight_venv_download_url | basename }}\""},{"line_number":87,"context_line":"    force: yes"},{"line_number":88,"context_line":"  ignore_errors: true"},{"line_number":89,"context_line":"  register: get_venv"},{"line_number":90,"context_line":"  when:"}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_6d605036","line":87,"range":{"start_line":62,"start_character":0,"end_line":87,"end_character":14},"updated":"2016-12-20 18:20:06.000000000","message":"please see latest practices in keystone role","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"tasks/searchlight_install_apt.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"#TODO(evrardjp): Replace the next 2 tasks by a standard apt with cache"},{"line_number":17,"context_line":"#when https://github.com/ansible/ansible-modules-core/pull/1517 is merged"},{"line_number":18,"context_line":"#in 1.9.x or we move to 2.0 (if tested working)"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"- name: Check apt last update file"},{"line_number":21,"context_line":"  stat:"},{"line_number":22,"context_line":"    path: /var/cache/apt"},{"line_number":23,"context_line":"  register: apt_cache_stat"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"- name: Update apt if needed"},{"line_number":26,"context_line":"  apt:"},{"line_number":27,"context_line":"    update_cache: yes"},{"line_number":28,"context_line":"  when: \"ansible_date_time.epoch|float - apt_cache_stat.stat.mtime \u003e {{cache_timeout}}\""},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"- name: Install apt packages"},{"line_number":31,"context_line":"  apt:"}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_0dd7dcbf","line":28,"range":{"start_line":16,"start_character":0,"end_line":28,"end_character":87},"updated":"2016-12-20 18:20:06.000000000","message":"Please see latest practices.","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":28,"context_line":"  when: \"ansible_date_time.epoch|float - apt_cache_stat.stat.mtime \u003e {{cache_timeout}}\""},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"- name: Install apt packages"},{"line_number":31,"context_line":"  apt:"},{"line_number":32,"context_line":"    pkg: \"{{ item }}\""},{"line_number":33,"context_line":"    state: \"{{ searchlight_package_state }}\""},{"line_number":34,"context_line":"  register: install_packages"}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_8dca0c19","line":31,"updated":"2016-12-20 18:20:06.000000000","message":"package","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"tasks/searchlight_policy_setup.yml":[{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"aa3a351a3b4dd7aaa9b4bd1b9825e3ba02404a42","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    timeout: 25"},{"line_number":24,"context_line":"    delay: 10"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"# TODO: (neillc) REMOVE - I don\u0027t think these are appropriate for searchlight"},{"line_number":27,"context_line":"#- name: Ensure Archive Policies"},{"line_number":28,"context_line":"#  searchlight:"},{"line_number":29,"context_line":"#    command: ensure_archive_policy"}],"source_content_type":"text/x-yaml","patch_set":22,"id":"3a71b18c_62f2389c","line":26,"range":{"start_line":26,"start_character":17,"end_line":26,"end_character":23},"updated":"2016-12-08 22:45:58.000000000","message":"Agreed!","commit_id":"f515472cd100636ff1392bf9f6f26b04c7c271a9"}],"tasks/searchlight_pre_install.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":63,"context_line":"    group: \"{{ item.group|default(searchlight_system_group_name) }}\""},{"line_number":64,"context_line":"    mode: \"{{ item.mode|default(\u00270755\u0027) }}\""},{"line_number":65,"context_line":"  with_items:"},{"line_number":66,"context_line":"    - { path: \"/var/log/searchlight\" }"},{"line_number":67,"context_line":"  when: log_dir.rc !\u003d 0"}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_cda2444b","line":66,"updated":"2016-12-20 18:20:06.000000000","message":"no need for with items","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"},{"author":{"_account_id":18784,"name":"Michael Carden","email":"mike.carden@gmail.com","username":"mcarden"},"change_message_id":"e9138bdd5396591e085decc5f5f4250fcdf39384","unresolved":false,"context_lines":[{"line_number":61,"context_line":"    owner: \"{{ searchlight_system_user_name }}\""},{"line_number":62,"context_line":"    group: \"{{ searchlight_system_group_name }}\""},{"line_number":63,"context_line":"    mode: \"0755\""},{"line_number":64,"context_line":"    path: \"/var/log/searchlight\" "},{"line_number":65,"context_line":"  when: log_dir.rc !\u003d 0"}],"source_content_type":"text/x-yaml","patch_set":28,"id":"9ff52f3f_94b7b2d9","line":64,"range":{"start_line":64,"start_character":32,"end_line":64,"end_character":33},"updated":"2017-04-13 04:37:18.000000000","message":"Aha, Knobbled by a trailing space!","commit_id":"54bb3f1b858425ea6f84546acd833b1a143ecd04"}],"templates/policy.json.j2":[{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"aa3a351a3b4dd7aaa9b4bd1b9825e3ba02404a42","unresolved":false,"context_lines":[{"line_number":2,"context_line":"    \"context_is_admin\":  \"role:admin\","},{"line_number":3,"context_line":"    \"default\": \"\","},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"    \"catalog_index\": \"role:admin\","},{"line_number":6,"context_line":"    \"catalog_search\": \"\","},{"line_number":7,"context_line":"    \"catalog_plugins\": \"\","},{"line_number":8,"context_line":""}],"source_content_type":"text/x-jinja2","patch_set":22,"id":"3a71b18c_226da032","line":5,"range":{"start_line":5,"start_character":18,"end_line":5,"end_character":20},"updated":"2016-12-08 22:45:58.000000000","message":"These are a bit out of date (apologies if you got them from our docs - I\u0027ll take a look and see if we\u0027ve left our garbage in the street).\n\nCurrent example is https://github.com/openstack/searchlight/blob/master/etc/policy.json","commit_id":"f515472cd100636ff1392bf9f6f26b04c7c271a9"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":27,"id":"1a6eadb0_0d5a7c50","updated":"2016-12-20 18:20:06.000000000","message":"I didn\u0027t verify this, I suppose it\u0027s standard one. Correct?","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"templates/searchlight-api-paste.ini.j2":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":27,"id":"1a6eadb0_2d07381d","updated":"2016-12-20 18:20:06.000000000","message":"If this isn\u0027t standard plz inform the ptl/release team","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"templates/searchlight.conf.j2":[{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"aa3a351a3b4dd7aaa9b4bd1b9825e3ba02404a42","unresolved":false,"context_lines":[{"line_number":26,"context_line":"rpc_conn_pool_size \u003d 30"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"[indexer]"},{"line_number":29,"context_line":"# url \u003d mysql+pymysql://{ { searchlight_galera_user } }:{ { searchlight_container_mysql_password } }@{ { searchlight_galera_address } }/{ { searchlight_galera_database } }?charset\u003dutf8"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"[keystone_authtoken]"},{"line_number":32,"context_line":"insecure \u003d {{ keystone_service_adminuri_insecure | bool }}"}],"source_content_type":"text/x-jinja2","patch_set":22,"id":"3a71b18c_02126409","line":29,"range":{"start_line":29,"start_character":8,"end_line":29,"end_character":13},"updated":"2016-12-08 22:45:58.000000000","message":"Searchlight doesn\u0027t have a database connection (and we\u0027ve no plans to add one) so you can safely remove this","commit_id":"f515472cd100636ff1392bf9f6f26b04c7c271a9"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"aa3a351a3b4dd7aaa9b4bd1b9825e3ba02404a42","unresolved":false,"context_lines":[{"line_number":55,"context_line":"[service_credentials]"},{"line_number":56,"context_line":"# These are needed to make API calls to other services when indexing"},{"line_number":57,"context_line":"auth_plugin \u003d password"},{"line_number":58,"context_line":"username \u003d {{ searchlight_service_user_name }}"},{"line_number":59,"context_line":"password \u003d {{ searchlight_service_password }}"},{"line_number":60,"context_line":"tenant_name \u003d {{ searchlight_service_project_name }}"},{"line_number":61,"context_line":"auth_url \u003d {{ keystone_service_adminuri }}"}],"source_content_type":"text/x-jinja2","patch_set":22,"id":"3a71b18c_82d674ef","line":58,"range":{"start_line":58,"start_character":14,"end_line":58,"end_character":43},"updated":"2016-12-08 22:45:58.000000000","message":"This user will need admin privileges on nova, cinder etc because it has to be able to retrieve resources belonging to all tenants","commit_id":"f515472cd100636ff1392bf9f6f26b04c7c271a9"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"aa3a351a3b4dd7aaa9b4bd1b9825e3ba02404a42","unresolved":false,"context_lines":[{"line_number":72,"context_line":"# include_region_name \u003d True"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"[service_credentials:nova]"},{"line_number":75,"context_line":"compute_api_version \u003d 2.1"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"[resource_plugin:os_nova_server]"},{"line_number":78,"context_line":"enabled \u003d True"}],"source_content_type":"text/x-jinja2","patch_set":22,"id":"3a71b18c_c2df8c0a","line":75,"range":{"start_line":75,"start_character":22,"end_line":75,"end_character":23},"updated":"2016-12-08 22:45:58.000000000","message":"This can probably be higher, especially for ocata. We\u0027ve tested with at least version 2.26 and I want to check that it works with later ones. 2.1 will likely be deprecated in favor of 2.36 at some point, so they can drop support for all the proxied calls to glance, neutron, cinder","commit_id":"f515472cd100636ff1392bf9f6f26b04c7c271a9"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"aa3a351a3b4dd7aaa9b4bd1b9825e3ba02404a42","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"[resource_plugin:os_glance_image]"},{"line_number":91,"context_line":"enabled \u003d True"},{"line_number":92,"context_line":"# override_region_name \u003d Region1,Region2"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"[resource_plugin:os_glance_metadef]"},{"line_number":95,"context_line":"enabled \u003d True"}],"source_content_type":"text/x-jinja2","patch_set":22,"id":"3a71b18c_62f158cd","line":92,"range":{"start_line":92,"start_character":2,"end_line":92,"end_character":22},"updated":"2016-12-08 22:45:58.000000000","message":"Can remove this","commit_id":"f515472cd100636ff1392bf9f6f26b04c7c271a9"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":72,"context_line":"# include_region_name \u003d True"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"[service_credentials:nova]"},{"line_number":75,"context_line":"compute_api_version \u003d 2.26"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"[resource_plugin:os_nova_server]"},{"line_number":78,"context_line":"enabled \u003d True"}],"source_content_type":"text/x-jinja2","patch_set":27,"id":"1a6eadb0_719e6ab9","line":75,"range":{"start_line":75,"start_character":22,"end_line":75,"end_character":26},"updated":"2016-12-20 18:20:06.000000000","message":"should this be discovered?","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":77,"context_line":"[resource_plugin:os_nova_server]"},{"line_number":78,"context_line":"enabled \u003d True"},{"line_number":79,"context_line":"admin_only_fields \u003d OS-EXT-SRV*,OS-EXT-STS:vm_state"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"[resource_plugin:os_nova_hypervisor]"},{"line_number":82,"context_line":"enabled \u003d True"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"[resource_plugin:os_nova_flavor]"},{"line_number":85,"context_line":"enabled \u003d True"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"[resource_plugin:os_nova_servergroup]"},{"line_number":88,"context_line":"enabled \u003d False"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"[resource_plugin:os_glance_image]"},{"line_number":91,"context_line":"enabled \u003d True"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"[resource_plugin:os_glance_metadef]"},{"line_number":94,"context_line":"enabled \u003d True"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"[resource_plugin:os_cinder_volume]"},{"line_number":97,"context_line":"enabled \u003d True"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"[resource_plugin:os_cinder_snapshot]"},{"line_number":100,"context_line":"enabled \u003d True"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"[resource_plugin:os_neutron_net]"},{"line_number":103,"context_line":"enabled \u003d True"},{"line_number":104,"context_line":"admin_only_fields\u003dadmin_state_up,status"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"[resource_plugin:os_neutron_port]"},{"line_number":107,"context_line":"enabled \u003d True"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"[resource_plugin:os_neutron_security_group]"},{"line_number":110,"context_line":"enabled \u003d True"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"[resource_plugin:os_designate_zone]"},{"line_number":113,"context_line":"enabled \u003d False"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"[resource_plugin:os_designate_recordset]"},{"line_number":116,"context_line":"enabled \u003d False"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"[resource_plugin:os_swift_account]"},{"line_number":119,"context_line":"enabled \u003d False"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"[resource_plugin:os_swift_container]"},{"line_number":122,"context_line":"enabled \u003d False"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"[resource_plugin:os_swift_object]"},{"line_number":125,"context_line":"enabled \u003d False"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"[paste_deploy]"},{"line_number":128,"context_line":"flavor \u003d keystone"}],"source_content_type":"text/x-jinja2","patch_set":27,"id":"1a6eadb0_d1681ebd","line":125,"range":{"start_line":80,"start_character":0,"end_line":125,"end_character":15},"updated":"2016-12-20 18:20:06.000000000","message":"can\u0027t we just document this, and let the deployer override? Should we use group length instead? This seems arbitrary.","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"test-requirements.txt":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":3,"context_line":"# process, which may cause wedges in the gate later."},{"line_number":4,"context_line":"bashate\u003e\u003d0.2 # Apache-2.0"},{"line_number":5,"context_line":"flake8\u003c2.6.0,\u003e\u003d2.5.4 # MIT"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"# this is required for the docs build jobs"},{"line_number":8,"context_line":"sphinx!\u003d1.3b1,\u003c1.4,\u003e\u003d1.2.1 # BSD"},{"line_number":9,"context_line":"oslosphinx\u003e\u003d4.7.0 # Apache-2.0"}],"source_content_type":"text/plain","patch_set":27,"id":"1a6eadb0_f1aa7ad1","line":6,"updated":"2016-12-20 18:20:06.000000000","message":"The test requirements lack the openstack styling. See keystone role.","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"tests/ansible-role-requirements.yml":[{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"aa3a351a3b4dd7aaa9b4bd1b9825e3ba02404a42","unresolved":false,"context_lines":[{"line_number":22,"context_line":"  src: https://git.openstack.org/openstack/openstack-ansible-memcached_server"},{"line_number":23,"context_line":"  scm: git"},{"line_number":24,"context_line":"  version: master"},{"line_number":25,"context_line":"- name: galera_client"},{"line_number":26,"context_line":"  src: https://git.openstack.org/openstack/openstack-ansible-galera_client"},{"line_number":27,"context_line":"  scm: git"},{"line_number":28,"context_line":"  version: master"}],"source_content_type":"text/x-yaml","patch_set":22,"id":"3a71b18c_42fd3c3a","line":25,"range":{"start_line":25,"start_character":8,"end_line":25,"end_character":21},"updated":"2016-12-08 22:45:58.000000000","message":"This won\u0027t be necessary for SL, though obviously will be for most of hte other services","commit_id":"f515472cd100636ff1392bf9f6f26b04c7c271a9"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"aa3a351a3b4dd7aaa9b4bd1b9825e3ba02404a42","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  src: https://git.openstack.org/openstack/openstack-ansible-galera_client"},{"line_number":27,"context_line":"  scm: git"},{"line_number":28,"context_line":"  version: master"},{"line_number":29,"context_line":"- name: galera_server"},{"line_number":30,"context_line":"  src: https://git.openstack.org/openstack/openstack-ansible-galera_server"},{"line_number":31,"context_line":"  scm: git"},{"line_number":32,"context_line":"  version: master"}],"source_content_type":"text/x-yaml","patch_set":22,"id":"3a71b18c_82f75458","line":29,"range":{"start_line":29,"start_character":8,"end_line":29,"end_character":21},"updated":"2016-12-08 22:45:58.000000000","message":"Ditto","commit_id":"f515472cd100636ff1392bf9f6f26b04c7c271a9"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"aa3a351a3b4dd7aaa9b4bd1b9825e3ba02404a42","unresolved":false,"context_lines":[{"line_number":46,"context_line":"  src: https://github.com/Stouts/Stouts.elasticsearch.git"},{"line_number":47,"context_line":"  scm: git"},{"line_number":48,"context_line":"  version: master"},{"line_number":49,"context_line":"# TODO: (neillc) remove ceilometer if not needed"},{"line_number":50,"context_line":"#- name: os_ceilometer"},{"line_number":51,"context_line":"#  src: https://git.openstack.org/openstack/openstack-ansible-os_ceilometer"},{"line_number":52,"context_line":"#  scm: git"}],"source_content_type":"text/x-yaml","patch_set":22,"id":"3a71b18c_02eb4479","line":49,"range":{"start_line":49,"start_character":8,"end_line":49,"end_character":9},"updated":"2016-12-08 22:45:58.000000000","message":"Not needed for SL","commit_id":"f515472cd100636ff1392bf9f6f26b04c7c271a9"}],"tests/inventory":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":1,"context_line":"[all]"},{"line_number":2,"context_line":"localhost ansible_become\u003dTrue"},{"line_number":3,"context_line":"infra1 ansible_host\u003d10.1.0.2 ansible_become\u003dTrue ansible_user\u003droot"},{"line_number":4,"context_line":"openstack1 ansible_host\u003d10.1.0.3 ansible_become\u003dTrue ansible_user\u003droot"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"[all_containers]"}],"source_content_type":"application/octet-stream","patch_set":27,"id":"1a6eadb0_51e96e19","line":3,"updated":"2016-12-20 18:20:06.000000000","message":"I don\u0027t think these are the right ones nowadays. Please verify.","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"tests/os_searchlight-overrides.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":1,"context_line":"searchlight_developer_mode: true"},{"line_number":2,"context_line":"searchlight_container_mysql_password: \"secrete\""},{"line_number":3,"context_line":"searchlight_service_password: \"secrete\""},{"line_number":4,"context_line":"searchlight_service_publicurl: \"http://{{ hostvars[groups[\u0027searchlight_all\u0027][0]][\u0027ansible_host\u0027] }}:9393\""}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_d1dd7e71","line":1,"updated":"2016-12-20 18:20:06.000000000","message":"--- as first line.","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"tests/test-install-searchlight.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"# Copyright 2015, Rackspace US, Inc."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":5,"context_line":"# you may not use this file except in compliance with the License."}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_31e31235","line":2,"updated":"2016-12-20 18:20:06.000000000","message":"2016","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":24,"context_line":"      user_password: \"{{ searchlight_rabbitmq_password }}\""},{"line_number":25,"context_line":"      when: \"{{ groups[\u0027rabbitmq_all\u0027] is defined }}\""},{"line_number":26,"context_line":"  roles:"},{"line_number":27,"context_line":"    - role: \"os_searchlight\""},{"line_number":28,"context_line":"  vars_files:"},{"line_number":29,"context_line":"    - common/test-vars.yml"}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_f1e27a00","line":27,"updated":"2016-12-20 18:20:06.000000000","message":"No elasticsearch variables?\nThe role make it work by default magically? Is that a good idea (I don\u0027t know the ES role)","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"tests/test-searchlight-functional.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    - name: Check the searchlight-api"},{"line_number":24,"context_line":"      uri:"},{"line_number":25,"context_line":"        url: \"http://localhost:{{ searchlight_service_port }}\""},{"line_number":26,"context_line":"        status_code: 200,300"},{"line_number":27,"context_line":"  vars_files:"},{"line_number":28,"context_line":"    - test-vars.yml"}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_b1b722f4","line":26,"updated":"2016-12-20 18:20:06.000000000","message":"seems a good start :) \\o/","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}],"tests/test.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bd8d8dc3b36b318112e3f2792b30bfc867432b24","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"# Copyright 2015, Rackspace US, Inc."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":5,"context_line":"# you may not use this file except in compliance with the License."}],"source_content_type":"text/x-yaml","patch_set":27,"id":"1a6eadb0_11c9b678","line":2,"updated":"2016-12-20 18:20:06.000000000","message":"2016","commit_id":"c63bf5f4cca84f3deb9e9f6883de8cae840f6612"}]}
