)]}'
{"tools/sample_data.sh":[{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"9f207abcc849e4bde3ac2b592fba4679d297023a","unresolved":false,"context_lines":[{"line_number":72,"context_line":"    EC2RC\u003d\"ec2rc\""},{"line_number":73,"context_line":"fi"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"# Extract some info from Keystone\u0027s configuration file"},{"line_number":76,"context_line":"if [[ -r \"$KEYSTONE_CONF\" ]]; then"},{"line_number":77,"context_line":"    CONFIG_ADMIN_PORT\u003d$(sed \u0027s/[[:space:]]//g\u0027 $KEYSTONE_CONF | grep ^admin_port\u003d | cut -d\u0027\u003d\u0027 -f2)"},{"line_number":78,"context_line":"    if [[ -z \"${CONFIG_ADMIN_PORT}\" ]]; then"},{"line_number":79,"context_line":"        # default config options are commented out, so lets try those"},{"line_number":80,"context_line":"        CONFIG_ADMIN_PORT\u003d$(sed \u0027s/[[:space:]]//g\u0027 $KEYSTONE_CONF | grep ^\\#admin_port\u003d | cut -d\u0027\u003d\u0027 -f2)"},{"line_number":81,"context_line":"    fi"},{"line_number":82,"context_line":"fi"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"export OS_USERNAME\u003dadmin"},{"line_number":85,"context_line":"export OS_PASSWORD\u003d$ADMIN_PASSWORD"}],"source_content_type":"text/x-sh","patch_set":3,"id":"1af94dfe_be72ac7a","line":82,"range":{"start_line":75,"start_character":0,"end_line":82,"end_character":2},"updated":"2016-03-16 01:31:48.000000000","message":"we should nuke this in a follow on patch, since it\u0027ll be removed when we remove eventlet","commit_id":"3024e493ebd72d69af931623db4ffa2ab74a0ded"},{"author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"change_message_id":"875bd965e3078e52c923720eb471c4c20fe31c61","unresolved":false,"context_lines":[{"line_number":72,"context_line":"    EC2RC\u003d\"ec2rc\""},{"line_number":73,"context_line":"fi"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"# Extract some info from Keystone\u0027s configuration file"},{"line_number":76,"context_line":"if [[ -r \"$KEYSTONE_CONF\" ]]; then"},{"line_number":77,"context_line":"    CONFIG_ADMIN_PORT\u003d$(sed \u0027s/[[:space:]]//g\u0027 $KEYSTONE_CONF | grep ^admin_port\u003d | cut -d\u0027\u003d\u0027 -f2)"},{"line_number":78,"context_line":"    if [[ -z \"${CONFIG_ADMIN_PORT}\" ]]; then"},{"line_number":79,"context_line":"        # default config options are commented out, so lets try those"},{"line_number":80,"context_line":"        CONFIG_ADMIN_PORT\u003d$(sed \u0027s/[[:space:]]//g\u0027 $KEYSTONE_CONF | grep ^\\#admin_port\u003d | cut -d\u0027\u003d\u0027 -f2)"},{"line_number":81,"context_line":"    fi"},{"line_number":82,"context_line":"fi"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"export OS_USERNAME\u003dadmin"},{"line_number":85,"context_line":"export OS_PASSWORD\u003d$ADMIN_PASSWORD"}],"source_content_type":"text/x-sh","patch_set":3,"id":"1af94dfe_1c300801","line":82,"range":{"start_line":75,"start_character":0,"end_line":82,"end_character":2},"in_reply_to":"1af94dfe_be72ac7a","updated":"2016-03-16 02:00:11.000000000","message":"Ok","commit_id":"3024e493ebd72d69af931623db4ffa2ab74a0ded"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"9f207abcc849e4bde3ac2b592fba4679d297023a","unresolved":false,"context_lines":[{"line_number":96,"context_line":""},{"line_number":97,"context_line":"keystone-manage bootstrap --bootstrap-password $ADMIN_PASSWORD"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"export OS_TOKEN\u003d$(get_id openstack token issue)"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"#"},{"line_number":102,"context_line":"# Keystone service"}],"source_content_type":"text/x-sh","patch_set":3,"id":"1af94dfe_9c41b80e","line":99,"range":{"start_line":99,"start_character":0,"end_line":99,"end_character":46},"updated":"2016-03-16 01:31:48.000000000","message":"you should be able to unset this and OS_URL if you make the change i noted below","commit_id":"3024e493ebd72d69af931623db4ffa2ab74a0ded"},{"author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"change_message_id":"875bd965e3078e52c923720eb471c4c20fe31c61","unresolved":false,"context_lines":[{"line_number":96,"context_line":""},{"line_number":97,"context_line":"keystone-manage bootstrap --bootstrap-password $ADMIN_PASSWORD"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"export OS_TOKEN\u003d$(get_id openstack token issue)"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"#"},{"line_number":102,"context_line":"# Keystone service"}],"source_content_type":"text/x-sh","patch_set":3,"id":"1af94dfe_5c31f00a","line":99,"range":{"start_line":99,"start_character":0,"end_line":99,"end_character":46},"in_reply_to":"1af94dfe_9c41b80e","updated":"2016-03-16 02:00:11.000000000","message":"Done","commit_id":"3024e493ebd72d69af931623db4ffa2ab74a0ded"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"9f207abcc849e4bde3ac2b592fba4679d297023a","unresolved":false,"context_lines":[{"line_number":104,"context_line":"openstack service create --name keystone \\"},{"line_number":105,"context_line":"                         --description \"Keystone Identity Service\" \\"},{"line_number":106,"context_line":"                         identity"},{"line_number":107,"context_line":"if [[ -z \"$DISABLE_ENDPOINTS\" ]]; then"},{"line_number":108,"context_line":"    openstack endpoint create --region RegionOne \\"},{"line_number":109,"context_line":"        identity public \"http://$CONTROLLER_PUBLIC_ADDRESS:\\$(public_port)s/v3\""},{"line_number":110,"context_line":"    openstack endpoint create --region RegionOne \\"}],"source_content_type":"text/x-sh","patch_set":3,"id":"1af94dfe_1c5648d2","line":107,"range":{"start_line":107,"start_character":11,"end_line":107,"end_character":28},"updated":"2016-03-16 01:31:48.000000000","message":"i have no idea why DISABLE_ENDPOINTS would even be an option","commit_id":"3024e493ebd72d69af931623db4ffa2ab74a0ded"},{"author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"change_message_id":"875bd965e3078e52c923720eb471c4c20fe31c61","unresolved":false,"context_lines":[{"line_number":104,"context_line":"openstack service create --name keystone \\"},{"line_number":105,"context_line":"                         --description \"Keystone Identity Service\" \\"},{"line_number":106,"context_line":"                         identity"},{"line_number":107,"context_line":"if [[ -z \"$DISABLE_ENDPOINTS\" ]]; then"},{"line_number":108,"context_line":"    openstack endpoint create --region RegionOne \\"},{"line_number":109,"context_line":"        identity public \"http://$CONTROLLER_PUBLIC_ADDRESS:\\$(public_port)s/v3\""},{"line_number":110,"context_line":"    openstack endpoint create --region RegionOne \\"}],"source_content_type":"text/x-sh","patch_set":3,"id":"1af94dfe_fc555c1d","line":107,"range":{"start_line":107,"start_character":11,"end_line":107,"end_character":28},"in_reply_to":"1af94dfe_1c5648d2","updated":"2016-03-16 02:00:11.000000000","message":"According to the comments at the top:\n\n Disable creation of endpoints by setting DISABLE_ENDPOINTS environment variable. Use this with the Catalog Templated backend.\n\nLooking at http://docs.openstack.org/developer/keystone/configuringservices.html#defining-services it seems like that might still be valid?","commit_id":"3024e493ebd72d69af931623db4ffa2ab74a0ded"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"9f207abcc849e4bde3ac2b592fba4679d297023a","unresolved":false,"context_lines":[{"line_number":96,"context_line":""},{"line_number":97,"context_line":"keystone-manage bootstrap --bootstrap-password $ADMIN_PASSWORD"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"export OS_TOKEN\u003d$(get_id openstack token issue)"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"#"},{"line_number":102,"context_line":"# Keystone service"},{"line_number":103,"context_line":"#"},{"line_number":104,"context_line":"openstack service create --name keystone \\"},{"line_number":105,"context_line":"                         --description \"Keystone Identity Service\" \\"},{"line_number":106,"context_line":"                         identity"},{"line_number":107,"context_line":"if [[ -z \"$DISABLE_ENDPOINTS\" ]]; then"},{"line_number":108,"context_line":"    openstack endpoint create --region RegionOne \\"},{"line_number":109,"context_line":"        identity public \"http://$CONTROLLER_PUBLIC_ADDRESS:\\$(public_port)s/v3\""},{"line_number":110,"context_line":"    openstack endpoint create --region RegionOne \\"},{"line_number":111,"context_line":"        identity admin \"http://$CONTROLLER_ADMIN_ADDRESS:\\$(admin_port)s/v3\""},{"line_number":112,"context_line":"    openstack endpoint create --region RegionOne \\"},{"line_number":113,"context_line":"        identity internal \"http://$CONTROLLER_INTERNAL_ADDRESS:\\$(public_port)s/v3\""},{"line_number":114,"context_line":"fi"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"openstack role create service"}],"source_content_type":"text/x-sh","patch_set":3,"id":"1af94dfe_9cca58a0","line":114,"range":{"start_line":99,"start_character":0,"end_line":114,"end_character":2},"updated":"2016-03-16 01:31:48.000000000","message":"let\u0027s incorporate this into the bootstrap command:\n\n$ keystone-manage bootstrap --bootstrap-password s3cr3t\n    --bootstrap-region-id RegionOne \\\n    --bootstrap-admin-url http://$CONTROLLER_PUBLIC_ADDRESS:\\$(public_port)s/v3 \\\n    --bootstrap-public-url http://$CONTROLLER_ADMIN_ADDRESS:\\$(admin_port)s/v3 \\\n    --bootstrap-internal-url http://$CONTROLLER_INTERNAL_ADDRESS:$(public_port)s/v3","commit_id":"3024e493ebd72d69af931623db4ffa2ab74a0ded"},{"author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"change_message_id":"875bd965e3078e52c923720eb471c4c20fe31c61","unresolved":false,"context_lines":[{"line_number":96,"context_line":""},{"line_number":97,"context_line":"keystone-manage bootstrap --bootstrap-password $ADMIN_PASSWORD"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"export OS_TOKEN\u003d$(get_id openstack token issue)"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"#"},{"line_number":102,"context_line":"# Keystone service"},{"line_number":103,"context_line":"#"},{"line_number":104,"context_line":"openstack service create --name keystone \\"},{"line_number":105,"context_line":"                         --description \"Keystone Identity Service\" \\"},{"line_number":106,"context_line":"                         identity"},{"line_number":107,"context_line":"if [[ -z \"$DISABLE_ENDPOINTS\" ]]; then"},{"line_number":108,"context_line":"    openstack endpoint create --region RegionOne \\"},{"line_number":109,"context_line":"        identity public \"http://$CONTROLLER_PUBLIC_ADDRESS:\\$(public_port)s/v3\""},{"line_number":110,"context_line":"    openstack endpoint create --region RegionOne \\"},{"line_number":111,"context_line":"        identity admin \"http://$CONTROLLER_ADMIN_ADDRESS:\\$(admin_port)s/v3\""},{"line_number":112,"context_line":"    openstack endpoint create --region RegionOne \\"},{"line_number":113,"context_line":"        identity internal \"http://$CONTROLLER_INTERNAL_ADDRESS:\\$(public_port)s/v3\""},{"line_number":114,"context_line":"fi"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"openstack role create service"}],"source_content_type":"text/x-sh","patch_set":3,"id":"1af94dfe_9c3b78eb","line":114,"range":{"start_line":99,"start_character":0,"end_line":114,"end_character":2},"in_reply_to":"1af94dfe_9cca58a0","updated":"2016-03-16 02:00:11.000000000","message":"Done","commit_id":"3024e493ebd72d69af931623db4ffa2ab74a0ded"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"27d2693e906dd5f64699d389a426415efb5c99a8","unresolved":false,"context_lines":[{"line_number":89,"context_line":"export OS_IDENTITY_API_VERSION\u003d3"},{"line_number":90,"context_line":"export OS_AUTH_URL\u003d${OS_URL:-http://$CONTROLLER_PUBLIC_ADDRESS:${CONFIG_ADMIN_PORT:-35357}/v3}"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"function get_id () {"},{"line_number":93,"context_line":"    echo `\"$@\" | grep \u0027 id \u0027 | awk \u0027{print $4}\u0027`"},{"line_number":94,"context_line":"}"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"keystone-manage bootstrap --bootstrap-password $ADMIN_PASSWORD \\"},{"line_number":97,"context_line":"    --bootstrap-region-id RegionOne \\"}],"source_content_type":"text/x-sh","patch_set":4,"id":"1af94dfe_fc2c3cad","line":94,"range":{"start_line":92,"start_character":0,"end_line":94,"end_character":1},"updated":"2016-03-16 02:01:19.000000000","message":"another potential follow up would be to remove this, as it is only used once and can be replaced with `openstack user show admin -f value -c id` @ line 242","commit_id":"71a08fd89c2b3289f62979d4c31f6f993eea0437"},{"author":{"_account_id":2903,"name":"Morgan Fainberg","email":"morgan.fainberg@gmail.com","username":"mdrnstm"},"change_message_id":"be6e7d0a48081ccdbae9da4302a7333f0c2f69f3","unresolved":false,"context_lines":[{"line_number":93,"context_line":"    echo `\"$@\" | grep \u0027 id \u0027 | awk \u0027{print $4}\u0027`"},{"line_number":94,"context_line":"}"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"keystone-manage bootstrap --bootstrap-password $ADMIN_PASSWORD \\"},{"line_number":97,"context_line":"    --bootstrap-region-id RegionOne \\"},{"line_number":98,"context_line":"    --bootstrap-admin-url \"http://$CONTROLLER_PUBLIC_ADDRESS:\\$(public_port)s/v3\" \\"},{"line_number":99,"context_line":"    --bootstrap-public-url \"http://$CONTROLLER_ADMIN_ADDRESS:\\$(admin_port)s/v3\" \\"}],"source_content_type":"text/x-sh","patch_set":5,"id":"1af94dfe_eb71efa9","line":96,"updated":"2016-03-16 15:50:00.000000000","message":"It might be good to use the ENV var for bootstrap here since it is the better form. but i\u0027m good with this as is.","commit_id":"f3238d47820047b2e2a78f26045352de195bc704"},{"author":{"_account_id":2903,"name":"Morgan Fainberg","email":"morgan.fainberg@gmail.com","username":"mdrnstm"},"change_message_id":"ca80afc0a33e69f288874ed587ab596b3f81d233","unresolved":false,"context_lines":[{"line_number":98,"context_line":"export OS_BOOTSTRAP_ADMIN_URL\u003d\"http://$CONTROLLER_PUBLIC_ADDRESS:\\$(public_port)s/v3\""},{"line_number":99,"context_line":"export OS_BOOTSTRAP_PUBLIC_URL\u003d\"http://$CONTROLLER_ADMIN_ADDRESS:\\$(admin_port)s/v3\""},{"line_number":100,"context_line":"export OS_BOOTSTRAP_INTERNAL_URL\u003d\"http://$CONTROLLER_INTERNAL_ADDRESS:\\$(public_port)s/v3\""},{"line_number":101,"context_line":"keystone-manage bootstrap"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"#"},{"line_number":104,"context_line":"# Default tenant"}],"source_content_type":"text/x-sh","patch_set":6,"id":"1af94dfe_c4ef701c","line":101,"updated":"2016-03-17 22:49:37.000000000","message":"yay!","commit_id":"f7983d4bdf4da1c21da4a37229ea8fca28072cc6"}]}
