)]}'
{"diskimage-create/image-tests.sh":[{"author":{"_account_id":11685,"name":"Stephen Balukoff","email":"stephen@balukoff.com","username":"sbalukoff"},"change_message_id":"6bda1080b27c26d6265a5dd01703fab88e2f05d3","unresolved":false,"context_lines":[{"line_number":33,"context_line":"# Check the image size (rounded in GB)"},{"line_number":34,"context_line":"AMP_IMAGE_SIZE\u003d$(virt-filesystems --long --csv --blkdevs -a $AMP_IMAGE_LOCATION | \\"},{"line_number":35,"context_line":"    awk -F \u0027,\u0027 \u0027$1 \u003d\u003d \"/dev/sda\" { print int($3/1024^3 + 0.5)}\u0027)"},{"line_number":36,"context_line":"if [ $AMP_IMAGE_SIZE !\u003d 5 ]; then"},{"line_number":37,"context_line":"    echo \"ERROR: Amphora image did not pass the default size test\""},{"line_number":38,"context_line":"    echo \"On Ubuntu you may need to run \u0027sudo chmod 0644 /boot/vmlinuz*\u0027 for libguestfs\""},{"line_number":39,"context_line":"    exit 1"}],"source_content_type":"text/x-sh","patch_set":1,"id":"fad55976_e3863eb8","line":36,"range":{"start_line":36,"start_character":24,"end_line":36,"end_character":25},"updated":"2016-07-16 02:15:37.000000000","message":"On my tests, I\u0027m getting the amphora image size is 2GB, which is causing this updated code to fail at this line. Why are you expecting the amphora image size to be 5GB?","commit_id":"15fc5e285154fb86b70d38c7e3dacdb1dcf3e7eb"},{"author":{"_account_id":10273,"name":"Adam Harwell","email":"flux.adam@gmail.com","username":"rm_you"},"change_message_id":"6baa4b4ff1b02a24e31f88eb058011d4d820a926","unresolved":false,"context_lines":[{"line_number":33,"context_line":"# Check the image size (rounded in GB)"},{"line_number":34,"context_line":"AMP_IMAGE_SIZE\u003d$(virt-filesystems --long --csv --blkdevs -a $AMP_IMAGE_LOCATION | \\"},{"line_number":35,"context_line":"    awk -F \u0027,\u0027 \u0027$1 \u003d\u003d \"/dev/sda\" { print int($3/1024^3 + 0.5)}\u0027)"},{"line_number":36,"context_line":"if [ $AMP_IMAGE_SIZE !\u003d 5 ]; then"},{"line_number":37,"context_line":"    echo \"ERROR: Amphora image did not pass the default size test\""},{"line_number":38,"context_line":"    echo \"On Ubuntu you may need to run \u0027sudo chmod 0644 /boot/vmlinuz*\u0027 for libguestfs\""},{"line_number":39,"context_line":"    exit 1"}],"source_content_type":"text/x-sh","patch_set":1,"id":"fad55976_e572bb7b","line":36,"range":{"start_line":36,"start_character":24,"end_line":36,"end_character":25},"in_reply_to":"fad55976_e3863eb8","updated":"2016-07-19 13:13:00.000000000","message":"Ah, I thought this was running as part of scenarios... Obviously I did not look closely enough.","commit_id":"15fc5e285154fb86b70d38c7e3dacdb1dcf3e7eb"},{"author":{"_account_id":21798,"name":"Bernard Cafarelli","email":"bcafarel@redhat.com","username":"bcafarel"},"change_message_id":"578d92325b4fa71d10431f6b9a56928adb41c129","unresolved":false,"context_lines":[{"line_number":33,"context_line":"# Check the image size (rounded in GB)"},{"line_number":34,"context_line":"AMP_IMAGE_SIZE\u003d$(virt-filesystems --long --csv --blkdevs -a $AMP_IMAGE_LOCATION | \\"},{"line_number":35,"context_line":"    awk -F \u0027,\u0027 \u0027$1 \u003d\u003d \"/dev/sda\" { print int($3/1024^3 + 0.5)}\u0027)"},{"line_number":36,"context_line":"if [ $AMP_IMAGE_SIZE !\u003d 5 ]; then"},{"line_number":37,"context_line":"    echo \"ERROR: Amphora image did not pass the default size test\""},{"line_number":38,"context_line":"    echo \"On Ubuntu you may need to run \u0027sudo chmod 0644 /boot/vmlinuz*\u0027 for libguestfs\""},{"line_number":39,"context_line":"    exit 1"}],"source_content_type":"text/x-sh","patch_set":1,"id":"fad55976_a3ab63d5","line":36,"range":{"start_line":36,"start_character":24,"end_line":36,"end_character":25},"in_reply_to":"fad55976_e3863eb8","updated":"2016-07-16 20:22:47.000000000","message":"By default the script will generate a 5GB image:\nhttp://git.openstack.org/cgit/openstack/octavia/tree/diskimage-create/diskimage-create.sh#n149\nThis is also the \"old\" value that was tested before (although without the rounding to GB value);\nhttp://git.openstack.org/cgit/openstack/octavia/tree/diskimage-create/image-tests.sh#n35\n\n2GB is the value used used in the devstack plugin though:\nhttp://git.openstack.org/cgit/openstack/octavia/tree/devstack/plugin.sh#n26\n\nRunning the script manually did produce 5GB images here, so I kept the value","commit_id":"15fc5e285154fb86b70d38c7e3dacdb1dcf3e7eb"}]}
