)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7350,"name":"Jordan Pittier","email":"jordan.pittier@gmail.com","username":"JordanP"},"change_message_id":"81129f412009cb3d11e559d315298a307d93e46f","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Conflict adding cinder type (lvmdriver-1)"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"In a multinode environment, when running stack.sh on the second node,"},{"line_number":10,"context_line":"an error is reported cinder is trying to create a volume type that"},{"line_number":11,"context_line":"already exists."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"1a430d35_a4b84176","line":9,"updated":"2017-02-08 19:13:37.000000000","message":"According to the doc here [1], c-vol should be enabled \"on the 2nd node\" which triggers the vol type creation.\n\n[1] http://docs.openstack.org/developer/devstack/guides/multinode-lab.html#configure-compute-nodes","commit_id":"5fa1191c05690e1268fb6e97c80d71fd39c3cad6"}],"lib/cinder":[{"author":{"_account_id":7350,"name":"Jordan Pittier","email":"jordan.pittier@gmail.com","username":"JordanP"},"change_message_id":"a070e4d64495bb88f09b483c5e7e6ec28e6b7165","unresolved":false,"context_lines":[{"line_number":581,"context_line":"        local be be_name"},{"line_number":582,"context_line":"        for be in ${CINDER_ENABLED_BACKENDS//,/ }; do"},{"line_number":583,"context_line":"            be_name\u003d${be##*:}"},{"line_number":584,"context_line":"            created\u003d0"},{"line_number":585,"context_line":"            while read i; do"},{"line_number":586,"context_line":"                if [ \"$i\" \u003d \"$be_name\" ]; then"},{"line_number":587,"context_line":"                    created\u003d1"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"3a461143_723e658d","line":584,"updated":"2017-01-28 15:43:34.000000000","message":"Why don\u0027t you show check the exit code of \"openstack volume type show $be_name\" ? You know already the name of the volume type you are looking for, so just try a \"show\" command.","commit_id":"e752af343246b7f93575971ed5b621dd8e60372e"},{"author":{"_account_id":23122,"name":"Amy Fong","email":"amy.fong@windriver.com","username":"afong"},"change_message_id":"e379283538a6bc97b5c37694dff89c0ae4dc53d6","unresolved":false,"context_lines":[{"line_number":581,"context_line":"        local be be_name"},{"line_number":582,"context_line":"        for be in ${CINDER_ENABLED_BACKENDS//,/ }; do"},{"line_number":583,"context_line":"            be_name\u003d${be##*:}"},{"line_number":584,"context_line":"            created\u003d0"},{"line_number":585,"context_line":"            while read i; do"},{"line_number":586,"context_line":"                if [ \"$i\" \u003d \"$be_name\" ]; then"},{"line_number":587,"context_line":"                    created\u003d1"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"3a461143_61880772","line":584,"in_reply_to":"3a461143_67a83edc","updated":"2017-01-31 16:09:55.000000000","message":"Done/fixed.","commit_id":"e752af343246b7f93575971ed5b621dd8e60372e"},{"author":{"_account_id":23122,"name":"Amy Fong","email":"amy.fong@windriver.com","username":"afong"},"change_message_id":"a3b2551095c06f2fae277d3d28fe19d725e2bfb2","unresolved":false,"context_lines":[{"line_number":581,"context_line":"        local be be_name"},{"line_number":582,"context_line":"        for be in ${CINDER_ENABLED_BACKENDS//,/ }; do"},{"line_number":583,"context_line":"            be_name\u003d${be##*:}"},{"line_number":584,"context_line":"            created\u003d0"},{"line_number":585,"context_line":"            while read i; do"},{"line_number":586,"context_line":"                if [ \"$i\" \u003d \"$be_name\" ]; then"},{"line_number":587,"context_line":"                    created\u003d1"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"3a461143_e096e33c","line":584,"in_reply_to":"3a461143_723e658d","updated":"2017-01-30 14:52:29.000000000","message":"Done","commit_id":"e752af343246b7f93575971ed5b621dd8e60372e"},{"author":{"_account_id":23122,"name":"Amy Fong","email":"amy.fong@windriver.com","username":"afong"},"change_message_id":"c0a7103c4b05026b577b85e1ea651499d875efba","unresolved":false,"context_lines":[{"line_number":581,"context_line":"        local be be_name"},{"line_number":582,"context_line":"        for be in ${CINDER_ENABLED_BACKENDS//,/ }; do"},{"line_number":583,"context_line":"            be_name\u003d${be##*:}"},{"line_number":584,"context_line":"            created\u003d0"},{"line_number":585,"context_line":"            while read i; do"},{"line_number":586,"context_line":"                if [ \"$i\" \u003d \"$be_name\" ]; then"},{"line_number":587,"context_line":"                    created\u003d1"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"3a461143_67a83edc","line":584,"in_reply_to":"3a461143_e096e33c","updated":"2017-01-30 19:32:31.000000000","message":"or not.... seems to be generating an exit_trap...","commit_id":"e752af343246b7f93575971ed5b621dd8e60372e"},{"author":{"_account_id":7350,"name":"Jordan Pittier","email":"jordan.pittier@gmail.com","username":"JordanP"},"change_message_id":"af5163238f636a99bf0b95ffc56cf684ce9a68c6","unresolved":false,"context_lines":[{"line_number":577,"context_line":"        for be in ${CINDER_ENABLED_BACKENDS//,/ }; do"},{"line_number":578,"context_line":"            be_name\u003d${be##*:}"},{"line_number":579,"context_line":""},{"line_number":580,"context_line":"            openstack volume type show $be_name | \\"},{"line_number":581,"context_line":"              openstack --os-region-name\u003d\"$REGION_NAME\" volume type create \\"},{"line_number":582,"context_line":"               --property volume_backend_name\u003d\"${be_name}\" ${be_name}"},{"line_number":583,"context_line":"        done"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"3a461143_7c1fcc5a","line":580,"updated":"2017-01-31 16:31:15.000000000","message":"Did you actually test/run this ? :) I have some doubt that is going to work.","commit_id":"6977b662f4f4234967fc386483a0e63556e164a9"},{"author":{"_account_id":7350,"name":"Jordan Pittier","email":"jordan.pittier@gmail.com","username":"JordanP"},"change_message_id":"82295293f64f15aad6c233de1d65829fcb794d19","unresolved":false,"context_lines":[{"line_number":577,"context_line":"        for be in ${CINDER_ENABLED_BACKENDS//,/ }; do"},{"line_number":578,"context_line":"            be_name\u003d${be##*:}"},{"line_number":579,"context_line":""},{"line_number":580,"context_line":"            openstack volume type show $be_name | \\"},{"line_number":581,"context_line":"              openstack --os-region-name\u003d\"$REGION_NAME\" volume type create \\"},{"line_number":582,"context_line":"               --property volume_backend_name\u003d\"${be_name}\" ${be_name}"},{"line_number":583,"context_line":"        done"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"3a461143_b74ead38","line":580,"in_reply_to":"3a461143_5c3db08d","updated":"2017-01-31 16:56:31.000000000","message":"What I meant is that you used \u0027|\u0027 instead of \u0027||\u0027.","commit_id":"6977b662f4f4234967fc386483a0e63556e164a9"},{"author":{"_account_id":23122,"name":"Amy Fong","email":"amy.fong@windriver.com","username":"afong"},"change_message_id":"6eee1b5132a568574459751ad8bb09edb4f942bb","unresolved":false,"context_lines":[{"line_number":577,"context_line":"        for be in ${CINDER_ENABLED_BACKENDS//,/ }; do"},{"line_number":578,"context_line":"            be_name\u003d${be##*:}"},{"line_number":579,"context_line":""},{"line_number":580,"context_line":"            openstack volume type show $be_name | \\"},{"line_number":581,"context_line":"              openstack --os-region-name\u003d\"$REGION_NAME\" volume type create \\"},{"line_number":582,"context_line":"               --property volume_backend_name\u003d\"${be_name}\" ${be_name}"},{"line_number":583,"context_line":"        done"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"3a461143_5c3db08d","line":580,"in_reply_to":"3a461143_7c1fcc5a","updated":"2017-01-31 16:37:40.000000000","message":"Yep. I was originally going to do the following but the following\u0027s nicer and more fimilar to the code in functions-common. :)\n\n        for be in ${CINDER_ENABLED_BACKENDS//,/ }; do\n            be_name\u003d${be##*:}\n            created\u003d0\n            while read field value; do\n                if [ \"$field\" \u003d \"name\" -a \"$value\" \u003d \"$be\" ]; then\n                    created\u003d1\n                fi\n            done \u003c \u003c(openstack volume type show $be | awk -F \u0027 \u0027 \u0027{print $2,\" \",$4;}\u0027)\n            if [ $created -eq 0 ]; then\n                openstack --os-region-name\u003d\"$REGION_NAME\" volume type create --property volume_backend_name\u003d\"${be_name}\" ${be_name}\n            fi","commit_id":"6977b662f4f4234967fc386483a0e63556e164a9"},{"author":{"_account_id":23122,"name":"Amy Fong","email":"amy.fong@windriver.com","username":"afong"},"change_message_id":"33119674b2af3e95e3bf57819dcc1dbb839f51ff","unresolved":false,"context_lines":[{"line_number":577,"context_line":"        for be in ${CINDER_ENABLED_BACKENDS//,/ }; do"},{"line_number":578,"context_line":"            be_name\u003d${be##*:}"},{"line_number":579,"context_line":""},{"line_number":580,"context_line":"            openstack volume type show $be_name | \\"},{"line_number":581,"context_line":"              openstack --os-region-name\u003d\"$REGION_NAME\" volume type create \\"},{"line_number":582,"context_line":"               --property volume_backend_name\u003d\"${be_name}\" ${be_name}"},{"line_number":583,"context_line":"        done"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"3a461143_7ee09d29","line":580,"in_reply_to":"3a461143_b74ead38","updated":"2017-01-31 18:29:04.000000000","message":"rofl OMG, that\u0027s horrible. Will fix...","commit_id":"6977b662f4f4234967fc386483a0e63556e164a9"}]}
