)]}'
{"playbooks/common-tasks/set-pip-vars.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"fdfc09f2e5e721e2a95ed37064fb3099644c570f","unresolved":false,"context_lines":[{"line_number":88,"context_line":"  vars:"},{"line_number":89,"context_line":"    # Use https when Python with native SNI support is available"},{"line_number":90,"context_line":"    __pip_install_upper_constraints_proto: \"{{ ansible_python_version | version_compare(\u00272.7.9\u0027, \u0027\u003e\u003d\u0027) | ternary(\u0027https\u0027,\u0027http\u0027) }}\""},{"line_number":91,"context_line":"    __pip_install_upper_constraints_url: \"{{ __pip_install_upper_constraints_proto }}://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?id\u003d{{ requirements_git_install_branch | regex_replace(\u0027 #.*$\u0027,\u0027\u0027) }}\""},{"line_number":92,"context_line":"    __upstream_constraints: \u003e-"},{"line_number":93,"context_line":"      /opt/global-requirement-pins.txt"},{"line_number":94,"context_line":"      --constraint {{ pip_install_upper_constraints_file | default(__pip_install_upper_constraints_url, true) }}"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"3f79a3b5_d9b28894","line":91,"updated":"2018-08-13 12:08:19.000000000","message":"These changes are not necessary if my suggestions are followed, and I\u0027d really rather not introduce another var here.","commit_id":"bdba1b199b1c829dae321866f5218e8426c2511a"},{"author":{"_account_id":14200,"name":"Maksim Malchuk","email":"maksim.malchuk@gmail.com","username":"mmalchuk"},"change_message_id":"aac0f095acbf10592bee670e83e974dad9a8c69a","unresolved":false,"context_lines":[{"line_number":88,"context_line":"  vars:"},{"line_number":89,"context_line":"    # Use https when Python with native SNI support is available"},{"line_number":90,"context_line":"    __pip_install_upper_constraints_proto: \"{{ ansible_python_version | version_compare(\u00272.7.9\u0027, \u0027\u003e\u003d\u0027) | ternary(\u0027https\u0027,\u0027http\u0027) }}\""},{"line_number":91,"context_line":"    __pip_install_upper_constraints_url: \"{{ __pip_install_upper_constraints_proto }}://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?id\u003d{{ requirements_git_install_branch | regex_replace(\u0027 #.*$\u0027,\u0027\u0027) }}\""},{"line_number":92,"context_line":"    __upstream_constraints: \u003e-"},{"line_number":93,"context_line":"      /opt/global-requirement-pins.txt"},{"line_number":94,"context_line":"      --constraint {{ pip_install_upper_constraints_file | default(__pip_install_upper_constraints_url, true) }}"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"3f79a3b5_747c9982","line":91,"in_reply_to":"3f79a3b5_d9b28894","updated":"2018-08-13 12:34:12.000000000","message":"This is for backward compatibility. What if this playbook used by someone not from the bash scripts where variables are set.","commit_id":"bdba1b199b1c829dae321866f5218e8426c2511a"}],"tests/bootstrap-aio.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"fdfc09f2e5e721e2a95ed37064fb3099644c570f","unresolved":false,"context_lines":[{"line_number":26,"context_line":"    bootstrap_host_scenario: \"{{ lookup(\u0027env\u0027,\u0027SCENARIO\u0027) | default(\u0027aio_lxc\u0027, true) }}\""},{"line_number":27,"context_line":"    install_method: \"{{ lookup(\u0027env\u0027, \u0027INSTALL_METHOD\u0027) | default(\u0027source\u0027, true)  }}\""},{"line_number":28,"context_line":"    openstack_confd_entries: \"{{ confd_overrides[bootstrap_host_scenario] }}\""},{"line_number":29,"context_line":"    pip_upstream_url: \"{{ lookup(\u0027env\u0027,\u0027GET_PIP_URL\u0027) | default(\u0027https://bootstrap.pypa.io/3.3/get-pip.py\u0027, true) }}\""},{"line_number":30,"context_line":"    pip_install_upper_constraints_proto: \"{{ ansible_python_version | version_compare(\u00272.7.9\u0027, \u0027\u003e\u003d\u0027) | ternary(\u0027https\u0027,\u0027http\u0027) }}\""},{"line_number":31,"context_line":"    pip_install_upper_constraints_url: \"{{ pip_install_upper_constraints_proto }}://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?id\u003d{{ requirements_git_install_branch | regex_replace(\u0027 #.*$\u0027,\u0027\u0027) }}\""},{"line_number":32,"context_line":"    pip_install_upper_constraints_file: \"{{ lookup(\u0027env\u0027,\u0027UPPER_CONSTRAINTS_FILE\u0027) | default(\u0027\u0027, true) }}\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"3f79a3b5_599678f2","line":29,"updated":"2018-08-13 12:08:19.000000000","message":"This is fine, and will work for the bootstrap-aio execution of pip_install.","commit_id":"bdba1b199b1c829dae321866f5218e8426c2511a"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"fdfc09f2e5e721e2a95ed37064fb3099644c570f","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    pip_upstream_url: \"{{ lookup(\u0027env\u0027,\u0027GET_PIP_URL\u0027) | default(\u0027https://bootstrap.pypa.io/3.3/get-pip.py\u0027, true) }}\""},{"line_number":30,"context_line":"    pip_install_upper_constraints_proto: \"{{ ansible_python_version | version_compare(\u00272.7.9\u0027, \u0027\u003e\u003d\u0027) | ternary(\u0027https\u0027,\u0027http\u0027) }}\""},{"line_number":31,"context_line":"    pip_install_upper_constraints_url: \"{{ pip_install_upper_constraints_proto }}://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?id\u003d{{ requirements_git_install_branch | regex_replace(\u0027 #.*$\u0027,\u0027\u0027) }}\""},{"line_number":32,"context_line":"    pip_install_upper_constraints_file: \"{{ lookup(\u0027env\u0027,\u0027UPPER_CONSTRAINTS_FILE\u0027) | default(\u0027\u0027, true) }}\""},{"line_number":33,"context_line":"    pip_install_upper_constraints: \u003e-"},{"line_number":34,"context_line":"        {{ (playbook_dir ~ \u0027/../global-requirement-pins.txt\u0027) | realpath }}"},{"line_number":35,"context_line":"        --constraint \"{{ pip_install_upper_constraints_file | default(pip_install_upper_constraints_url, true) }}\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"3f79a3b5_d92848e3","line":32,"range":{"start_line":32,"start_character":83,"end_line":32,"end_character":102},"updated":"2018-08-13 12:08:19.000000000","message":"If the env var is not found, it will result in \u0027\u0027 by default - so no need for this.","commit_id":"bdba1b199b1c829dae321866f5218e8426c2511a"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"c6198b93950b1518d54762f4a0065169f362c876","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    pip_upstream_url: \"{{ lookup(\u0027env\u0027,\u0027GET_PIP_URL\u0027) | default(\u0027https://bootstrap.pypa.io/3.3/get-pip.py\u0027, true) }}\""},{"line_number":30,"context_line":"    pip_install_upper_constraints_proto: \"{{ ansible_python_version | version_compare(\u00272.7.9\u0027, \u0027\u003e\u003d\u0027) | ternary(\u0027https\u0027,\u0027http\u0027) }}\""},{"line_number":31,"context_line":"    pip_install_upper_constraints_url: \"{{ pip_install_upper_constraints_proto }}://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?id\u003d{{ requirements_git_install_branch | regex_replace(\u0027 #.*$\u0027,\u0027\u0027) }}\""},{"line_number":32,"context_line":"    pip_install_upper_constraints_file: \"{{ lookup(\u0027env\u0027,\u0027UPPER_CONSTRAINTS_FILE\u0027) | default(\u0027\u0027, true) }}\""},{"line_number":33,"context_line":"    pip_install_upper_constraints: \u003e-"},{"line_number":34,"context_line":"        {{ (playbook_dir ~ \u0027/../global-requirement-pins.txt\u0027) | realpath }}"},{"line_number":35,"context_line":"        --constraint \"{{ pip_install_upper_constraints_file | default(pip_install_upper_constraints_url, true) }}\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"3f79a3b5_d46d6d32","line":32,"range":{"start_line":32,"start_character":83,"end_line":32,"end_character":102},"in_reply_to":"3f79a3b5_14f0c5fc","updated":"2018-08-13 12:48:43.000000000","message":"The lookup returns an empty value by default if the env var is not set.","commit_id":"bdba1b199b1c829dae321866f5218e8426c2511a"},{"author":{"_account_id":14200,"name":"Maksim Malchuk","email":"maksim.malchuk@gmail.com","username":"mmalchuk"},"change_message_id":"51fe58509c7f9ecc15dc5f6d72afab96e4cad943","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    pip_upstream_url: \"{{ lookup(\u0027env\u0027,\u0027GET_PIP_URL\u0027) | default(\u0027https://bootstrap.pypa.io/3.3/get-pip.py\u0027, true) }}\""},{"line_number":30,"context_line":"    pip_install_upper_constraints_proto: \"{{ ansible_python_version | version_compare(\u00272.7.9\u0027, \u0027\u003e\u003d\u0027) | ternary(\u0027https\u0027,\u0027http\u0027) }}\""},{"line_number":31,"context_line":"    pip_install_upper_constraints_url: \"{{ pip_install_upper_constraints_proto }}://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?id\u003d{{ requirements_git_install_branch | regex_replace(\u0027 #.*$\u0027,\u0027\u0027) }}\""},{"line_number":32,"context_line":"    pip_install_upper_constraints_file: \"{{ lookup(\u0027env\u0027,\u0027UPPER_CONSTRAINTS_FILE\u0027) | default(\u0027\u0027, true) }}\""},{"line_number":33,"context_line":"    pip_install_upper_constraints: \u003e-"},{"line_number":34,"context_line":"        {{ (playbook_dir ~ \u0027/../global-requirement-pins.txt\u0027) | realpath }}"},{"line_number":35,"context_line":"        --constraint \"{{ pip_install_upper_constraints_file | default(pip_install_upper_constraints_url, true) }}\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"3f79a3b5_fa47334b","line":32,"range":{"start_line":32,"start_character":83,"end_line":32,"end_character":102},"in_reply_to":"3f79a3b5_d46d6d32","updated":"2018-08-13 13:03:01.000000000","message":"okay, will fix this everywhere","commit_id":"bdba1b199b1c829dae321866f5218e8426c2511a"},{"author":{"_account_id":14200,"name":"Maksim Malchuk","email":"maksim.malchuk@gmail.com","username":"mmalchuk"},"change_message_id":"aac0f095acbf10592bee670e83e974dad9a8c69a","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    pip_upstream_url: \"{{ lookup(\u0027env\u0027,\u0027GET_PIP_URL\u0027) | default(\u0027https://bootstrap.pypa.io/3.3/get-pip.py\u0027, true) }}\""},{"line_number":30,"context_line":"    pip_install_upper_constraints_proto: \"{{ ansible_python_version | version_compare(\u00272.7.9\u0027, \u0027\u003e\u003d\u0027) | ternary(\u0027https\u0027,\u0027http\u0027) }}\""},{"line_number":31,"context_line":"    pip_install_upper_constraints_url: \"{{ pip_install_upper_constraints_proto }}://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?id\u003d{{ requirements_git_install_branch | regex_replace(\u0027 #.*$\u0027,\u0027\u0027) }}\""},{"line_number":32,"context_line":"    pip_install_upper_constraints_file: \"{{ lookup(\u0027env\u0027,\u0027UPPER_CONSTRAINTS_FILE\u0027) | default(\u0027\u0027, true) }}\""},{"line_number":33,"context_line":"    pip_install_upper_constraints: \u003e-"},{"line_number":34,"context_line":"        {{ (playbook_dir ~ \u0027/../global-requirement-pins.txt\u0027) | realpath }}"},{"line_number":35,"context_line":"        --constraint \"{{ pip_install_upper_constraints_file | default(pip_install_upper_constraints_url, true) }}\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"3f79a3b5_14f0c5fc","line":32,"range":{"start_line":32,"start_character":83,"end_line":32,"end_character":102},"in_reply_to":"3f79a3b5_d92848e3","updated":"2018-08-13 12:34:12.000000000","message":"nitpick, I understand that, but rather we will see here an empty default?","commit_id":"bdba1b199b1c829dae321866f5218e8426c2511a"}],"tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"fdfc09f2e5e721e2a95ed37064fb3099644c570f","unresolved":false,"context_lines":[{"line_number":153,"context_line":"{{ repo_build_pip_extra_indexes | to_nice_yaml }}"},{"line_number":154,"context_line":"{% endif %}"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"{% if pip_install_upper_constraints_file is defined and pip_install_upper_constraints_file|length \u003e 0 %}"},{"line_number":157,"context_line":"## upper constraints file override"},{"line_number":158,"context_line":"pip_install_upper_constraints_file: \"{{ pip_install_upper_constraints_file }}\""},{"line_number":159,"context_line":"{% endif %}"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"{% if pip_upstream_url is defined and pip_upstream_url|length \u003e 0 %}"},{"line_number":162,"context_line":"## pip upstream url override"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"3f79a3b5_19b5607e","line":159,"range":{"start_line":156,"start_character":0,"end_line":159,"end_character":11},"updated":"2018-08-13 12:08:19.000000000","message":"Instead of requiring the use of the new var, this could just be:\n\n{% if lookup(\u0027env\u0027,\u0027UPPER_CONSTRAINTS_FILE\u0027) !\u003d\u0027\u0027 %}\npip_install_upper_constraints: ...\n...","commit_id":"bdba1b199b1c829dae321866f5218e8426c2511a"},{"author":{"_account_id":14200,"name":"Maksim Malchuk","email":"maksim.malchuk@gmail.com","username":"mmalchuk"},"change_message_id":"aac0f095acbf10592bee670e83e974dad9a8c69a","unresolved":false,"context_lines":[{"line_number":153,"context_line":"{{ repo_build_pip_extra_indexes | to_nice_yaml }}"},{"line_number":154,"context_line":"{% endif %}"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"{% if pip_install_upper_constraints_file is defined and pip_install_upper_constraints_file|length \u003e 0 %}"},{"line_number":157,"context_line":"## upper constraints file override"},{"line_number":158,"context_line":"pip_install_upper_constraints_file: \"{{ pip_install_upper_constraints_file }}\""},{"line_number":159,"context_line":"{% endif %}"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"{% if pip_upstream_url is defined and pip_upstream_url|length \u003e 0 %}"},{"line_number":162,"context_line":"## pip upstream url override"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"3f79a3b5_b4ea31d5","line":159,"range":{"start_line":156,"start_character":0,"end_line":159,"end_character":11},"in_reply_to":"3f79a3b5_19b5607e","updated":"2018-08-13 12:34:12.000000000","message":"the main idea to set variable only for the set-pip-vars.yml via facts.\nif we pass the upstream constraints to the global pip_install_upper_constraints here we will break all the deploy.\nthe example of the fail is described in the old bug: https://bugs.launchpad.net/openstack-ansible/+bug/1777655","commit_id":"bdba1b199b1c829dae321866f5218e8426c2511a"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"fdfc09f2e5e721e2a95ed37064fb3099644c570f","unresolved":false,"context_lines":[{"line_number":158,"context_line":"pip_install_upper_constraints_file: \"{{ pip_install_upper_constraints_file }}\""},{"line_number":159,"context_line":"{% endif %}"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"{% if pip_upstream_url is defined and pip_upstream_url|length \u003e 0 %}"},{"line_number":162,"context_line":"## pip upstream url override"},{"line_number":163,"context_line":"pip_upstream_url: \"{{ pip_upstream_url }}\""},{"line_number":164,"context_line":"{% endif %}"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"{% if _lxc_mirror is defined and _lxc_mirror.stdout_lines is defined %}"},{"line_number":167,"context_line":"## images.linuxcontainers.org reverse proxy"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"3f79a3b5_b9deacd7","line":164,"range":{"start_line":161,"start_character":0,"end_line":164,"end_character":11},"updated":"2018-08-13 12:08:19.000000000","message":"Instead of adding a new var, this could just be:\n\n{% if lookup(\u0027env\u0027, \u0027GET_PIP_URL\u0027) !\u003d \u0027\u0027 %}\npip_upstream_url: \"{{ lookup(\u0027env\u0027, \u0027GET_PIP_URL\u0027) }}\"\n{% endif %}","commit_id":"bdba1b199b1c829dae321866f5218e8426c2511a"},{"author":{"_account_id":14200,"name":"Maksim Malchuk","email":"maksim.malchuk@gmail.com","username":"mmalchuk"},"change_message_id":"51fe58509c7f9ecc15dc5f6d72afab96e4cad943","unresolved":false,"context_lines":[{"line_number":158,"context_line":"pip_install_upper_constraints_file: \"{{ pip_install_upper_constraints_file }}\""},{"line_number":159,"context_line":"{% endif %}"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"{% if pip_upstream_url is defined and pip_upstream_url|length \u003e 0 %}"},{"line_number":162,"context_line":"## pip upstream url override"},{"line_number":163,"context_line":"pip_upstream_url: \"{{ pip_upstream_url }}\""},{"line_number":164,"context_line":"{% endif %}"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"{% if _lxc_mirror is defined and _lxc_mirror.stdout_lines is defined %}"},{"line_number":167,"context_line":"## images.linuxcontainers.org reverse proxy"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"3f79a3b5_fa32d3f1","line":164,"range":{"start_line":161,"start_character":0,"end_line":164,"end_character":11},"in_reply_to":"3f79a3b5_74cd792f","updated":"2018-08-13 13:03:01.000000000","message":"defined and NOT EMPTY \u003d\u003d means set to the value\nbtw it will always defined if playbooks executed from the botstrap-aio.sh, so we need double check","commit_id":"bdba1b199b1c829dae321866f5218e8426c2511a"},{"author":{"_account_id":14200,"name":"Maksim Malchuk","email":"maksim.malchuk@gmail.com","username":"mmalchuk"},"change_message_id":"0dfbb950c811143b391bd29fa4db503c9e5b2266","unresolved":false,"context_lines":[{"line_number":158,"context_line":"pip_install_upper_constraints_file: \"{{ pip_install_upper_constraints_file }}\""},{"line_number":159,"context_line":"{% endif %}"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"{% if pip_upstream_url is defined and pip_upstream_url|length \u003e 0 %}"},{"line_number":162,"context_line":"## pip upstream url override"},{"line_number":163,"context_line":"pip_upstream_url: \"{{ pip_upstream_url }}\""},{"line_number":164,"context_line":"{% endif %}"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"{% if _lxc_mirror is defined and _lxc_mirror.stdout_lines is defined %}"},{"line_number":167,"context_line":"## images.linuxcontainers.org reverse proxy"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"3f79a3b5_9a115f07","line":164,"range":{"start_line":161,"start_character":0,"end_line":164,"end_character":11},"in_reply_to":"3f79a3b5_7aa243fe","updated":"2018-08-13 13:16:45.000000000","message":"No, if the role bootstrap-host used someone without bash-scripts the playbook will create the incorrect user_variables.yml with an empy variable in it.","commit_id":"bdba1b199b1c829dae321866f5218e8426c2511a"},{"author":{"_account_id":14200,"name":"Maksim Malchuk","email":"maksim.malchuk@gmail.com","username":"mmalchuk"},"change_message_id":"57e9a36b1c46fd90c1a46b8ca7d2421e9aa2fca4","unresolved":false,"context_lines":[{"line_number":158,"context_line":"pip_install_upper_constraints_file: \"{{ pip_install_upper_constraints_file }}\""},{"line_number":159,"context_line":"{% endif %}"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"{% if pip_upstream_url is defined and pip_upstream_url|length \u003e 0 %}"},{"line_number":162,"context_line":"## pip upstream url override"},{"line_number":163,"context_line":"pip_upstream_url: \"{{ pip_upstream_url }}\""},{"line_number":164,"context_line":"{% endif %}"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"{% if _lxc_mirror is defined and _lxc_mirror.stdout_lines is defined %}"},{"line_number":167,"context_line":"## images.linuxcontainers.org reverse proxy"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"3f79a3b5_3a960b4e","line":164,"range":{"start_line":161,"start_character":0,"end_line":164,"end_character":11},"in_reply_to":"3f79a3b5_7ada434b","updated":"2018-08-13 13:22:46.000000000","message":"okay, will use lookup here, there and everywhere.","commit_id":"bdba1b199b1c829dae321866f5218e8426c2511a"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"85607598cebd2a5aa0e72c97cf26bee4d4a2d38c","unresolved":false,"context_lines":[{"line_number":158,"context_line":"pip_install_upper_constraints_file: \"{{ pip_install_upper_constraints_file }}\""},{"line_number":159,"context_line":"{% endif %}"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"{% if pip_upstream_url is defined and pip_upstream_url|length \u003e 0 %}"},{"line_number":162,"context_line":"## pip upstream url override"},{"line_number":163,"context_line":"pip_upstream_url: \"{{ pip_upstream_url }}\""},{"line_number":164,"context_line":"{% endif %}"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"{% if _lxc_mirror is defined and _lxc_mirror.stdout_lines is defined %}"},{"line_number":167,"context_line":"## images.linuxcontainers.org reverse proxy"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"3f79a3b5_74cd792f","line":164,"range":{"start_line":161,"start_character":0,"end_line":164,"end_character":11},"in_reply_to":"3f79a3b5_94fff5a9","updated":"2018-08-13 12:49:45.000000000","message":"Then the var is always defined, so the check to see if it\u0027s defined is moot.","commit_id":"bdba1b199b1c829dae321866f5218e8426c2511a"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"b20824b87710236595501e53837be243c06c42b1","unresolved":false,"context_lines":[{"line_number":158,"context_line":"pip_install_upper_constraints_file: \"{{ pip_install_upper_constraints_file }}\""},{"line_number":159,"context_line":"{% endif %}"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"{% if pip_upstream_url is defined and pip_upstream_url|length \u003e 0 %}"},{"line_number":162,"context_line":"## pip upstream url override"},{"line_number":163,"context_line":"pip_upstream_url: \"{{ pip_upstream_url }}\""},{"line_number":164,"context_line":"{% endif %}"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"{% if _lxc_mirror is defined and _lxc_mirror.stdout_lines is defined %}"},{"line_number":167,"context_line":"## images.linuxcontainers.org reverse proxy"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"3f79a3b5_7ada434b","line":164,"range":{"start_line":161,"start_character":0,"end_line":164,"end_character":11},"in_reply_to":"3f79a3b5_9a115f07","updated":"2018-08-13 13:19:11.000000000","message":"Then that goes back to my first suggestion. Don\u0027t use a new var, just use the lookup here.","commit_id":"bdba1b199b1c829dae321866f5218e8426c2511a"},{"author":{"_account_id":14200,"name":"Maksim Malchuk","email":"maksim.malchuk@gmail.com","username":"mmalchuk"},"change_message_id":"aac0f095acbf10592bee670e83e974dad9a8c69a","unresolved":false,"context_lines":[{"line_number":158,"context_line":"pip_install_upper_constraints_file: \"{{ pip_install_upper_constraints_file }}\""},{"line_number":159,"context_line":"{% endif %}"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"{% if pip_upstream_url is defined and pip_upstream_url|length \u003e 0 %}"},{"line_number":162,"context_line":"## pip upstream url override"},{"line_number":163,"context_line":"pip_upstream_url: \"{{ pip_upstream_url }}\""},{"line_number":164,"context_line":"{% endif %}"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"{% if _lxc_mirror is defined and _lxc_mirror.stdout_lines is defined %}"},{"line_number":167,"context_line":"## images.linuxcontainers.org reverse proxy"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"3f79a3b5_94fff5a9","line":164,"range":{"start_line":161,"start_character":0,"end_line":164,"end_character":11},"in_reply_to":"3f79a3b5_b9deacd7","updated":"2018-08-13 12:34:12.000000000","message":"nope, we already set this var here: https://review.openstack.org/#/c/589167/2/tests/bootstrap-aio.yml\nduring the bootstrap-aio.sh execution\nso we don\u0027t need to lookup the env again again.","commit_id":"bdba1b199b1c829dae321866f5218e8426c2511a"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"0d739272ac642aaf57ee61bf16d46ddb28c5a340","unresolved":false,"context_lines":[{"line_number":158,"context_line":"pip_install_upper_constraints_file: \"{{ pip_install_upper_constraints_file }}\""},{"line_number":159,"context_line":"{% endif %}"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"{% if pip_upstream_url is defined and pip_upstream_url|length \u003e 0 %}"},{"line_number":162,"context_line":"## pip upstream url override"},{"line_number":163,"context_line":"pip_upstream_url: \"{{ pip_upstream_url }}\""},{"line_number":164,"context_line":"{% endif %}"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"{% if _lxc_mirror is defined and _lxc_mirror.stdout_lines is defined %}"},{"line_number":167,"context_line":"## images.linuxcontainers.org reverse proxy"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"3f79a3b5_7aa243fe","line":164,"range":{"start_line":161,"start_character":0,"end_line":164,"end_character":11},"in_reply_to":"3f79a3b5_fa32d3f1","updated":"2018-08-13 13:04:27.000000000","message":"Yes, so what I mean is just check if it\u0027s empty - no need to check if it\u0027s defined.","commit_id":"bdba1b199b1c829dae321866f5218e8426c2511a"}]}
