)]}'
{"manifests/profile/base/rabbitmq.pp":[{"author":{"_account_id":4328,"name":"Steven Hardy","email":"steven.hardy@suse.com","username":"shardy"},"change_message_id":"89acbafa307594fc0997e056b7c22305a6a150d6","unresolved":false,"context_lines":[{"line_number":94,"context_line":""},{"line_number":95,"context_line":"    $rabbitmq_pass \u003d hiera(\u0027rabbitmq::default_pass\u0027)"},{"line_number":96,"context_line":"    $rabbitmq_user \u003d hiera(\u0027rabbitmq::default_user\u0027)"},{"line_number":97,"context_line":"    $stack_action \u003d hiera(\u0027stack_action\u0027)"},{"line_number":98,"context_line":"    # In case of HA, starting of rabbitmq-server is managed by pacemaker, because of which, a dependency"},{"line_number":99,"context_line":"    # to Service[\u0027rabbitmq-server\u0027] will not work. Sticking with UPDATE action."},{"line_number":100,"context_line":"    if $stack_action \u003d\u003d \u0027UPDATE\u0027 {"}],"source_content_type":"text/x-puppet","patch_set":1,"id":"ffe62b97_931d8375","line":97,"range":{"start_line":97,"start_character":20,"end_line":97,"end_character":25},"updated":"2017-03-30 13:45:43.000000000","message":"I\u0027m not sure moving these was really needed?  The requirement with any backport is for it to be backwards compatible, e.g this must still work when the new parameters are not provided directly, which I think is the case provided we default the hiera keys correcty?","commit_id":"beaaad6a5d4f7f048e1d09f9ebdc2d190c460940"},{"author":{"_account_id":18575,"name":"Saravanan KR","email":"krsacme@gmail.com","username":"saravanankr"},"change_message_id":"e0e0437c0222b48f58632953a6e16add51505487","unresolved":false,"context_lines":[{"line_number":94,"context_line":""},{"line_number":95,"context_line":"    $rabbitmq_pass \u003d hiera(\u0027rabbitmq::default_pass\u0027)"},{"line_number":96,"context_line":"    $rabbitmq_user \u003d hiera(\u0027rabbitmq::default_user\u0027)"},{"line_number":97,"context_line":"    $stack_action \u003d hiera(\u0027stack_action\u0027)"},{"line_number":98,"context_line":"    # In case of HA, starting of rabbitmq-server is managed by pacemaker, because of which, a dependency"},{"line_number":99,"context_line":"    # to Service[\u0027rabbitmq-server\u0027] will not work. Sticking with UPDATE action."},{"line_number":100,"context_line":"    if $stack_action \u003d\u003d \u0027UPDATE\u0027 {"}],"source_content_type":"text/x-puppet","patch_set":1,"id":"dfeb2761_b803bf0d","line":97,"range":{"start_line":97,"start_character":20,"end_line":97,"end_character":25},"in_reply_to":"ffe62b97_6e58d4f9","updated":"2017-03-31 05:11:44.000000000","message":"As discussed with, all these hiera values are available in newton. But to be safer, I will add a patch to provide default values in master while fixing - https://bugs.launchpad.net/tripleo/+bug/1677634","commit_id":"beaaad6a5d4f7f048e1d09f9ebdc2d190c460940"},{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"1b19dd4d76b096a5ab3bbd2ac4d1b4d0e8d3d073","unresolved":false,"context_lines":[{"line_number":94,"context_line":""},{"line_number":95,"context_line":"    $rabbitmq_pass \u003d hiera(\u0027rabbitmq::default_pass\u0027)"},{"line_number":96,"context_line":"    $rabbitmq_user \u003d hiera(\u0027rabbitmq::default_user\u0027)"},{"line_number":97,"context_line":"    $stack_action \u003d hiera(\u0027stack_action\u0027)"},{"line_number":98,"context_line":"    # In case of HA, starting of rabbitmq-server is managed by pacemaker, because of which, a dependency"},{"line_number":99,"context_line":"    # to Service[\u0027rabbitmq-server\u0027] will not work. Sticking with UPDATE action."},{"line_number":100,"context_line":"    if $stack_action \u003d\u003d \u0027UPDATE\u0027 {"}],"source_content_type":"text/x-puppet","patch_set":1,"id":"ffe62b97_6e58d4f9","line":97,"range":{"start_line":97,"start_character":20,"end_line":97,"end_character":25},"in_reply_to":"ffe62b97_931d8375","updated":"2017-03-30 13:54:59.000000000","message":"You can backport the parameters because in THT we don\u0027t reference the parameters. It just makes it easier to test with. please backport this in full. Additionally you may want to provide a default for stack_action (hiera(\u0027stack_action\u0027, false)) so it doesn\u0027t fail if not defined in  hiera","commit_id":"beaaad6a5d4f7f048e1d09f9ebdc2d190c460940"},{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"1b19dd4d76b096a5ab3bbd2ac4d1b4d0e8d3d073","unresolved":false,"context_lines":[{"line_number":100,"context_line":"    if $stack_action \u003d\u003d \u0027UPDATE\u0027 {"},{"line_number":101,"context_line":"      # Required for changing password on update scenario. Password will be changed only when"},{"line_number":102,"context_line":"      # called explicity, if the rabbitmq service is already running."},{"line_number":103,"context_line":"      rabbitmq_user { $rabbitmq_user :"},{"line_number":104,"context_line":"        password \u003d\u003e $rabbitmq_pass,"},{"line_number":105,"context_line":"        provider \u003d\u003e \u0027rabbitmqctl\u0027,"},{"line_number":106,"context_line":"        admin    \u003d\u003e true,"}],"source_content_type":"text/x-puppet","patch_set":1,"id":"ffe62b97_8ed67827","line":103,"updated":"2017-03-30 13:54:59.000000000","message":"as mentioned in irc, isn\u0027t there an issue here where if rabbitmq isn\u0027t up this fails? we need to solve for that or delay this until rabbitmq comes up. in openstacklib we have openstacklib::service_validation that can be used to perform a command to validation if a service is available and you can use it to delay running this until the service is up. you might want to look into that","commit_id":"beaaad6a5d4f7f048e1d09f9ebdc2d190c460940"},{"author":{"_account_id":18575,"name":"Saravanan KR","email":"krsacme@gmail.com","username":"saravanankr"},"change_message_id":"e0e0437c0222b48f58632953a6e16add51505487","unresolved":false,"context_lines":[{"line_number":100,"context_line":"    if $stack_action \u003d\u003d \u0027UPDATE\u0027 {"},{"line_number":101,"context_line":"      # Required for changing password on update scenario. Password will be changed only when"},{"line_number":102,"context_line":"      # called explicity, if the rabbitmq service is already running."},{"line_number":103,"context_line":"      rabbitmq_user { $rabbitmq_user :"},{"line_number":104,"context_line":"        password \u003d\u003e $rabbitmq_pass,"},{"line_number":105,"context_line":"        provider \u003d\u003e \u0027rabbitmqctl\u0027,"},{"line_number":106,"context_line":"        admin    \u003d\u003e true,"}],"source_content_type":"text/x-puppet","patch_set":1,"id":"dfeb2761_18350bdb","line":103,"in_reply_to":"ffe62b97_8ed67827","updated":"2017-03-31 05:11:44.000000000","message":"As per review [1], this invocation has been moved to step2, which ensure that rabbitmq is up and running. If it is not running, then puppet will fail. I don\u0027t think it is needed, but anyways I have raised a bug [2] for addressing this enhanced check. \n\n[1] https://review.openstack.org/#/c/448803/\n[2] https://bugs.launchpad.net/tripleo/+bug/1677634","commit_id":"beaaad6a5d4f7f048e1d09f9ebdc2d190c460940"},{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"0e8f01a83722e0751f80de1d333894572299eb5f","unresolved":false,"context_lines":[{"line_number":105,"context_line":"        config_variables        \u003d\u003e $config_variables,"},{"line_number":106,"context_line":"        environment_variables   \u003d\u003e $rabbit_env,"},{"line_number":107,"context_line":"      }"},{"line_number":108,"context_line":"    }"},{"line_number":109,"context_line":"    # In case of HA, starting of rabbitmq-server is managed by pacemaker, because of which, a dependency"},{"line_number":110,"context_line":"    # to Service[\u0027rabbitmq-server\u0027] will not work. Sticking with UPDATE action."},{"line_number":111,"context_line":"    if $stack_action \u003d\u003d \u0027UPDATE\u0027 {"}],"source_content_type":"text/x-puppet","patch_set":4,"id":"dfeb2761_5156c02b","line":108,"updated":"2017-03-31 14:39:58.000000000","message":"Do we need to add the $step \u003e\u003d 2 here?","commit_id":"b5f07ccb1d1cacb122d8d7d78be1bf4661813504"},{"author":{"_account_id":18575,"name":"Saravanan KR","email":"krsacme@gmail.com","username":"saravanankr"},"change_message_id":"50c8390dfb310158855d9b0609be1bf5757007de","unresolved":false,"context_lines":[{"line_number":105,"context_line":"        config_variables        \u003d\u003e $config_variables,"},{"line_number":106,"context_line":"        environment_variables   \u003d\u003e $rabbit_env,"},{"line_number":107,"context_line":"      }"},{"line_number":108,"context_line":"    }"},{"line_number":109,"context_line":"    # In case of HA, starting of rabbitmq-server is managed by pacemaker, because of which, a dependency"},{"line_number":110,"context_line":"    # to Service[\u0027rabbitmq-server\u0027] will not work. Sticking with UPDATE action."},{"line_number":111,"context_line":"    if $stack_action \u003d\u003d \u0027UPDATE\u0027 {"}],"source_content_type":"text/x-puppet","patch_set":4,"id":"dfeb2761_3b79b22e","line":108,"in_reply_to":"dfeb2761_5156c02b","updated":"2017-04-03 06:11:29.000000000","message":"Yes, we need to. I will backport the patch https://review.openstack.org/#/c/448803/ for it.","commit_id":"b5f07ccb1d1cacb122d8d7d78be1bf4661813504"}]}
