)]}'
{"elements/puppet-stack-config/puppet-stack-config.pp":[{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"35d22adba1d91af75f8719440afbdabf6d4a0cf5","unresolved":false,"context_lines":[{"line_number":181,"context_line":"  include ::ceilometer::dispatcher::gnocchi"},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"  openstacklib::service_validation { \u0027gnocchi\u0027:"},{"line_number":184,"context_line":"    command     \u003d\u003e \u0027openstack metric status\u0027,"},{"line_number":185,"context_line":"    timeout     \u003d\u003e \u002715\u0027,"},{"line_number":186,"context_line":"    refreshonly \u003d\u003e true,"},{"line_number":187,"context_line":"    subscribe   \u003d\u003e Anchor[\u0027gnocchi::service::end\u0027],"}],"source_content_type":"text/x-puppet","patch_set":4,"id":"1a1ced50_cc42a368","line":184,"updated":"2017-03-23 16:23:16.000000000","message":"Since you need to pass auth stuff, you\u0027ll want something like....\n\n$command \u003d join([\"openstack\", \n                 \"--os-auth-url\", hiera(\u0027keystone_auth_uri\u0027),\n                 \"--os-project-name service\",\n                 \"--os-username gnocchi\",\n                 \"--os-password\", hiera(\u0027admin_password\u0027),\n                 \"metric status\"], \" \")\n\nopenstack::service_validation { \u0027gnocchi-status\u0027:\n  command     \u003d\u003e $command,\n  timeout     \u003d\u003e \u002715\u0027,\n  refreshonly \u003d\u003e true,\n  subscribe   \u003d\u003e Anchor[\u0027gnocchi::service::end\u0027],\n}\n\nOpenstack::Service_validation[\u0027gnocchi-status\u0027] -\u003e Class[\u0027::ceilometer::db::sync\u0027]","commit_id":"e8ec45ee823a58285c534081d5a38c28cea97db7"},{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"56a55f96e879969f4cb8f9d680607ad4db660dd3","unresolved":false,"context_lines":[{"line_number":179,"context_line":"  include ::ceilometer::agent::auth"},{"line_number":180,"context_line":"  include ::ceilometer::dispatcher::gnocchi"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"  exec { \u0027ceilo-gnocchi-dbsync\u0027:"},{"line_number":183,"context_line":"    command \u003d\u003e \u0027ceilometer-upgrade --skip-metering-database\u0027,"},{"line_number":184,"context_line":"    path \u003d\u003e [\u0027/usr/bin\u0027, \u0027/usr/sbin\u0027],"},{"line_number":185,"context_line":"    require \u003d\u003e [Anchor[\u0027gnocchi::service::end\u0027], Anchor[\u0027keystone::service::end\u0027]]"}],"source_content_type":"text/x-puppet","patch_set":5,"id":"ffe62b97_2239ce40","line":182,"updated":"2017-03-23 20:06:18.000000000","message":"I would put a comment as to why you\u0027re rerunning this in exec form rather than relying on ceilometer::db::sync","commit_id":"f326dbdd39dfa8deb4cd2e088e36334ab38edf55"},{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"56a55f96e879969f4cb8f9d680607ad4db660dd3","unresolved":false,"context_lines":[{"line_number":185,"context_line":"    require \u003d\u003e [Anchor[\u0027gnocchi::service::end\u0027], Anchor[\u0027keystone::service::end\u0027]]"},{"line_number":186,"context_line":"  }"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"  $command \u003d join([\"curl\","},{"line_number":189,"context_line":"                   hiera(\u0027gnocchi_healthcheck_url\u0027)], \" \")"},{"line_number":190,"context_line":"  openstacklib::service_validation { \u0027gnocchi-status\u0027:"},{"line_number":191,"context_line":"    command     \u003d\u003e $command,"}],"source_content_type":"text/x-puppet","patch_set":5,"id":"ffe62b97_252678b9","line":188,"updated":"2017-03-23 20:06:18.000000000","message":"I think we might want -s to suppress the output of the curl command","commit_id":"f326dbdd39dfa8deb4cd2e088e36334ab38edf55"},{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"b6e7d15d64da2fad55ac9782241a98d1d3aeb582","unresolved":false,"context_lines":[{"line_number":190,"context_line":""},{"line_number":191,"context_line":"  # This ensures we can do service validation on gnocchi before"},{"line_number":192,"context_line":"  # running ceilometer-upgrade"},{"line_number":193,"context_line":"  $command \u003d join([\"curl -s\","},{"line_number":194,"context_line":"                   hiera(\u0027gnocchi_healthcheck_url\u0027)], \" \")"},{"line_number":195,"context_line":"  openstacklib::service_validation { \u0027gnocchi-status\u0027:"},{"line_number":196,"context_line":"    command     \u003d\u003e $command,"}],"source_content_type":"text/x-puppet","patch_set":6,"id":"ffe62b97_e5f53085","line":193,"range":{"start_line":193,"start_character":19,"end_line":193,"end_character":28},"updated":"2017-03-23 20:22:48.000000000","message":"use single quotes (or puppet-lint gets angry)","commit_id":"d6cb40e01af8779cd1cca18e9c521c07905ebee3"},{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"b6e7d15d64da2fad55ac9782241a98d1d3aeb582","unresolved":false,"context_lines":[{"line_number":191,"context_line":"  # This ensures we can do service validation on gnocchi before"},{"line_number":192,"context_line":"  # running ceilometer-upgrade"},{"line_number":193,"context_line":"  $command \u003d join([\"curl -s\","},{"line_number":194,"context_line":"                   hiera(\u0027gnocchi_healthcheck_url\u0027)], \" \")"},{"line_number":195,"context_line":"  openstacklib::service_validation { \u0027gnocchi-status\u0027:"},{"line_number":196,"context_line":"    command     \u003d\u003e $command,"},{"line_number":197,"context_line":"    timeout     \u003d\u003e \u002715\u0027,"}],"source_content_type":"text/x-puppet","patch_set":6,"id":"ffe62b97_852ae4e4","line":194,"range":{"start_line":194,"start_character":54,"end_line":194,"end_character":57},"updated":"2017-03-23 20:22:48.000000000","message":"same \u0027 \u0027","commit_id":"d6cb40e01af8779cd1cca18e9c521c07905ebee3"},{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"08f77464ad8babe400eb5a6ac36feabab4f002a4","unresolved":false,"context_lines":[{"line_number":202,"context_line":"  # We need to ensure keystone endpoint exists. In the dependency chain"},{"line_number":203,"context_line":"  # keystone is created after telemetry services, so we can be sure"},{"line_number":204,"context_line":"  # gnocchi endpoint is there as well."},{"line_number":205,"context_line":"  Keystone::Resource::Service_identity[\u0027keystone\u0027] -\u003e"},{"line_number":206,"context_line":"  Openstacklib::Service_validation[\u0027gnocchi-status\u0027] -\u003e Exec[\u0027ceilo-gnocchi-upgrade\u0027]"},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"  Cron \u003c| title \u003d\u003d \u0027ceilometer-expirer\u0027 |\u003e { command \u003d\u003e"}],"source_content_type":"text/x-puppet","patch_set":9,"id":"ffe62b97_58738116","line":205,"updated":"2017-03-24 14:53:40.000000000","message":"Since we probably also want to make sure the gnocchi and ceilometer users are creatd as well, we could just wait for all the users to be created by switching this to a  \"Keystone::Resource::Service_identity\u003c||\u003e -\u003e\" which would add a dependency on all of the service users.  This might be safer in case the ordering changes at a later date and this assumption no longer is valid","commit_id":"ef8f962a04b14892c20372535245a96d3647f996"},{"author":{"_account_id":6924,"name":"Pradeep Kilambi","email":"pkilambi@redhat.com","username":"pkilambi"},"change_message_id":"26551038bd22a1f0548f4a8d9ec9be1824da241a","unresolved":false,"context_lines":[{"line_number":202,"context_line":"  # We need to ensure keystone endpoint exists. In the dependency chain"},{"line_number":203,"context_line":"  # keystone is created after telemetry services, so we can be sure"},{"line_number":204,"context_line":"  # gnocchi endpoint is there as well."},{"line_number":205,"context_line":"  Keystone::Resource::Service_identity[\u0027keystone\u0027] -\u003e"},{"line_number":206,"context_line":"  Openstacklib::Service_validation[\u0027gnocchi-status\u0027] -\u003e Exec[\u0027ceilo-gnocchi-upgrade\u0027]"},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"  Cron \u003c| title \u003d\u003d \u0027ceilometer-expirer\u0027 |\u003e { command \u003d\u003e"}],"source_content_type":"text/x-puppet","patch_set":9,"id":"ffe62b97_1394ba36","line":205,"in_reply_to":"ffe62b97_58738116","updated":"2017-03-24 15:03:16.000000000","message":"Done","commit_id":"ef8f962a04b14892c20372535245a96d3647f996"}],"elements/puppet-stack-config/puppet-stack-config.yaml.template":[{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"b6e7d15d64da2fad55ac9782241a98d1d3aeb582","unresolved":false,"context_lines":[{"line_number":287,"context_line":"ceilometer::keystone::auth::admin_url: {{UNDERCLOUD_ENDPOINT_CEILOMETER_ADMIN}}"},{"line_number":288,"context_line":"ceilometer::keystone::auth::password: {{UNDERCLOUD_CEILOMETER_PASSWORD}}"},{"line_number":289,"context_line":"ceilometer::keystone::auth::region: \"%{hiera(\u0027keystone_region\u0027)}\""},{"line_number":290,"context_line":"ceilometer::db::sync::extra_params: \u0027--skip-metering-database\u0027"},{"line_number":291,"context_line":"# gnocchi dispatcher config"},{"line_number":292,"context_line":"ceilometer::collector::meter_dispatcher: \u0027gnocchi\u0027"},{"line_number":293,"context_line":"ceilometer::dispatcher::gnocchi::url: {{UNDERCLOUD_ENDPOINT_GNOCCHI_INTERNAL}}"}],"source_content_type":"application/octet-stream","patch_set":6,"id":"ffe62b97_45ff3c67","line":290,"updated":"2017-03-23 20:22:48.000000000","message":"I don\u0027t think we want this anymore as we need the normal run to skip the gnocchi stuff","commit_id":"d6cb40e01af8779cd1cca18e9c521c07905ebee3"}]}
