diff options
author | Steve Milner <smilner@redhat.com> | 2017-01-10 14:52:59 -0500 |
---|---|---|
committer | Steve Milner <smilner@redhat.com> | 2017-01-10 15:03:37 -0500 |
commit | cd933dd5488640ac1c05657e3fe6fe978377734c (patch) | |
tree | 8e0e72598ea0a650f0c6ab0664b8b3656e5ae528 /roles/openshift_master/tasks | |
parent | 96fe76dad188610733c87cf80f4e22da34f11fb7 (diff) | |
download | openshift-cd933dd5488640ac1c05657e3fe6fe978377734c.tar.gz openshift-cd933dd5488640ac1c05657e3fe6fe978377734c.tar.bz2 openshift-cd933dd5488640ac1c05657e3fe6fe978377734c.tar.xz openshift-cd933dd5488640ac1c05657e3fe6fe978377734c.zip |
Workaround for dnf+docker version race condition
In some versions of dnf the rpm database can require maintenance after
usage. Unfortunately, this trips up get_version_output in the
openshift_facts library as the maintenance may interrupt the STDOUT
stream. This makes the resulting data returned from get_version_output
malformed and unparsable. This change adds an rpm --rebuilddb command
before requesting docker version output when the ansible package manager
is dnf. This causes the STDOUT maintenance messages to no longer
interrupt the expected yaml stream as well as releases locks in the rpm
database.
Diffstat (limited to 'roles/openshift_master/tasks')
0 files changed, 0 insertions, 0 deletions