)]}'
{"roles/undercloud-setup/templates/install_packages.sh.j2":[{"author":{"_account_id":9592,"name":"wes hayutin","email":"whayutin@redhat.com","username":"weshayutin"},"change_message_id":"9233f25e0f43b6db8b338c396cbf670baaf7a9e7","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"sudo $(command -v dnf || command -v yum) install -y {{ undercloud_rpm_dependencies }}"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"{% raw %}"},{"line_number":14,"context_line":"if [ -f /usr/share/ansible/roles/tripleo-modify-image/tasks/precheck.yml ]; then"},{"line_number":15,"context_line":"    sudo tee -a /usr/share/ansible/roles/tripleo-modify-image/tasks/precheck.yml \u003c\u003c-EOF"},{"line_number":16,"context_line":""}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"3fa7e38b_09f2cd9a","line":13,"updated":"2019-09-28 04:46:29.000000000","message":"Hey Yatin, help me understand the problem you are looking to solve here, I\u0027m not sure if I understand the intent.\n\nThe yum repos in play during a container update are governed by the container-prepare-param.yml file.  e.g https://4dca9d38a541907e85e1-0253beca39d73a6e7192d5b32ed5edc2.ssl.cf2.rackcdn.com/685184/1/check/tripleo-ci-centos-7-standalone/466603f/logs/undercloud/home/zuul/containers-prepare-parameters.yaml.txt.gz\n\nIf you are looking to further limit what is available to update, it should probably be handled in that config.  \n\nI could be wrong on not understanding what you are looking to do though, so help me out.","commit_id":"be04d3d43a26dcb45321ab53d550fb1d192f23d1"},{"author":{"_account_id":13861,"name":"yatin","email":"ykarel@redhat.com","username":"yatinkarel"},"change_message_id":"f37f1a741369c19d5425d0dd9c8a8d07d8149893","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"sudo $(command -v dnf || command -v yum) install -y {{ undercloud_rpm_dependencies }}"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"{% raw %}"},{"line_number":14,"context_line":"if [ -f /usr/share/ansible/roles/tripleo-modify-image/tasks/precheck.yml ]; then"},{"line_number":15,"context_line":"    sudo tee -a /usr/share/ansible/roles/tripleo-modify-image/tasks/precheck.yml \u003c\u003c-EOF"},{"line_number":16,"context_line":""}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"3fa7e38b_1449805e","line":13,"in_reply_to":"3fa7e38b_09f2cd9a","updated":"2019-09-28 08:33:11.000000000","message":"@weshay, i am trying to achieve following:-\nGoal: Restrict yum update to only the repos which are available, So in ContainerPrepareParameter repos are set like, update_repo: \"gating-repo,delorean-current,quickstart-centos-ceph-nautilus\", the main advantage of this goal will be seen when there is no repo available to update[1].\n\n[1] Cases when these repos are either not available or mis configured, like in promotion jobs these repos are not there, but still container update runs and takes good amount of time.\nThere is an option to completely turn off the update for promotion jobs, but i don\u0027t want to do that as sometimes we want to run promotion jobs in check to test upstream fixes. So i wanted to dynamically remove the repos based on the availability.\n\nSo ideally these tasks are added to ansible-role-tripleo-modify-image role with https://review.opendev.org/#/c/685431/, the reason i am trying this hack in quickstart-extras to get a case where no yum repo is available(with depends-on on ansible-role-tripleo-modify-image gating-repo get\u0027s created). I can try another hack though instead of it to achieve same effect.\n\nHmm may be there are better ways to handle it, but since this role(ansible-tripleo-modify-image) provides too many ways to handle the update, i wanted to do it in the role itself. But yes there can be more options which i have not considered yet.","commit_id":"be04d3d43a26dcb45321ab53d550fb1d192f23d1"}]}
