Cloned for OSP11
+++ 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
list_updates=$(yum list updates)
if [[ "$list_updates" == "" ]]; then
echo "No packages require updating"
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
This should be `yum -q list updates`, and the if condition will be reached
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.