)]}'
{"migration/infrared/tripleo-ovn-migration/roles/create-resources/templates/create-resources.sh.j2":[{"author":{"_account_id":23804,"name":"Daniel Alvarez","email":"dalvarez@redhat.com","username":"dalvarez"},"change_message_id":"64a426950013d10758a4051e9d2ea9465cd34c57","unresolved":false,"context_lines":[{"line_number":8,"context_line":"openstack image show $image_name"},{"line_number":9,"context_line":"if [ \"$?\" !\u003d \"0\" ]"},{"line_number":10,"context_line":"then"},{"line_number":11,"context_line":"    if [ ! -f cirros-0.4.0-x86_64-disk.img ]"},{"line_number":12,"context_line":"    then"},{"line_number":13,"context_line":"        curl -o cirros-0.4.0-x86_64-disk.img http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img"},{"line_number":14,"context_line":"    fi"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"5f7c97a3_67be16b0","line":11,"range":{"start_line":11,"start_character":21,"end_line":11,"end_character":26},"updated":"2018-07-31 13:25:41.000000000","message":"https://review.openstack.org/#/c/587375/1/plugin.spec@72\nwe have cirros 0.3.5 here ^ \nshall we change it there?","commit_id":"bf1a5310915c91004add66006501691bd7302e08"},{"author":{"_account_id":10237,"name":"Numan Siddique","email":"nusiddiq@redhat.com","username":"numansiddique"},"change_message_id":"557ed93e76d669cb6b90c4f229a4b98045ba9ab6","unresolved":false,"context_lines":[{"line_number":8,"context_line":"openstack image show $image_name"},{"line_number":9,"context_line":"if [ \"$?\" !\u003d \"0\" ]"},{"line_number":10,"context_line":"then"},{"line_number":11,"context_line":"    if [ ! -f cirros-0.4.0-x86_64-disk.img ]"},{"line_number":12,"context_line":"    then"},{"line_number":13,"context_line":"        curl -o cirros-0.4.0-x86_64-disk.img http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img"},{"line_number":14,"context_line":"    fi"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"5f7c97a3_f4ff0432","line":11,"range":{"start_line":11,"start_character":21,"end_line":11,"end_character":26},"in_reply_to":"5f7c97a3_67be16b0","updated":"2018-08-02 07:42:48.000000000","message":"In plugin.spec the default value is cirros-0.3.5.\nI have set it because in infrared cirros-0.3.5 is available.\n\nIn case \"openstack image show ..\" returns false we download the latest cirros image here :).","commit_id":"bf1a5310915c91004add66006501691bd7302e08"},{"author":{"_account_id":23804,"name":"Daniel Alvarez","email":"dalvarez@redhat.com","username":"dalvarez"},"change_message_id":"64a426950013d10758a4051e9d2ea9465cd34c57","unresolved":false,"context_lines":[{"line_number":18,"context_line":"    image_name\u003d\"cirros-ovn-migration-{{ resource_suffix }}\""},{"line_number":19,"context_line":"fi"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"openstack flavor create ovn-migration-{{ resource_suffix }} --ram 1024 --disk 1 --vcpus 1"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"openstack keypair create ovn-migration-{{ resource_suffix }} --private-key {{ ovn_migration_temp_dir }}/ovn_migration_ssh_key"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"5f7c97a3_2787be14","line":21,"updated":"2018-07-31 13:25:41.000000000","message":"Just some thought... we need some quota available before creating this resources. Shall we indicate this in the docs as we\u0027re creating SGS, rules, servers, etc.:?","commit_id":"bf1a5310915c91004add66006501691bd7302e08"},{"author":{"_account_id":10237,"name":"Numan Siddique","email":"nusiddiq@redhat.com","username":"numansiddique"},"change_message_id":"557ed93e76d669cb6b90c4f229a4b98045ba9ab6","unresolved":false,"context_lines":[{"line_number":18,"context_line":"    image_name\u003d\"cirros-ovn-migration-{{ resource_suffix }}\""},{"line_number":19,"context_line":"fi"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"openstack flavor create ovn-migration-{{ resource_suffix }} --ram 1024 --disk 1 --vcpus 1"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"openstack keypair create ovn-migration-{{ resource_suffix }} --private-key {{ ovn_migration_temp_dir }}/ovn_migration_ssh_key"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"5f7c97a3_d4f0c862","line":21,"in_reply_to":"5f7c97a3_2787be14","updated":"2018-08-02 07:42:48.000000000","message":"This is anyway expected to be run in CI (throw away setup), I won\u0027t bother much.\nI don\u0027t mind if some one is up with a follow up patch :).","commit_id":"bf1a5310915c91004add66006501691bd7302e08"},{"author":{"_account_id":23804,"name":"Daniel Alvarez","email":"dalvarez@redhat.com","username":"dalvarez"},"change_message_id":"64a426950013d10758a4051e9d2ea9465cd34c57","unresolved":false,"context_lines":[{"line_number":64,"context_line":"        num_attempts\u003d$((num_attempts+1))"},{"line_number":65,"context_line":"        if [ $num_attempts -gt 24 ]"},{"line_number":66,"context_line":"        then"},{"line_number":67,"context_line":"            echo \"VM is not up even after 2 minutes. Something is wrong\""},{"line_number":68,"context_line":"            exit 1"},{"line_number":69,"context_line":"        fi"},{"line_number":70,"context_line":"    done"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"5f7c97a3_67a5b69f","line":67,"updated":"2018-07-31 13:25:41.000000000","message":"If this happens, will the delete resources task be executed? or we can have leftovers?","commit_id":"bf1a5310915c91004add66006501691bd7302e08"},{"author":{"_account_id":10237,"name":"Numan Siddique","email":"nusiddiq@redhat.com","username":"numansiddique"},"change_message_id":"557ed93e76d669cb6b90c4f229a4b98045ba9ab6","unresolved":false,"context_lines":[{"line_number":64,"context_line":"        num_attempts\u003d$((num_attempts+1))"},{"line_number":65,"context_line":"        if [ $num_attempts -gt 24 ]"},{"line_number":66,"context_line":"        then"},{"line_number":67,"context_line":"            echo \"VM is not up even after 2 minutes. Something is wrong\""},{"line_number":68,"context_line":"            exit 1"},{"line_number":69,"context_line":"        fi"},{"line_number":70,"context_line":"    done"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"5f7c97a3_949490e8","line":67,"in_reply_to":"5f7c97a3_67a5b69f","updated":"2018-08-02 07:42:48.000000000","message":"Actually the resources created in this step are not deleted. So that user can verify manually by logging into them etc.","commit_id":"bf1a5310915c91004add66006501691bd7302e08"}]}
