)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7007,"name":"Pranav Salunke","email":"dguitarbite@gmail.com","username":"dguitarbite"},"change_message_id":"402ada5088bc60728c43825be2767279f1236d6b","unresolved":false,"context_lines":[{"line_number":7,"context_line":"labs: Adds telemetry service to osbash"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Following actions are performed by this patch:"},{"line_number":10,"context_line":"1) Adds the ceilometer packages to thr pre-download"},{"line_number":11,"context_line":"script."},{"line_number":12,"context_line":"2) Adds telemetry services on controller node."},{"line_number":13,"context_line":"3) Configures glance, cinder to send notification"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5aa745d1_5eee568c","line":10,"updated":"2015-04-16 14:37:41.000000000","message":"Typo, \u0027thr/their\u0027","commit_id":"38d68c70d0df9bebc60116c277ac03304f31de50"},{"author":{"_account_id":9178,"name":"Sayali Lunkad","email":"sayali.lunkad@suse.com","username":"sayalilunkad"},"change_message_id":"08caa9c16040ad69ecc9981378a88d5b7950b5d4","unresolved":false,"context_lines":[{"line_number":7,"context_line":"labs: Adds telemetry service to osbash"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Following actions are performed by this patch:"},{"line_number":10,"context_line":"1) Adds the ceilometer packages to thr pre-download"},{"line_number":11,"context_line":"script."},{"line_number":12,"context_line":"2) Adds telemetry services on controller node."},{"line_number":13,"context_line":"3) Configures glance, cinder to send notification"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"dac4157f_534e5cc2","line":10,"in_reply_to":"5aa745d1_5eee568c","updated":"2015-04-19 12:39:42.000000000","message":"Done","commit_id":"38d68c70d0df9bebc60116c277ac03304f31de50"}],"labs/config/scripts.ubuntu_cluster":[{"author":{"_account_id":7007,"name":"Pranav Salunke","email":"dguitarbite@gmail.com","username":"dguitarbite"},"change_message_id":"402ada5088bc60728c43825be2767279f1236d6b","unresolved":false,"context_lines":[{"line_number":33,"context_line":"cmd snapshot_cycle -n controller openstack_networks_configured"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"cmd queue setup_lbaas_controller.sh"},{"line_number":36,"context_line":"cmd snapshot_cycle -n controller lbaas-controller_installed"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"cmd queue ubuntu/setup_telemetry_controller.sh"},{"line_number":39,"context_line":"cmd snapshot_cycle -n controller telemetry-controller_installed"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"5aa745d1_9e93befa","line":36,"updated":"2015-04-16 14:37:41.000000000","message":"Please update the lbaas related parts in another patch. I have given the same comment for your heat patch.","commit_id":"38d68c70d0df9bebc60116c277ac03304f31de50"},{"author":{"_account_id":9178,"name":"Sayali Lunkad","email":"sayali.lunkad@suse.com","username":"sayalilunkad"},"change_message_id":"08caa9c16040ad69ecc9981378a88d5b7950b5d4","unresolved":false,"context_lines":[{"line_number":33,"context_line":"cmd snapshot_cycle -n controller openstack_networks_configured"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"cmd queue setup_lbaas_controller.sh"},{"line_number":36,"context_line":"cmd snapshot_cycle -n controller lbaas-controller_installed"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"cmd queue ubuntu/setup_telemetry_controller.sh"},{"line_number":39,"context_line":"cmd snapshot_cycle -n controller telemetry-controller_installed"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"dac4157f_13c7c413","line":36,"in_reply_to":"5aa745d1_9e93befa","updated":"2015-04-19 12:39:42.000000000","message":"Done","commit_id":"38d68c70d0df9bebc60116c277ac03304f31de50"},{"author":{"_account_id":7007,"name":"Pranav Salunke","email":"dguitarbite@gmail.com","username":"dguitarbite"},"change_message_id":"402ada5088bc60728c43825be2767279f1236d6b","unresolved":false,"context_lines":[{"line_number":76,"context_line":"cmd snapshot_cycle -n network neutron_configured"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"cmd queue ubuntu/setup_lbaas_network.sh"},{"line_number":79,"context_line":"cmd snapshot_cycle -n network lbaas-network_installed"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"cmd queue ubuntu/setup_telemetry_network.sh"},{"line_number":82,"context_line":"cmd snapshot_cycle -n network telemetry-network_installed"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"5aa745d1_deb0268e","line":79,"updated":"2015-04-16 14:37:41.000000000","message":"Same as above.","commit_id":"38d68c70d0df9bebc60116c277ac03304f31de50"},{"author":{"_account_id":9178,"name":"Sayali Lunkad","email":"sayali.lunkad@suse.com","username":"sayalilunkad"},"change_message_id":"08caa9c16040ad69ecc9981378a88d5b7950b5d4","unresolved":false,"context_lines":[{"line_number":76,"context_line":"cmd snapshot_cycle -n network neutron_configured"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"cmd queue ubuntu/setup_lbaas_network.sh"},{"line_number":79,"context_line":"cmd snapshot_cycle -n network lbaas-network_installed"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"cmd queue ubuntu/setup_telemetry_network.sh"},{"line_number":82,"context_line":"cmd snapshot_cycle -n network telemetry-network_installed"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"dac4157f_f3cb301d","line":79,"in_reply_to":"5aa745d1_deb0268e","updated":"2015-04-19 12:39:42.000000000","message":"Done","commit_id":"38d68c70d0df9bebc60116c277ac03304f31de50"}],"labs/scripts/ubuntu/setup_telemetry_compute.sh":[{"author":{"_account_id":11109,"name":"Roger Luethi","email":"rl@patchworkscience.org","username":"rluethi"},"change_message_id":"c3780819554e674b088952a559e817f830b32069","unresolved":false,"context_lines":[{"line_number":23,"context_line":"echo \"Configuring ceilometer.conf.\""},{"line_number":24,"context_line":"conf\u003d/etc/ceilometer/ceilometer.conf"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"iniset_sudo $conf publisher metering_secret \"METERING_SECRET\""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"# Configure RabbitMQ variables"}],"source_content_type":"text/x-sh","patch_set":1,"id":"5aa745d1_794fde92","line":26,"updated":"2015-04-16 18:26:01.000000000","message":"Can we get METERING_SECRET in the credentials file, like RABIT_PASSWORD?","commit_id":"38d68c70d0df9bebc60116c277ac03304f31de50"},{"author":{"_account_id":9178,"name":"Sayali Lunkad","email":"sayali.lunkad@suse.com","username":"sayalilunkad"},"change_message_id":"08caa9c16040ad69ecc9981378a88d5b7950b5d4","unresolved":false,"context_lines":[{"line_number":23,"context_line":"echo \"Configuring ceilometer.conf.\""},{"line_number":24,"context_line":"conf\u003d/etc/ceilometer/ceilometer.conf"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"iniset_sudo $conf publisher metering_secret \"METERING_SECRET\""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"# Configure RabbitMQ variables"}],"source_content_type":"text/x-sh","patch_set":1,"id":"dac4157f_b3d5b8ba","line":26,"in_reply_to":"5aa745d1_794fde92","updated":"2015-04-19 12:39:42.000000000","message":"Done","commit_id":"38d68c70d0df9bebc60116c277ac03304f31de50"},{"author":{"_account_id":11109,"name":"Roger Luethi","email":"rl@patchworkscience.org","username":"rluethi"},"change_message_id":"c3780819554e674b088952a559e817f830b32069","unresolved":false,"context_lines":[{"line_number":57,"context_line":"echo \"Restarting telemetry service.\""},{"line_number":58,"context_line":"sudo service ceilometer-agent-compute restart"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"echo \"Restart compute service.\""},{"line_number":61,"context_line":"sudo service nova-compute restart"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"#------------------------------------------------------------------------------"}],"source_content_type":"text/x-sh","patch_set":1,"id":"5aa745d1_94ff1101","line":60,"updated":"2015-04-16 18:26:01.000000000","message":"s/Restart/Restarting/","commit_id":"38d68c70d0df9bebc60116c277ac03304f31de50"},{"author":{"_account_id":9178,"name":"Sayali Lunkad","email":"sayali.lunkad@suse.com","username":"sayalilunkad"},"change_message_id":"08caa9c16040ad69ecc9981378a88d5b7950b5d4","unresolved":false,"context_lines":[{"line_number":57,"context_line":"echo \"Restarting telemetry service.\""},{"line_number":58,"context_line":"sudo service ceilometer-agent-compute restart"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"echo \"Restart compute service.\""},{"line_number":61,"context_line":"sudo service nova-compute restart"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"#------------------------------------------------------------------------------"}],"source_content_type":"text/x-sh","patch_set":1,"id":"dac4157f_93dbd4ed","line":60,"in_reply_to":"5aa745d1_94ff1101","updated":"2015-04-19 12:39:42.000000000","message":"Done","commit_id":"38d68c70d0df9bebc60116c277ac03304f31de50"},{"author":{"_account_id":11109,"name":"Roger Luethi","email":"rl@patchworkscience.org","username":"rluethi"},"change_message_id":"c3780819554e674b088952a559e817f830b32069","unresolved":false,"context_lines":[{"line_number":73,"context_line":"iniset_sudo $conf DEFAULT control_exchange cinder"},{"line_number":74,"context_line":"iniset_sudo $conf DEFAULT notification_driver messagingv2"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"echo \"Restart cinder-volumes service.\""},{"line_number":77,"context_line":"sudo service cinder-volume restart"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"#------------------------------------------------------------------------------"}],"source_content_type":"text/x-sh","patch_set":1,"id":"5aa745d1_340efd34","line":76,"updated":"2015-04-16 18:26:01.000000000","message":"s/Restart/Restarting/","commit_id":"38d68c70d0df9bebc60116c277ac03304f31de50"},{"author":{"_account_id":9178,"name":"Sayali Lunkad","email":"sayali.lunkad@suse.com","username":"sayalilunkad"},"change_message_id":"08caa9c16040ad69ecc9981378a88d5b7950b5d4","unresolved":false,"context_lines":[{"line_number":73,"context_line":"iniset_sudo $conf DEFAULT control_exchange cinder"},{"line_number":74,"context_line":"iniset_sudo $conf DEFAULT notification_driver messagingv2"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"echo \"Restart cinder-volumes service.\""},{"line_number":77,"context_line":"sudo service cinder-volume restart"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"#------------------------------------------------------------------------------"}],"source_content_type":"text/x-sh","patch_set":1,"id":"dac4157f_73d840f0","line":76,"in_reply_to":"5aa745d1_340efd34","updated":"2015-04-19 12:39:42.000000000","message":"Done","commit_id":"38d68c70d0df9bebc60116c277ac03304f31de50"},{"author":{"_account_id":11109,"name":"Roger Luethi","email":"rl@patchworkscience.org","username":"rluethi"},"change_message_id":"c3780819554e674b088952a559e817f830b32069","unresolved":false,"context_lines":[{"line_number":94,"context_line":"node_ssh controller-mgmt \"$AUTH; ceilometer meter-list\""},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"echo \"Download an image from the Image Service.\""},{"line_number":97,"context_line":"node_ssh controller-mgmt \"$AUTH; glance image-download \u0027cirros-0.3.3-x86_64\u0027 \u003e /tmp/cirros.img\""},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"echo \"List available meters again to validate detection of the image download.\""},{"line_number":100,"context_line":"node_ssh controller-mgmt \"$AUTH; ceilometer meter-list\""}],"source_content_type":"text/x-sh","patch_set":1,"id":"5aa745d1_14c5418d","line":97,"updated":"2015-04-16 18:26:01.000000000","message":"Don\u0027t hardcode version numbers into the scripts, otherwise they will mysteriously fail when we update the CirrOS version.\n\nYour own setup_heat_network.sh shows how it can be done:\nimg_name\u003d$(basename \"$CIRROS_URL\" -disk.img)","commit_id":"38d68c70d0df9bebc60116c277ac03304f31de50"},{"author":{"_account_id":9178,"name":"Sayali Lunkad","email":"sayali.lunkad@suse.com","username":"sayalilunkad"},"change_message_id":"08caa9c16040ad69ecc9981378a88d5b7950b5d4","unresolved":false,"context_lines":[{"line_number":94,"context_line":"node_ssh controller-mgmt \"$AUTH; ceilometer meter-list\""},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"echo \"Download an image from the Image Service.\""},{"line_number":97,"context_line":"node_ssh controller-mgmt \"$AUTH; glance image-download \u0027cirros-0.3.3-x86_64\u0027 \u003e /tmp/cirros.img\""},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"echo \"List available meters again to validate detection of the image download.\""},{"line_number":100,"context_line":"node_ssh controller-mgmt \"$AUTH; ceilometer meter-list\""}],"source_content_type":"text/x-sh","patch_set":1,"id":"dac4157f_53e53ca6","line":97,"in_reply_to":"5aa745d1_14c5418d","updated":"2015-04-19 12:39:42.000000000","message":"Done","commit_id":"38d68c70d0df9bebc60116c277ac03304f31de50"},{"author":{"_account_id":11109,"name":"Roger Luethi","email":"rl@patchworkscience.org","username":"rluethi"},"change_message_id":"e6a020ff8dedddb08ed05be1e98defaa272f7490","unresolved":false,"context_lines":[{"line_number":95,"context_line":""},{"line_number":96,"context_line":"echo \"Download an image from the Image Service.\""},{"line_number":97,"context_line":"img_name\u003d$(basename \"$CIRROS_URL\" -disk.img)"},{"line_number":98,"context_line":"node_ssh controller-mgmt \"$AUTH; glance image-download \"$img_name\" \u003e /tmp/cirros.img\""},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"echo \"List available meters again to validate detection of the image download.\""},{"line_number":101,"context_line":"node_ssh controller-mgmt \"$AUTH; ceilometer meter-list\""}],"source_content_type":"text/x-sh","patch_set":8,"id":"dac4157f_6e929359","line":98,"updated":"2015-04-19 14:11:06.000000000","message":"Escape the quotations marks in the string (i.e image-download \\\"$img_name\\\" \u003e /tmp/cirros.img\").","commit_id":"d39f9bd6fa28ebfc75f9b3ac99a845fb58425b48"},{"author":{"_account_id":9178,"name":"Sayali Lunkad","email":"sayali.lunkad@suse.com","username":"sayalilunkad"},"change_message_id":"19ece478de8da4d0f809deadfd14fd46ed8f0239","unresolved":false,"context_lines":[{"line_number":95,"context_line":""},{"line_number":96,"context_line":"echo \"Download an image from the Image Service.\""},{"line_number":97,"context_line":"img_name\u003d$(basename \"$CIRROS_URL\" -disk.img)"},{"line_number":98,"context_line":"node_ssh controller-mgmt \"$AUTH; glance image-download \"$img_name\" \u003e /tmp/cirros.img\""},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"echo \"List available meters again to validate detection of the image download.\""},{"line_number":101,"context_line":"node_ssh controller-mgmt \"$AUTH; ceilometer meter-list\""}],"source_content_type":"text/x-sh","patch_set":8,"id":"dac4157f_65907196","line":98,"in_reply_to":"dac4157f_6e929359","updated":"2015-04-19 17:51:56.000000000","message":"Done","commit_id":"d39f9bd6fa28ebfc75f9b3ac99a845fb58425b48"},{"author":{"_account_id":7007,"name":"Pranav Salunke","email":"dguitarbite@gmail.com","username":"dguitarbite"},"change_message_id":"2f38f44aed50d8028e0ab1efe01796cc7787638f","unresolved":false,"context_lines":[{"line_number":76,"context_line":"echo \"Restarting cinder-volumes service.\""},{"line_number":77,"context_line":"sudo service cinder-volume restart"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"#------------------------------------------------------------------------------"},{"line_number":80,"context_line":"# Verify the Telemetry installation"},{"line_number":81,"context_line":"# http://docs.openstack.org/juno/install-guide/install/apt/content/ceilometer-verify.html"},{"line_number":82,"context_line":"#------------------------------------------------------------------------------"}],"source_content_type":"text/x-sh","patch_set":11,"id":"dac4157f_7bbfdbd0","line":79,"updated":"2015-04-20 15:01:23.000000000","message":"Can we move this section to the controller script? This can be carried out on the setup_telementry_controller.sh. Please reconsider this part.","commit_id":"458f57f3b55f53be66faf2572d4d262e976c3689"}],"labs/scripts/ubuntu/setup_telemetry_controller.sh":[{"author":{"_account_id":11109,"name":"Roger Luethi","email":"rl@patchworkscience.org","username":"rluethi"},"change_message_id":"c3780819554e674b088952a559e817f830b32069","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"echo \"Setting up database for telemetry.\""},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"echo \"Install the MongoDB packages.\""},{"line_number":19,"context_line":"sudo apt-get install -y mongodb-server mongodb-clients python-pymongo"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"echo \"Configuring mongodb.conf.\""}],"source_content_type":"text/x-sh","patch_set":1,"id":"5aa745d1_b4520ddc","line":18,"updated":"2015-04-16 18:26:01.000000000","message":"s/Install/Installing/","commit_id":"38d68c70d0df9bebc60116c277ac03304f31de50"},{"author":{"_account_id":9178,"name":"Sayali Lunkad","email":"sayali.lunkad@suse.com","username":"sayalilunkad"},"change_message_id":"08caa9c16040ad69ecc9981378a88d5b7950b5d4","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"echo \"Setting up database for telemetry.\""},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"echo \"Install the MongoDB packages.\""},{"line_number":19,"context_line":"sudo apt-get install -y mongodb-server mongodb-clients python-pymongo"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"echo \"Configuring mongodb.conf.\""}],"source_content_type":"text/x-sh","patch_set":1,"id":"dac4157f_33e2c8a0","line":18,"in_reply_to":"5aa745d1_b4520ddc","updated":"2015-04-19 12:39:42.000000000","message":"Done","commit_id":"38d68c70d0df9bebc60116c277ac03304f31de50"},{"author":{"_account_id":11109,"name":"Roger Luethi","email":"rl@patchworkscience.org","username":"rluethi"},"change_message_id":"c3780819554e674b088952a559e817f830b32069","unresolved":false,"context_lines":[{"line_number":27,"context_line":"sudo service mongodb restart"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"echo \"Waiting for mongodb to start.\""},{"line_number":30,"context_line":"sleep 10"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"ceilometer_admin_user\u003d$(service_to_user_name ceilometer)"},{"line_number":33,"context_line":"ceilometer_admin_password\u003d$(service_to_user_password ceilometer)"}],"source_content_type":"text/x-sh","patch_set":1,"id":"5aa745d1_b469ed8d","line":30,"updated":"2015-04-16 18:26:01.000000000","message":"Isn\u0027t there a way to check that mongodb is up and replying? sleep 10 should be a last resort in desperate situations, and I doubt this is one of them.","commit_id":"38d68c70d0df9bebc60116c277ac03304f31de50"},{"author":{"_account_id":11109,"name":"Roger Luethi","email":"rl@patchworkscience.org","username":"rluethi"},"change_message_id":"c3780819554e674b088952a559e817f830b32069","unresolved":false,"context_lines":[{"line_number":32,"context_line":"ceilometer_admin_user\u003d$(service_to_user_name ceilometer)"},{"line_number":33,"context_line":"ceilometer_admin_password\u003d$(service_to_user_password ceilometer)"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"echo \"Create the ceilometer database.\""},{"line_number":36,"context_line":"sudo mongo --host controller-mgmt --eval \u0027"},{"line_number":37,"context_line":"    db \u003d db.getSiblingDB(\"ceilometer\");"},{"line_number":38,"context_line":"    db.addUser({user: \"$ceilometer_admin_user\","}],"source_content_type":"text/x-sh","patch_set":1,"id":"5aa745d1_9405d1c3","line":35,"updated":"2015-04-16 18:26:01.000000000","message":"s/Create/Creating/","commit_id":"38d68c70d0df9bebc60116c277ac03304f31de50"},{"author":{"_account_id":9178,"name":"Sayali Lunkad","email":"sayali.lunkad@suse.com","username":"sayalilunkad"},"change_message_id":"08caa9c16040ad69ecc9981378a88d5b7950b5d4","unresolved":false,"context_lines":[{"line_number":32,"context_line":"ceilometer_admin_user\u003d$(service_to_user_name ceilometer)"},{"line_number":33,"context_line":"ceilometer_admin_password\u003d$(service_to_user_password ceilometer)"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"echo \"Create the ceilometer database.\""},{"line_number":36,"context_line":"sudo mongo --host controller-mgmt --eval \u0027"},{"line_number":37,"context_line":"    db \u003d db.getSiblingDB(\"ceilometer\");"},{"line_number":38,"context_line":"    db.addUser({user: \"$ceilometer_admin_user\","}],"source_content_type":"text/x-sh","patch_set":1,"id":"dac4157f_d3e70cab","line":35,"in_reply_to":"5aa745d1_9405d1c3","updated":"2015-04-19 12:39:42.000000000","message":"Done","commit_id":"38d68c70d0df9bebc60116c277ac03304f31de50"},{"author":{"_account_id":11109,"name":"Roger Luethi","email":"rl@patchworkscience.org","username":"rluethi"},"change_message_id":"c3780819554e674b088952a559e817f830b32069","unresolved":false,"context_lines":[{"line_number":159,"context_line":""},{"line_number":160,"context_line":"iniset_sudo $conf DEFAULT control_exchange cinder"},{"line_number":161,"context_line":"iniset_sudo $conf DEFAULT notification_driver messagingv2"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"sudo service cinder-api restart"},{"line_number":164,"context_line":"sudo service cinder-scheduler restart"}],"source_content_type":"text/x-sh","patch_set":1,"id":"5aa745d1_948f1123","line":162,"updated":"2015-04-16 18:26:01.000000000","message":"It probably wouldn\u0027t hurt doing something like:\necho \"Restarting cinder services.\"\nDito for glance above.\nIt\u0027s not just so the log files look pretty. The goal is that if things to wrong, you have a better idea of _where_ things went wrong.","commit_id":"38d68c70d0df9bebc60116c277ac03304f31de50"},{"author":{"_account_id":9178,"name":"Sayali Lunkad","email":"sayali.lunkad@suse.com","username":"sayalilunkad"},"change_message_id":"08caa9c16040ad69ecc9981378a88d5b7950b5d4","unresolved":false,"context_lines":[{"line_number":159,"context_line":""},{"line_number":160,"context_line":"iniset_sudo $conf DEFAULT control_exchange cinder"},{"line_number":161,"context_line":"iniset_sudo $conf DEFAULT notification_driver messagingv2"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"sudo service cinder-api restart"},{"line_number":164,"context_line":"sudo service cinder-scheduler restart"}],"source_content_type":"text/x-sh","patch_set":1,"id":"dac4157f_73ff2035","line":162,"in_reply_to":"5aa745d1_948f1123","updated":"2015-04-19 12:39:42.000000000","message":"Done","commit_id":"38d68c70d0df9bebc60116c277ac03304f31de50"},{"author":{"_account_id":11109,"name":"Roger Luethi","email":"rl@patchworkscience.org","username":"rluethi"},"change_message_id":"e6a020ff8dedddb08ed05be1e98defaa272f7490","unresolved":false,"context_lines":[{"line_number":29,"context_line":"sudo service mongodb restart"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"echo \"Waiting for mongodb to start.\""},{"line_number":32,"context_line":"until \"sudo service mongodb status\" 2\u003e/dev/null | grep \"running\"; do"},{"line_number":33,"context_line":"    sleep 1"},{"line_number":34,"context_line":"done"},{"line_number":35,"context_line":""}],"source_content_type":"text/x-sh","patch_set":8,"id":"dac4157f_ceaabf85","line":32,"updated":"2015-04-19 14:11:06.000000000","message":"You are asking the shell to execute a command \"sudo service mongodb status\", but there is no such command. The command is sudo, there rest is arguments. Just drop the quotation marks.","commit_id":"d39f9bd6fa28ebfc75f9b3ac99a845fb58425b48"},{"author":{"_account_id":9178,"name":"Sayali Lunkad","email":"sayali.lunkad@suse.com","username":"sayalilunkad"},"change_message_id":"19ece478de8da4d0f809deadfd14fd46ed8f0239","unresolved":false,"context_lines":[{"line_number":29,"context_line":"sudo service mongodb restart"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"echo \"Waiting for mongodb to start.\""},{"line_number":32,"context_line":"until \"sudo service mongodb status\" 2\u003e/dev/null | grep \"running\"; do"},{"line_number":33,"context_line":"    sleep 1"},{"line_number":34,"context_line":"done"},{"line_number":35,"context_line":""}],"source_content_type":"text/x-sh","patch_set":8,"id":"dac4157f_65b9912e","line":32,"in_reply_to":"dac4157f_ceaabf85","updated":"2015-04-19 17:51:56.000000000","message":"Done","commit_id":"d39f9bd6fa28ebfc75f9b3ac99a845fb58425b48"},{"author":{"_account_id":11109,"name":"Roger Luethi","email":"rl@patchworkscience.org","username":"rluethi"},"change_message_id":"a5c7e60c68abd54717fc620847ec0e891aa182ff","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"echo \"Waiting for mongodb to start.\""},{"line_number":32,"context_line":"until sudo service mongodb status 2\u003e/dev/null | grep \"running\"; do"},{"line_number":33,"context_line":"    sleep 5"},{"line_number":34,"context_line":"done"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"ceilometer_admin_user\u003d$(service_to_user_name ceilometer)"}],"source_content_type":"text/x-sh","patch_set":9,"id":"dac4157f_050ad5d2","line":33,"updated":"2015-04-19 18:13:00.000000000","message":"When you do these wait loops, can you do something like:\n\necho -n \"Waiting for mongodb to start.\"\n\n[...]\n\n    sleep 5\n    echo -n .\ndone\n\nIf you print dots rather than just sleeping quietly, the log file tells you how long it took the service to come up, and a \"grep \u0027Waiting for mongodb to start.\u0027\" over a bunch of log files gives you a pretty good idea of the variation you had.","commit_id":"9865bba3c7bf6d5756d1841ea672ab97b7e46d96"},{"author":{"_account_id":7007,"name":"Pranav Salunke","email":"dguitarbite@gmail.com","username":"dguitarbite"},"change_message_id":"2f38f44aed50d8028e0ab1efe01796cc7787638f","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"echo \"Configuring mongodb.conf.\""},{"line_number":24,"context_line":"conf\u003d/etc/mongodb.conf"},{"line_number":25,"context_line":"iniset_sudo_no_section $conf bind_ip controller-mgmt"},{"line_number":26,"context_line":"iniset_sudo_no_section $conf smallfiles true"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"echo \"Restarting mongodb.\""}],"source_content_type":"text/x-sh","patch_set":11,"id":"dac4157f_3be28304","line":25,"updated":"2015-04-20 15:01:23.000000000","message":"Please change this to IP address of the server:\n\ns/controller-mgmt/ \"$(hostname_to_ip controller-mgmt)\"/\n\nthis can lead to failure/race condition while restarting the mongodb server.","commit_id":"458f57f3b55f53be66faf2572d4d262e976c3689"}]}
