Hide Forgot
Cloned for OSP10 +++ This bug was initially created as a clone of Bug #1439952 +++ Description of problem: openstack minor update - list_updates=$(yum list updates) never returns empty string /usr/share/openstack-tripleo-heat-templates/extraconfig/tasks/yum_update.sh ~~~ (...) list_updates=$(yum list updates) if [[ "$list_updates" == "" ]]; then echo "No packages require updating" exit 0 fi (...) ~~~ The if condition never fulfills! This can be easily tested: ~~~ [root@undercloud-4 ~]# list_updates=$(yum list updates) [root@undercloud-4 ~]# echo $list_updates Loaded plugins: search-disabled-repos ~~~ Expected results: This should be `yum -q list updates`, and the if condition will be reached Additional info:
Verified with openstack-tripleo-heat-templates-5.2.0-20.el7ost.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:1585