)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"10795ad8a3ef8f7b0a24709c83f5120dc2764da9","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix image_name retrieval in generic-scenario-custom-image job"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"And use a \u0027file://\u0027 url for the custom manila image."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"See also https://review.openstack.org/#/c/623330.  These"},{"line_number":12,"context_line":"are interdependent patches but no harm is done by merging"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"3f79a3b5_4c2278a7","line":9,"range":{"start_line":9,"start_character":0,"end_line":9,"end_character":52},"updated":"2018-12-17 20:04:07.000000000","message":"Do you want to do this across the jobs? I don\u0027t see a reason to serve this via the local web server if the \"file://\" method is working, it will be one less failure to debug. \n\n \n\nWith the current approach in [1], we run into the issue of hosting on /var/www/public_html - this directory won\u0027t be served by default on all web servers. We could change this to \"userdir\" and host the file on $HOME/public_html, however, that will require enabling the userdir extension if using apache.\n\n \n\nI\u0027d be in favor of stripping the web server component given it doesn\u0027t work as expected.\n\n \n\n[1] https://github.com/openstack/manila-image-elements/blob/0b65645/tools/gate/build-images#L19","commit_id":"d7c753fa26a7094ea181999d0de5ac54c94e54c6"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"05c4d7aac4981111df720b0501021c31ad19114f","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix image_name retrieval in generic-scenario-custom-image job"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"And use a \u0027file://\u0027 url for the custom manila image."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"See also https://review.openstack.org/#/c/623330.  These"},{"line_number":12,"context_line":"are interdependent patches but no harm is done by merging"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"3f79a3b5_fb9e95b4","line":9,"range":{"start_line":9,"start_character":0,"end_line":9,"end_character":52},"in_reply_to":"3f79a3b5_0cd7a023","updated":"2018-12-18 00:29:12.000000000","message":"Sure thing, You have my vote.\n\nI was just curious about the script, the if condition (to check if the driver has \"custom image\" in its name) seems quite useless, so I dug up a bit for fun and posterity:\n\n \n\nYou\u0027ll be interested in Ben\u0027s review suggestion here [1] where the web server logic was introduced. In [1], the Jenkins parameter {driver} was being evaluated if being \"generic_with_custom_image\", but this condition was lost in translation between JJB and ZuulV3. [2] So, this condition is an artifact of JJB templating that we don\u0027t need anymore in the jobs.\n\n \n\nWhen Raissa moved the jobs over to our repo, we missed this bad translation [3]\n\n[1] https://review.openstack.org/#/c/444339/5/jenkins/jobs/manila.yaml \n[2] https://review.openstack.org/#/c/507176/ (Zuulv3 migration)\n[3] https://review.openstack.org/#/c/512559/","commit_id":"d7c753fa26a7094ea181999d0de5ac54c94e54c6"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"a9622924c3d5941ca7f1b70e836fbbf40f372b14","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix image_name retrieval in generic-scenario-custom-image job"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"And use a \u0027file://\u0027 url for the custom manila image."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"See also https://review.openstack.org/#/c/623330.  These"},{"line_number":12,"context_line":"are interdependent patches but no harm is done by merging"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"3f79a3b5_0cd7a023","line":9,"range":{"start_line":9,"start_character":0,"end_line":9,"end_character":52},"in_reply_to":"3f79a3b5_4c2278a7","updated":"2018-12-17 20:25:51.000000000","message":"I thought I\u0027d do followup patches to strip out the web server component altogether from the the image build and the jobs if people agree to this approach in these two patches.","commit_id":"d7c753fa26a7094ea181999d0de5ac54c94e54c6"}],"playbooks/legacy/manila-tempest-dsvm-container-scenario-custom-image/run.yaml":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"5772df954e8460bb6155ccc47babe72c4cd640f3","unresolved":false,"context_lines":[{"line_number":62,"context_line":"              cd /opt/stack/new/manila-image-elements"},{"line_number":63,"context_line":"              ./tools/gate/build-images container_with_custom_image"},{"line_number":64,"context_line":"              image_name\u003d$(cat ./IMAGE_NAME)"},{"line_number":65,"context_line":"              export MANILA_SERVICE_IMAGE_URL\u003d\"http://localhost:80/public_html/$image_name\""},{"line_number":66,"context_line":"              export MANILA_SERVICE_IMAGE_NAME\u003d$(basename -s .tar.gz $(basename -s .qcow2 $image_name))"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"              # Return back to execution dir"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"3f79a3b5_dc38413a","line":65,"range":{"start_line":65,"start_character":46,"end_line":65,"end_character":91},"updated":"2018-12-19 19:30:55.000000000","message":"\"file://$(pwd)/$image_name\"","commit_id":"14549e3aa1bb9868f5ff4d7d4d2881302c519244"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"53de8d97952c4fd74d5219aad246b3bbafec30a8","unresolved":false,"context_lines":[{"line_number":62,"context_line":"              cd /opt/stack/new/manila-image-elements"},{"line_number":63,"context_line":"              ./tools/gate/build-images container_with_custom_image"},{"line_number":64,"context_line":"              image_name\u003d$(cat ./IMAGE_NAME)"},{"line_number":65,"context_line":"              export MANILA_SERVICE_IMAGE_URL\u003d\"http://localhost:80/public_html/$image_name\""},{"line_number":66,"context_line":"              export MANILA_SERVICE_IMAGE_NAME\u003d$(basename -s .tar.gz $(basename -s .qcow2 $image_name))"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"              # Return back to execution dir"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"3f79a3b5_37e62e4a","line":65,"range":{"start_line":65,"start_character":46,"end_line":65,"end_character":91},"in_reply_to":"3f79a3b5_dc38413a","updated":"2018-12-19 20:00:35.000000000","message":"Woops!  Thanks.","commit_id":"14549e3aa1bb9868f5ff4d7d4d2881302c519244"}],"playbooks/legacy/manila-tempest-dsvm-generic-scenario-custom-image/run.yaml":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"05c4d7aac4981111df720b0501021c31ad19114f","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"                  # Go to \u0027manila-image-elements\u0027 dir, build image and get its name"},{"line_number":65,"context_line":"                  cd /opt/stack/new/manila-image-elements"},{"line_number":66,"context_line":"                  ./tools/gate/build-images generic_with_custom_image True"},{"line_number":67,"context_line":"                  image_name\u003d$(cat ./IMAGE_NAME)"},{"line_number":68,"context_line":"                  export MANILA_SERVICE_IMAGE_URL\u003d\"file://$(pwd)/$image_name\""},{"line_number":69,"context_line":"                  export MANILA_SERVICE_IMAGE_NAME\u003d$(basename -s .tar.gz $(basename -s .qcow2 $image_name))"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"3f79a3b5_db9b99c4","line":66,"range":{"start_line":66,"start_character":70,"end_line":66,"end_character":74},"updated":"2018-12-18 00:29:12.000000000","message":"False with file://","commit_id":"d7c753fa26a7094ea181999d0de5ac54c94e54c6"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"9451d9d8aae57b4ed264391c78fd85c695eab856","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"                  # Go to \u0027manila-image-elements\u0027 dir, build image and get its name"},{"line_number":65,"context_line":"                  cd /opt/stack/new/manila-image-elements"},{"line_number":66,"context_line":"                  ./tools/gate/build-images generic_with_custom_image True"},{"line_number":67,"context_line":"                  image_name\u003d$(cat ./IMAGE_NAME)"},{"line_number":68,"context_line":"                  export MANILA_SERVICE_IMAGE_URL\u003d\"file://$(pwd)/$image_name\""},{"line_number":69,"context_line":"                  export MANILA_SERVICE_IMAGE_NAME\u003d$(basename -s .tar.gz $(basename -s .qcow2 $image_name))"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"3f79a3b5_61c3a13b","line":66,"range":{"start_line":66,"start_character":70,"end_line":66,"end_character":74},"in_reply_to":"3f79a3b5_db9b99c4","updated":"2018-12-18 19:56:48.000000000","message":"Sure, though it doesn\u0027t really mattter.","commit_id":"d7c753fa26a7094ea181999d0de5ac54c94e54c6"}]}
