)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":18893,"name":"Miles Gould","email":"mgould@redhat.com","username":"pozorvlak"},"change_message_id":"95775130b268ff0e070683581b34ca7bc36c4d23","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     vsaienko \u003cvsaienko@mirantis.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2016-04-27 13:46:37 +0300"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Allow to sepecify VM disk format"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Disk format may be set by configuring IRONIC_VM_SPECS_DISK_FORMAT variable."},{"line_number":10,"context_line":"By default it is set to qcow2."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1a122d0e_00dac216","line":7,"updated":"2016-04-28 15:01:42.000000000","message":"Typo: \"specify\". Also, I\u0027d write \"Allow the user to specify...\", which is more grammatical.","commit_id":"2305c9505209cdad37045da51262e1c10172c125"}],"devstack/tools/ironic/scripts/create-node.sh":[{"author":{"_account_id":18893,"name":"Miles Gould","email":"mgould@redhat.com","username":"pozorvlak"},"change_message_id":"95775130b268ff0e070683581b34ca7bc36c4d23","unresolved":false,"context_lines":[{"line_number":51,"context_line":"fi"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"PREALLOC\u003d"},{"line_number":54,"context_line":"if [ -f /etc/debian_version \u0026\u0026 \"$DISK_FORMAT\" \u003d\u003d \"qcow2\" ]; then"},{"line_number":55,"context_line":"    PREALLOC\u003d\"--prealloc-metadata\""},{"line_number":56,"context_line":"fi"},{"line_number":57,"context_line":""}],"source_content_type":"text/x-sh","patch_set":1,"id":"1a122d0e_e0d4e6e9","line":54,"updated":"2016-04-28 15:01:42.000000000","message":"Having Googled and found the commit where the flag was introduced, I can see that the --prealloc-metadata flag only makes sense for qcow2. But why do we only use it on Debian? I think this should at least be documented in a comment.","commit_id":"2305c9505209cdad37045da51262e1c10172c125"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"d49152dc3a60d753979dfc4b170e417af3c09e0d","unresolved":false,"context_lines":[{"line_number":51,"context_line":"fi"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"PREALLOC\u003d"},{"line_number":54,"context_line":"if [ -f /etc/debian_version \u0026\u0026 \"$DISK_FORMAT\" \u003d\u003d \"qcow2\" ]; then"},{"line_number":55,"context_line":"    PREALLOC\u003d\"--prealloc-metadata\""},{"line_number":56,"context_line":"fi"},{"line_number":57,"context_line":""}],"source_content_type":"text/x-sh","patch_set":1,"id":"1a122d0e_6c1e0d60","line":54,"in_reply_to":"1a122d0e_e0d4e6e9","updated":"2016-04-28 16:19:57.000000000","message":"Thanks for confirming that the --prealloc-metadata parameter only makes sense to qcow2. About why we only use it in Debian I\u0027ve no idea, but in any case I would prefer to not touch/fix that as part of this patch because it sounds a bit outside the scope. I think we better address that in another patch specifically fixing this problem.","commit_id":"2305c9505209cdad37045da51262e1c10172c125"},{"author":{"_account_id":18893,"name":"Miles Gould","email":"mgould@redhat.com","username":"pozorvlak"},"change_message_id":"95775130b268ff0e070683581b34ca7bc36c4d23","unresolved":false,"context_lines":[{"line_number":60,"context_line":"else"},{"line_number":61,"context_line":"    VM_LOGGING\u003d\"\""},{"line_number":62,"context_line":"fi"},{"line_number":63,"context_line":"VOL_NAME\u003d\"${NAME}.${DISK_FORMAT}\""},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"if ! virsh list --all | grep -q $NAME; then"},{"line_number":66,"context_line":"    virsh vol-list --pool $LIBVIRT_STORAGE_POOL | grep -q $VOL_NAME \u0026\u0026"}],"source_content_type":"text/x-sh","patch_set":1,"id":"1a122d0e_40067a86","line":63,"updated":"2016-04-28 15:01:42.000000000","message":"What are the allowed values of $DISK_FORMAT? Are they all equal to the corresponding file extensions?","commit_id":"2305c9505209cdad37045da51262e1c10172c125"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"d49152dc3a60d753979dfc4b170e417af3c09e0d","unresolved":false,"context_lines":[{"line_number":60,"context_line":"else"},{"line_number":61,"context_line":"    VM_LOGGING\u003d\"\""},{"line_number":62,"context_line":"fi"},{"line_number":63,"context_line":"VOL_NAME\u003d\"${NAME}.${DISK_FORMAT}\""},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"if ! virsh list --all | grep -q $NAME; then"},{"line_number":66,"context_line":"    virsh vol-list --pool $LIBVIRT_STORAGE_POOL | grep -q $VOL_NAME \u0026\u0026"}],"source_content_type":"text/x-sh","patch_set":1,"id":"1a122d0e_f12dd6a8","line":63,"in_reply_to":"1a122d0e_40067a86","updated":"2016-04-28 16:19:57.000000000","message":"The formats are the ones allowed by libvirt [0]. About the file extension, I don\u0027t think it\u0027s required to have the format to be the extension, but it\u0027s a good practice.\n\n[0] https://libvirt.org/storage.html#StorageBackendDir","commit_id":"2305c9505209cdad37045da51262e1c10172c125"},{"author":{"_account_id":18893,"name":"Miles Gould","email":"mgould@redhat.com","username":"pozorvlak"},"change_message_id":"66420796bd713f0c18ee332b5a49626e1e61b33e","unresolved":false,"context_lines":[{"line_number":60,"context_line":"else"},{"line_number":61,"context_line":"    VM_LOGGING\u003d\"\""},{"line_number":62,"context_line":"fi"},{"line_number":63,"context_line":"VOL_NAME\u003d\"${NAME}.${DISK_FORMAT}\""},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"if ! virsh list --all | grep -q $NAME; then"},{"line_number":66,"context_line":"    virsh vol-list --pool $LIBVIRT_STORAGE_POOL | grep -q $VOL_NAME \u0026\u0026"}],"source_content_type":"text/x-sh","patch_set":1,"id":"1a122d0e_58a9eb23","line":63,"in_reply_to":"1a122d0e_f12dd6a8","updated":"2016-05-03 09:13:28.000000000","message":"OK: my point was really that if name !\u003d extension, this code will break, but I guess it\u0027s too late now.","commit_id":"2305c9505209cdad37045da51262e1c10172c125"}]}
