)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"1d3fd990a2a4952aa045fec034def6086fa7116e","unresolved":false,"context_lines":[{"line_number":5,"context_line":"CommitDate: 2015-06-24 13:37:29 +0200"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add devstack"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: Idd853c456662ba1aef9b4e8868ac8c5dcc220e27"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"fa32b979_43700208","line":8,"updated":"2015-06-25 14:45:08.000000000","message":"Also, please add a link to the blueprint (implements): https://blueprints.launchpad.net/searchlight/+spec/devstack-plugin","commit_id":"75954f62c06ac3a8942e51c222e2a041aed7e1c2"}],"contrib/devstack/extras.d/80-searchlight.sh":[{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"e65d5e105b566ec2bb2b990fe68029e58cc986b5","unresolved":false,"context_lines":[{"line_number":13,"context_line":"        echo_summary \"Installing Searchlight Client\""},{"line_number":14,"context_line":"        #install_searchlightclient"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"        #if is_service_enabled horizon; then"},{"line_number":17,"context_line":"        #    echo_summary \"Installing Searchlight Dashboard\""},{"line_number":18,"context_line":"        #    install_searchlight_dashboard"},{"line_number":19,"context_line":"        #fi"}],"source_content_type":"text/x-sh","patch_set":1,"id":"fa32b979_5a7fe716","line":16,"updated":"2015-06-23 19:49:44.000000000","message":"Can remove this; i don\u0027t see a separate searchlight dashboard ever happening.","commit_id":"38a4cf6de436c68b186f6ff2a5fbd73414cab0e4"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"b119329fe62d9f5590213da49cee5a22c8660c55","unresolved":false,"context_lines":[{"line_number":13,"context_line":"        echo_summary \"Installing Searchlight Client\""},{"line_number":14,"context_line":"        #install_searchlightclient"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"        #if is_service_enabled horizon; then"},{"line_number":17,"context_line":"        #    echo_summary \"Installing Searchlight Dashboard\""},{"line_number":18,"context_line":"        #    install_searchlight_dashboard"},{"line_number":19,"context_line":"        #fi"}],"source_content_type":"text/x-sh","patch_set":1,"id":"fa32b979_0fa8d81e","line":16,"in_reply_to":"fa32b979_5a7fe716","updated":"2015-06-25 16:56:38.000000000","message":"Agreed, can be removed for now, but there may be a searchlight specific dashboard which David Lyle agreed we could build directly into a horizon plugin in repo.","commit_id":"38a4cf6de436c68b186f6ff2a5fbd73414cab0e4"}],"contrib/devstack/gate_hook.sh":[{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"e65d5e105b566ec2bb2b990fe68029e58cc986b5","unresolved":false,"context_lines":[{"line_number":5,"context_line":"pushd $BASE/new/devstack"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"export KEEP_LOCALRC\u003d1"},{"line_number":8,"context_line":"export ENABLED_SERVICES\u003dsearchlight,searchlight-index,searchlight-api"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"# Pass through any SEARCHLIGHT_ env vars to the localrc file"},{"line_number":11,"context_line":"env | grep -E \"^SEARCHLIGHT_\" \u003e\u003e $BASE/new/devstack/local.conf || :"}],"source_content_type":"text/x-sh","patch_set":1,"id":"fa32b979_1accff68","line":8,"updated":"2015-06-23 19:49:44.000000000","message":"searchlight-index typically wouldn\u0027t be an enabled service. I don\u0027t know if the monitoring process has a proper entrypoint?","commit_id":"38a4cf6de436c68b186f6ff2a5fbd73414cab0e4"}],"contrib/devstack/lib/elasticsearch":[{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"e65d5e105b566ec2bb2b990fe68029e58cc986b5","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# lib/elasticsearch"},{"line_number":4,"context_line":"# Install and start elasticsearch"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"fa32b979_5afb677b","line":1,"updated":"2015-06-23 19:49:44.000000000","message":"I seem to remember this already existing somewhere in infra. If it\u0027s ok to copy it, that\u0027s fine","commit_id":"38a4cf6de436c68b186f6ff2a5fbd73414cab0e4"}],"contrib/devstack/lib/searchlight":[{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"e65d5e105b566ec2bb2b990fe68029e58cc986b5","unresolved":false,"context_lines":[{"line_number":25,"context_line":"# Set up default repos"},{"line_number":26,"context_line":"SEARCHLIGHT_REPO\u003d${SEARCHLIGHT_REPO:-${GIT_BASE}/openstack/searchlight.git}"},{"line_number":27,"context_line":"SEARCHLIGHT_BRANCH\u003d${SEARCHLIGHT_BRANCH:-master}"},{"line_number":28,"context_line":"SEARCHLIGHTCLIENT_REPO\u003d${SEARCHLIGHTCLIENT_REPO:-${GIT_BASE}/openstack/python-searchlightclient.git}"},{"line_number":29,"context_line":"SEARCHLIGHTCLIENT_BRANCH\u003d${SEARCHLIGHTCLIENT_BRANCH:-master}"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"# Set up default paths"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"fa32b979_5a8047bf","line":28,"updated":"2015-06-23 19:49:44.000000000","message":"This doesn\u0027t exist, and won\u0027t in the near future","commit_id":"38a4cf6de436c68b186f6ff2a5fbd73414cab0e4"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"e65d5e105b566ec2bb2b990fe68029e58cc986b5","unresolved":false,"context_lines":[{"line_number":31,"context_line":"# Set up default paths"},{"line_number":32,"context_line":"SEARCHLIGHT_BIN_DIR\u003d$(get_python_exec_prefix)"},{"line_number":33,"context_line":"SEARCHLIGHT_DIR\u003d$DEST/searchlight"},{"line_number":34,"context_line":"SEARCHLIGHTCLIENT_DIR\u003d$DEST/python-searchlightclient"},{"line_number":35,"context_line":"SEARCHLIGHT_CONF_DIR\u003d/etc/searchlight"},{"line_number":36,"context_line":"SEARCHLIGHT_STATE_PATH\u003d${SEARCHLIGHT_STATE_PATH:\u003d$DATA_DIR/searchlight}"},{"line_number":37,"context_line":"SEARCHLIGHT_CONF\u003d$SEARCHLIGHT_CONF_DIR/searchlight-api.conf"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"fa32b979_1a6f1f2c","line":34,"updated":"2015-06-23 19:49:44.000000000","message":"Same wrt client","commit_id":"38a4cf6de436c68b186f6ff2a5fbd73414cab0e4"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"e65d5e105b566ec2bb2b990fe68029e58cc986b5","unresolved":false,"context_lines":[{"line_number":43,"context_line":"SEARCHLIGHT_SERVICE_PROTOCOL\u003d${SEARCHLIGHT_SERVICE_PROTOCOL:-$SERVICE_PROTOCOL}"},{"line_number":44,"context_line":"SEARCHLIGHT_SERVICE_HOST\u003d${SEARCHLIGHT_SERVICE_HOST:-$SERVICE_HOST}"},{"line_number":45,"context_line":"SEARCHLIGHT_SERVICE_PORT\u003d${SEARCHLIGHT_SERVICE_PORT:-9393}"},{"line_number":46,"context_line":"SEARCHLIGHT_SERVICE_PORT_INT\u003d${SEARCHLIGHT_SERVICE_PORT_INT:-19393}"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"# Tell Tempest this project is present"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"fa32b979_ba66334f","line":46,"updated":"2015-06-23 19:49:44.000000000","message":"Not sure what PORT_INT is?","commit_id":"38a4cf6de436c68b186f6ff2a5fbd73414cab0e4"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"e65d5e105b566ec2bb2b990fe68029e58cc986b5","unresolved":false,"context_lines":[{"line_number":161,"context_line":"    sudo chown $STACK_USER $SEARCHLIGHT_AUTH_CACHE_DIR"},{"line_number":162,"context_line":"    rm -f $SEARCHLIGHT_AUTH_CACHE_DIR/*"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"    # (Re)create searchlight database"},{"line_number":165,"context_line":"    #recreate_database searchlight utf8"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"    # Init and migrate searchlight database"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"fa32b979_fa483bb5","line":164,"updated":"2015-06-23 19:49:44.000000000","message":"We\u0027ve no database so this can go, although we may instead want to run searchlight-index as a post-install step.","commit_id":"38a4cf6de436c68b186f6ff2a5fbd73414cab0e4"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"e65d5e105b566ec2bb2b990fe68029e58cc986b5","unresolved":false,"context_lines":[{"line_number":182,"context_line":"    setup_develop $SEARCHLIGHT_DIR"},{"line_number":183,"context_line":"}"},{"line_number":184,"context_line":""},{"line_number":185,"context_line":"# install_searchlightclient - Collect source and prepare"},{"line_number":186,"context_line":"function install_searchlightclient {"},{"line_number":187,"context_line":"    git_clone $SEARCHLIGHTCLIENT_REPO $SEARCHLIGHTCLIENT_DIR $SEARCHLIGHTCLIENT_BRANCH"},{"line_number":188,"context_line":"    setup_develop $SEARCHLIGHTCLIENT_DIR"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"fa32b979_5ace072e","line":185,"updated":"2015-06-23 19:49:44.000000000","message":"No client","commit_id":"38a4cf6de436c68b186f6ff2a5fbd73414cab0e4"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"e65d5e105b566ec2bb2b990fe68029e58cc986b5","unresolved":false,"context_lines":[{"line_number":188,"context_line":"    setup_develop $SEARCHLIGHTCLIENT_DIR"},{"line_number":189,"context_line":"}"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"# install_searchlightdashboard - Collect source and prepare"},{"line_number":192,"context_line":"function install_searchlightdashboard {"},{"line_number":193,"context_line":"    ln -fs $SEARCHLIGHT_DIR/contrib/searchlight-dashboard/searchlightdashboard/enabled/_70_dns_add_group.py $HORIZON_DIR/openstack_dashboard/local/enabled/70_dns_add_group.py"},{"line_number":194,"context_line":"    ln -fs $SEARCHLIGHT_DIR/contrib/searchlight-dashboard/searchlightdashboard/enabled/_71_dns_project.py $HORIZON_DIR/openstack_dashboard/local/enabled/71_dns_project.py"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"fa32b979_1adddfdf","line":191,"updated":"2015-06-23 19:49:44.000000000","message":"No dashboard","commit_id":"38a4cf6de436c68b186f6ff2a5fbd73414cab0e4"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"e65d5e105b566ec2bb2b990fe68029e58cc986b5","unresolved":false,"context_lines":[{"line_number":197,"context_line":""},{"line_number":198,"context_line":"# start_searchlight - Start running processes, including screen"},{"line_number":199,"context_line":"function start_searchlight {"},{"line_number":200,"context_line":"    run_process searchlight-index \"$SEARCHLIGHT_BIN_DIR/searchlight-index --config-file $SEARCHLIGHT_CONF\""},{"line_number":201,"context_line":"    run_process searchlight-api \"$SEARCHLIGHT_BIN_DIR/searchlight-api --config-file $SEARCHLIGHT_CONF\""},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"    # Start proxies if enabled"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"fa32b979_baf4f35a","line":200,"updated":"2015-06-23 19:49:44.000000000","message":"searchlight-index is currently a one-off process (though perhaps we should use searchlight-index for the long-running service and something else for the initialization step)","commit_id":"38a4cf6de436c68b186f6ff2a5fbd73414cab0e4"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"e65d5e105b566ec2bb2b990fe68029e58cc986b5","unresolved":false,"context_lines":[{"line_number":213,"context_line":"# stop_searchlight - Stop running processes"},{"line_number":214,"context_line":"function stop_searchlight {"},{"line_number":215,"context_line":"    # Kill the searchlight screen windows"},{"line_number":216,"context_line":"    stop_process searchlight-index"},{"line_number":217,"context_line":"    stop_process searchlight-api"},{"line_number":218,"context_line":"}"},{"line_number":219,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":1,"id":"fa32b979_3a01c338","line":216,"updated":"2015-06-23 19:49:44.000000000","message":"Again question around searchlight-index","commit_id":"38a4cf6de436c68b186f6ff2a5fbd73414cab0e4"}],"contrib/devstack/run_tempest_tests.sh":[{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"e65d5e105b566ec2bb2b990fe68029e58cc986b5","unresolved":false,"context_lines":[{"line_number":15,"context_line":"# How many seconds to wait for the API to be responding before giving up"},{"line_number":16,"context_line":"API_RESPONDING_TIMEOUT\u003d20"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"if ! timeout ${API_RESPONDING_TIMEOUT} sh -c \"while ! curl -s http://127.0.0.1:9001/ 2\u003e/dev/null | grep -q \u0027v1\u0027 ; do sleep 1; done\"; then"},{"line_number":19,"context_line":"    echo \"The Searchlight API failed to respond within ${API_RESPONDING_TIMEOUT} seconds\""},{"line_number":20,"context_line":"    exit 1"},{"line_number":21,"context_line":"fi"}],"source_content_type":"text/x-sh","patch_set":1,"id":"fa32b979_fac27b52","line":18,"updated":"2015-06-23 19:49:44.000000000","message":"Currently the default port is 9393, not 9001","commit_id":"38a4cf6de436c68b186f6ff2a5fbd73414cab0e4"}],"contrib/vagrant/Vagrantfile":[{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"fe64d64cf03f09df9a72ed1d80a74fd1c927c0f3","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"fa32b979_03fff301","updated":"2015-06-22 18:57:31.000000000","message":"Are these vagrant files necessary for devstack?","commit_id":"38a4cf6de436c68b186f6ff2a5fbd73414cab0e4"}],"devstack/README.rst":[{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"bf05a637e183b4c4a9b8c85eb9718a8c1b25b8f1","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"     \u003e cat local.conf"},{"line_number":10,"context_line":"     [[local|localrc]]"},{"line_number":11,"context_line":"     enable_plugin searchlight https://github.com/openstack/searchlight"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"3. Run ``stack.sh``"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ba3cc151_660c9f3b","line":11,"updated":"2015-07-01 14:31:46.000000000","message":"Probably a stupid question, but should we be using GitHub for the repository or should we be using git.openstack.org? Maybe this is a better question for Sean","commit_id":"cd3433a801972eca21bb14ac3bbf481d1ea14abf"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"9beedcb5e0f010ff2405a762b42797a90bf1eb02","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"     \u003e cat local.conf"},{"line_number":10,"context_line":"     [[local|localrc]]"},{"line_number":11,"context_line":"     enable_plugin searchlight https://github.com/openstack/searchlight"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"3. Run ``stack.sh``"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ba3cc151_01d5641a","line":11,"in_reply_to":"ba3cc151_660c9f3b","updated":"2015-07-01 23:58:53.000000000","message":"I thought they likes us going directly through github?","commit_id":"cd3433a801972eca21bb14ac3bbf481d1ea14abf"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"9beedcb5e0f010ff2405a762b42797a90bf1eb02","unresolved":false,"context_lines":[{"line_number":10,"context_line":"     [[local|localrc]]"},{"line_number":11,"context_line":"     enable_plugin searchlight https://github.com/openstack/searchlight"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"3. Run ``stack.sh``"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ba3cc151_419dac64","line":13,"updated":"2015-07-01 23:58:53.000000000","message":"might want to add this note, but can be done later as we\u0027ll probably do more doc work later.\n\n.. note::\n   This installs a headless JRE. If you are working on a desktop based OS        (such as Ubuntu\n   14.04), this may cause tools like pycharms to no longer launch.  You can\n   switch between JREs and back: to a headed JRE version using:\n   \"sudo update-alternatives --config java\".","commit_id":"cd3433a801972eca21bb14ac3bbf481d1ea14abf"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"62e45e9787d95ef8e749d851af72d3306513372c","unresolved":false,"context_lines":[{"line_number":9,"context_line":"     \u003e cat local.conf"},{"line_number":10,"context_line":"     [[local|localrc]]"},{"line_number":11,"context_line":"     enable_plugin searchlight https://github.com/openstack/searchlight"},{"line_number":12,"context_line":"     enable_service searchlight-ap"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"3. Run ``stack.sh``"},{"line_number":15,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"ba3cc151_dc4d05c5","line":12,"updated":"2015-07-02 16:10:28.000000000","message":"should be enable_service searchlight-api\n?","commit_id":"54130b67b8a90aac8e2b1d4ec9984970b578a5d4"}],"devstack/plugin":[{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"5f21c8d454581ca3eab32a07f0010bdec9184497","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# lib/searchlight"},{"line_number":2,"context_line":"# Install and start **Searchlight** service"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"# To enable Searchlight services, add the following to localrc"},{"line_number":5,"context_line":"# enable_service searchlight,searchlight-index,searchlight-api"},{"line_number":6,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":4,"id":"ba3cc151_1d8e2079","line":3,"updated":"2015-07-02 04:54:49.000000000","message":"This needs to be in a file plugin.sh as per the documentation.  When I tried it without the .sh it didn\u0027t source the file or try to do any searchlight actions.  When I moved this to plugin.sh, it was sourced and I saw activity.\n\nSee: http://docs.openstack.org/developer/devstack/plugins.html","commit_id":"cd3433a801972eca21bb14ac3bbf481d1ea14abf"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"5f21c8d454581ca3eab32a07f0010bdec9184497","unresolved":false,"context_lines":[{"line_number":2,"context_line":"# Install and start **Searchlight** service"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"# To enable Searchlight services, add the following to localrc"},{"line_number":5,"context_line":"# enable_service searchlight,searchlight-index,searchlight-api"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"# stack.sh"},{"line_number":8,"context_line":"# ---------"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"ba3cc151_fd66dc4f","line":5,"updated":"2015-07-02 04:54:49.000000000","message":"This was pretty buried, I missed it the first time.  We need to at least get this into the readme.rst in this patch and maybe fix up documentation more later.\n\nsearchlight-index also is not actually checked anywhere.  It is just called in init every time.  So, either need to check for it to be enabled or remove it from the above comment. I\u0027d vote to just remove it from the above comment.","commit_id":"cd3433a801972eca21bb14ac3bbf481d1ea14abf"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"5f21c8d454581ca3eab32a07f0010bdec9184497","unresolved":false,"context_lines":[{"line_number":135,"context_line":"    local service_tenant\u003d$(openstack project list | awk \"/ $SERVICE_TENANT_NAME / { print \\$2 }\")"},{"line_number":136,"context_line":"    local admin_role\u003d$(openstack role list | awk \"/ admin / { print \\$2 }\")"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"    if [[ \"$ENABLED_SERVICES\" \u003d~ \"searchlight-api\" ]]; then"},{"line_number":139,"context_line":"        local searchlight_user\u003d$(get_or_create_user \"searchlight\" \\"},{"line_number":140,"context_line":"            \"$SERVICE_PASSWORD\" $service_tenant)"},{"line_number":141,"context_line":"        get_or_add_user_project_role $admin_role $searchlight_user $service_tenant"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"ba3cc151_7d25ec06","line":138,"updated":"2015-07-02 04:54:49.000000000","message":"This through me off and took a few minutes to troubleshoot..  I didn\u0027t realize that I still had to enable searchlight-api. I missed it in the top of the file.  We need to document this at least in the readme.","commit_id":"cd3433a801972eca21bb14ac3bbf481d1ea14abf"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"9beedcb5e0f010ff2405a762b42797a90bf1eb02","unresolved":false,"context_lines":[{"line_number":180,"context_line":"    # Start proxies if enabled"},{"line_number":181,"context_line":"    if is_service_enabled searchlight-api \u0026\u0026 is_service_enabled tls-proxy; then"},{"line_number":182,"context_line":"        start_tls_proxy \u0027*\u0027 $SEARCHLIGHT_SERVICE_PORT $SEARCHLIGHT_SERVICE_HOST $SEARCHLIGHT_SERVICE_PORT_INT \u0026"},{"line_number":183,"context_line":"    fi"},{"line_number":184,"context_line":"}"},{"line_number":185,"context_line":""},{"line_number":186,"context_line":"# stop_searchlight - Stop running processes"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"ba3cc151_216508b4","line":183,"updated":"2015-07-01 23:58:53.000000000","message":"Will need to later add the monitoring service or this won\u0027t be too useful.","commit_id":"cd3433a801972eca21bb14ac3bbf481d1ea14abf"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"5f21c8d454581ca3eab32a07f0010bdec9184497","unresolved":false,"context_lines":[{"line_number":190,"context_line":"}"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"# check for service enabled"},{"line_number":193,"context_line":"if is_service_enabled searchlight; then"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"    if [[ \"$1\" \u003d\u003d \"source\" ]]; then"},{"line_number":196,"context_line":"        # Initial source of lib script"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"ba3cc151_3d720412","line":193,"updated":"2015-07-02 04:54:49.000000000","message":"even if i didn\u0027t have enabled searchlight, this seemed to run","commit_id":"cd3433a801972eca21bb14ac3bbf481d1ea14abf"}],"devstack/plugin.sh":[{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"7446081c254f94b031aea9593329de87acbb3f05","unresolved":false,"context_lines":[{"line_number":2,"context_line":""},{"line_number":3,"context_line":"# To enable Searchlight services, add the following to localrc"},{"line_number":4,"context_line":"# enable_plugin searchlight http://git.openstack.org/openstack/searchlight"},{"line_number":5,"context_line":"# enable_service searchlight,searchlight-api"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"# stack.sh"},{"line_number":8,"context_line":"# ---------"}],"source_content_type":"text/x-sh","patch_set":7,"id":"ba3cc151_dad17b24","line":5,"updated":"2015-07-02 16:58:05.000000000","message":"Should this be enable_service searchlight-api?\n\nIOW, no need for searchlight?  I just did searchlight-api and everything seemed to work.  Also, that is all that is listed in readme.rst.","commit_id":"54130b67b8a90aac8e2b1d4ec9984970b578a5d4"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"62e45e9787d95ef8e749d851af72d3306513372c","unresolved":false,"context_lines":[{"line_number":99,"context_line":"\tiniset $SEARCHLIGHT_CONF service_credentials os_username searchlight"},{"line_number":100,"context_line":"\tiniset $SEARCHLIGHT_CONF service_credentials os_tenant_name $SERVICE_TENANT_NAME"},{"line_number":101,"context_line":"\tiniset $SEARCHLIGHT_CONF service_credentials os_password $SERVICE_PASSWORD"},{"line_number":102,"context_line":"\tiniset $SEARCHLIGHT_CONF service_credentials os_auth_url $KEYSTONE_AUTH_URI/v2.0"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"    # Oslo Concurrency"},{"line_number":105,"context_line":"    iniset $SEARCHLIGHT_CONF oslo_concurrency lock_path \"$SEARCHLIGHT_STATE_PATH\""}],"source_content_type":"text/x-sh","patch_set":7,"id":"ba3cc151_fc7b29bc","line":102,"updated":"2015-07-02 16:10:28.000000000","message":"nit: space instead of tab","commit_id":"54130b67b8a90aac8e2b1d4ec9984970b578a5d4"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"62e45e9787d95ef8e749d851af72d3306513372c","unresolved":false,"context_lines":[{"line_number":130,"context_line":"# service              searchlight  admin        # if enabled"},{"line_number":131,"context_line":"function create_searchlight_accounts {"},{"line_number":132,"context_line":"    if [[ \"$ENABLED_SERVICES\" \u003d~ \"searchlight-api\" ]]; then"},{"line_number":133,"context_line":"\tcreate_service_user \"searchlight\""},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"        if [[ \"$KEYSTONE_CATALOG_BACKEND\" \u003d \u0027sql\u0027 ]]; then"},{"line_number":136,"context_line":"            local searchlight_service\u003d$(get_or_create_service \"searchlight\" \\"}],"source_content_type":"text/x-sh","patch_set":7,"id":"ba3cc151_bc504133","line":133,"updated":"2015-07-02 16:10:28.000000000","message":"nit: space instead of tab","commit_id":"54130b67b8a90aac8e2b1d4ec9984970b578a5d4"}],"devstack/settings":[{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"62e45e9787d95ef8e749d851af72d3306513372c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Devstack settings"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"# we have to add searchlight to enabled services for screen_it to work"},{"line_number":4,"context_line":"enable_service searchlight"}],"source_content_type":"application/octet-stream","patch_set":7,"id":"ba3cc151_d7dabe16","line":4,"updated":"2015-07-02 16:10:28.000000000","message":"Is it possible to set these kind of things here? I have it documented in the glance plugin, so I guess we could just tell people in the readme to look at the plugins docs for any other configs needed.  That could be done in future patch.  This makes it so that glance actually sends notifications.\n\n[[post-config|$GLANCE_API_CONF]]\n\n[DEFAULT]\n\ndefault_store\u003dfile\n\nnotification_driver \u003d messaging\n\nrpc_backend \u003d \u0027rabbit\u0027","commit_id":"54130b67b8a90aac8e2b1d4ec9984970b578a5d4"}]}
