)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"96d8e08ad8ad0b4edb866d9c363dabedb8b5bc93","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"RabbitMQ: VHost support"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Allow for other vhosts than the default \u0027/\u0027 to be created via heat"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: Ic9d53039196844f9ee6957b3800c00bd4096acd5"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"1ae5cdf2_47996678","line":9,"updated":"2014-06-17 11:22:34.000000000","message":"nit...\"other than the default\"","commit_id":"9d33bce19194aae0d57db92f176639723b2ad56b"}],"elements/rabbitmq-server/README.md":[{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"80d14752700b8b4072fdb6c50a6851cdc4bb3a85","unresolved":false,"context_lines":[{"line_number":21,"context_line":"        password_handle: {Ref: RabbitMQPasswordHandle}"},{"line_number":22,"context_line":"        vhosts:"},{"line_number":23,"context_line":"            - /"},{"line_number":24,"context_line":"            - /secondvhost"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Using cfn-signal, we will feed back a generated password into the handle"},{"line_number":27,"context_line":"for use by other resources."}],"source_content_type":"text/x-gfm","patch_set":3,"id":"9ad9bd40_0184cad2","line":24,"updated":"2014-05-01 00:18:31.000000000","message":"This needs a prose description as well. Please be sure to answer questions like - What happens to no longer needed vhosts? Are vhosts required or can the set be empty? Do users get permissions on all vhosts?","commit_id":"9d33bce19194aae0d57db92f176639723b2ad56b"},{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"3050a02bd869374a457908315f548660e3ddc927","unresolved":false,"context_lines":[{"line_number":47,"context_line":""},{"line_number":48,"context_line":"The vhosts section is optional. If it is left out, the default / vhost will be created by the rabbitmq installer."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"If secondary vhosts are created, users will have to be granted permissions on them explictly. (as shown in the above example)"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"This will not remove old unused vhosts, if they are left out of the meta data in the future."},{"line_number":53,"context_line":""}],"source_content_type":"text/x-gfm","patch_set":4,"id":"baada198_7e4e1798","line":50,"updated":"2014-07-08 19:16:05.000000000","message":"What are the default permissions (you say they must be specified I assume this means none?). Also, what are the default permissions for / if no permissions are specified?","commit_id":"890dbeab5d4366ec7461f446b178d2745fdde745"},{"author":{"_account_id":8099,"name":"Graham Hayes","email":"gr@ham.ie","username":"graham"},"change_message_id":"5ef1f14e1a8ccb16db949f08ee8a7b5e34a135b2","unresolved":false,"context_lines":[{"line_number":47,"context_line":""},{"line_number":48,"context_line":"The vhosts section is optional. If it is left out, the default / vhost will be created by the rabbitmq installer."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"If secondary vhosts are created, users will have to be granted permissions on them explictly. (as shown in the above example)"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"This will not remove old unused vhosts, if they are left out of the meta data in the future."},{"line_number":53,"context_line":""}],"source_content_type":"text/x-gfm","patch_set":4,"id":"baada198_89bb370e","line":50,"in_reply_to":"baada198_7e4e1798","updated":"2014-07-11 16:27:26.000000000","message":"Done","commit_id":"890dbeab5d4366ec7461f446b178d2745fdde745"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"570329654a1296c57e49ffcb1d7ac920e5bc988e","unresolved":false,"context_lines":[{"line_number":51,"context_line":"If secondary vhosts are created, users will have to be granted permissions on them explictly. (as shown in the above example)"},{"line_number":52,"context_line":"If no users are granted permissions, no users will have access to that vhost (including the default guest account)"},{"line_number":53,"context_line":"      "},{"line_number":54,"context_line":"This will not remove old unused vhosts, if they are left out of the meta data in the future."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"RabbitMQ Cluster"},{"line_number":57,"context_line":"----------------"}],"source_content_type":"text/x-gfm","patch_set":5,"id":"7ac7a964_ef45d617","line":54,"updated":"2014-08-15 13:12:46.000000000","message":"got some extra whitespace, and the lines should like be wrapped","commit_id":"0f36014df68eaf49dca97dbee7778d9e1184ee6a"}],"elements/rabbitmq-server/os-refresh-config/post-configure.d/50-rabbitmq-passwords":[{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"570329654a1296c57e49ffcb1d7ac920e5bc988e","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"7ac7a964_8f5f02e5","updated":"2014-08-15 13:12:46.000000000","message":"how is this change related? can you add some detail to the commit message","commit_id":"0f36014df68eaf49dca97dbee7778d9e1184ee6a"}],"elements/rabbitmq-server/os-refresh-config/post-configure.d/50-rabbitmq-vhosts":[{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"96d8e08ad8ad0b4edb866d9c363dabedb8b5bc93","unresolved":false,"context_lines":[{"line_number":29,"context_line":""},{"line_number":30,"context_line":"# VHOSTS_FILE can exist without any content, in which case it will just be an"},{"line_number":31,"context_line":"# empty line."},{"line_number":32,"context_line":"if not os.path.exists(VHOSTS_FILE) or os.path.getsize(VHOSTS_FILE) \u003c 2:"},{"line_number":33,"context_line":"    sys.exit(0)"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":3,"id":"1ae5cdf2_67a022a6","line":32,"updated":"2014-06-17 11:22:34.000000000","message":"can you log something here saying why the script is going to exit? could help people debug stuff later on down the road.","commit_id":"9d33bce19194aae0d57db92f176639723b2ad56b"},{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"3050a02bd869374a457908315f548660e3ddc927","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"VHOSTS_FILE \u003d \u0027/etc/rabbitmq/heat_vhosts.json\u0027"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"# VHOSTS_FILE can exist without any content, in which case it will just be an"},{"line_number":31,"context_line":"# empty line."},{"line_number":32,"context_line":"if not os.path.exists(VHOSTS_FILE) or os.path.getsize(VHOSTS_FILE) \u003c 2:"},{"line_number":33,"context_line":"    LOG.info(\"Cannot open the vhosts configuration file - ignoring vhosts\")"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"baada198_59732db4","line":30,"updated":"2014-07-08 19:16:05.000000000","message":"I dont see the os-config-applier template file in this version of the patch?","commit_id":"890dbeab5d4366ec7461f446b178d2745fdde745"},{"author":{"_account_id":8099,"name":"Graham Hayes","email":"gr@ham.ie","username":"graham"},"change_message_id":"5ef1f14e1a8ccb16db949f08ee8a7b5e34a135b2","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"VHOSTS_FILE \u003d \u0027/etc/rabbitmq/heat_vhosts.json\u0027"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"# VHOSTS_FILE can exist without any content, in which case it will just be an"},{"line_number":31,"context_line":"# empty line."},{"line_number":32,"context_line":"if not os.path.exists(VHOSTS_FILE) or os.path.getsize(VHOSTS_FILE) \u003c 2:"},{"line_number":33,"context_line":"    LOG.info(\"Cannot open the vhosts configuration file - ignoring vhosts\")"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"baada198_a9e1db2b","line":30,"in_reply_to":"baada198_59732db4","updated":"2014-07-11 16:27:26.000000000","message":"Done","commit_id":"890dbeab5d4366ec7461f446b178d2745fdde745"},{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"3050a02bd869374a457908315f548660e3ddc927","unresolved":false,"context_lines":[{"line_number":31,"context_line":"# empty line."},{"line_number":32,"context_line":"if not os.path.exists(VHOSTS_FILE) or os.path.getsize(VHOSTS_FILE) \u003c 2:"},{"line_number":33,"context_line":"    LOG.info(\"Cannot open the vhosts configuration file - ignoring vhosts\")"},{"line_number":34,"context_line":"    sys.exit(0)"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"def get_existing_vhosts():"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"baada198_3e02df0b","line":34,"updated":"2014-07-08 19:16:05.000000000","message":"AIUI this is effectively an error case? RMQ will be unusable by later services because no permissions are set on /? If so, how do you feel about exit(1)ing here.","commit_id":"890dbeab5d4366ec7461f446b178d2745fdde745"},{"author":{"_account_id":8099,"name":"Graham Hayes","email":"gr@ham.ie","username":"graham"},"change_message_id":"5ef1f14e1a8ccb16db949f08ee8a7b5e34a135b2","unresolved":false,"context_lines":[{"line_number":31,"context_line":"# empty line."},{"line_number":32,"context_line":"if not os.path.exists(VHOSTS_FILE) or os.path.getsize(VHOSTS_FILE) \u003c 2:"},{"line_number":33,"context_line":"    LOG.info(\"Cannot open the vhosts configuration file - ignoring vhosts\")"},{"line_number":34,"context_line":"    sys.exit(0)"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"def get_existing_vhosts():"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"baada198_29cdcbb7","line":34,"in_reply_to":"baada198_3e02df0b","updated":"2014-07-11 16:27:26.000000000","message":"they will still be able to use the default guest account (which is created by the installer)","commit_id":"890dbeab5d4366ec7461f446b178d2745fdde745"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"570329654a1296c57e49ffcb1d7ac920e5bc988e","unresolved":false,"context_lines":[{"line_number":30,"context_line":"# VHOSTS_FILE can exist without any content, in which case it will just be an"},{"line_number":31,"context_line":"# empty line."},{"line_number":32,"context_line":"if not os.path.exists(VHOSTS_FILE) or os.path.getsize(VHOSTS_FILE) \u003c 2:"},{"line_number":33,"context_line":"    LOG.info(\"Cannot open the vhosts configuration file - ignoring vhosts\")"},{"line_number":34,"context_line":"    sys.exit(0)"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":5,"id":"7ac7a964_6fff06ab","line":33,"updated":"2014-08-15 13:12:46.000000000","message":"log message is not accurate, depending on which part of the \"or\" failed. maybe split it into 2 checks, and then actually log what happened.\n\nsorry...been digging through neutron logs and source code all week and am probably over-sensitive to this sort of thing","commit_id":"0f36014df68eaf49dca97dbee7778d9e1184ee6a"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"570329654a1296c57e49ffcb1d7ac920e5bc988e","unresolved":false,"context_lines":[{"line_number":35,"context_line":""},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"def get_existing_vhosts():"},{"line_number":38,"context_line":"    list_vhosts \u003d subprocess.check_output([\u0027rabbitmqctl\u0027, \u0027list_vhosts\u0027],"},{"line_number":39,"context_line":"                                          stderr\u003dsubprocess.STDOUT)"},{"line_number":40,"context_line":"    vhosts \u003d {}"},{"line_number":41,"context_line":"    for line in list_vhosts.splitlines():"}],"source_content_type":"application/octet-stream","patch_set":5,"id":"7ac7a964_2f918e52","line":38,"updated":"2014-08-15 13:12:46.000000000","message":"this command isn\u0027t working on my seed. am i doing something wrong?\n\n [root@localhost ~]# rabbitmqctl list_vhosts\n Listing vhosts ...\n Error: unable to connect to node rabbit@localhost: nodedown\n\n DIAGNOSTICS\n \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\n nodes in question: [rabbit@localhost]\n\n hosts, their running nodes and ports:\n - localhost: [{rabbitmqctl702,45119}]\n\n current node details:\n - node name: rabbitmqctl702@localhost\n - home dir: /mnt/state/var/lib/rabbitmq\n - cookie hash: 4hgbUBSmcVnMIwyP4NbFtg\u003d\u003d","commit_id":"0f36014df68eaf49dca97dbee7778d9e1184ee6a"}],"elements/rabbitmq-server/os-refresh-config/post-configure.d/51-rabbitmq-permissions":[{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"3050a02bd869374a457908315f548660e3ddc927","unresolved":false,"context_lines":[{"line_number":28,"context_line":""},{"line_number":29,"context_line":"# USERS_FILE can exist without any content, in which case it will just be an"},{"line_number":30,"context_line":"# empty line."},{"line_number":31,"context_line":"if not os.path.exists(USERS_FILE) or os.path.getsize(USERS_FILE) \u003c 2:"},{"line_number":32,"context_line":"    sys.exit(0)"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"with open(USERS_FILE) as uf:"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"baada198_d93f3db4","line":31,"updated":"2014-07-08 19:16:05.000000000","message":"Ditto","commit_id":"890dbeab5d4366ec7461f446b178d2745fdde745"},{"author":{"_account_id":8099,"name":"Graham Hayes","email":"gr@ham.ie","username":"graham"},"change_message_id":"5ef1f14e1a8ccb16db949f08ee8a7b5e34a135b2","unresolved":false,"context_lines":[{"line_number":28,"context_line":""},{"line_number":29,"context_line":"# USERS_FILE can exist without any content, in which case it will just be an"},{"line_number":30,"context_line":"# empty line."},{"line_number":31,"context_line":"if not os.path.exists(USERS_FILE) or os.path.getsize(USERS_FILE) \u003c 2:"},{"line_number":32,"context_line":"    sys.exit(0)"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"with open(USERS_FILE) as uf:"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"baada198_69c26386","line":31,"in_reply_to":"baada198_d93f3db4","updated":"2014-07-11 16:27:26.000000000","message":"they will still be able to use the default guest account (which is created by the installer)","commit_id":"890dbeab5d4366ec7461f446b178d2745fdde745"}]}
