+++ This bug was initially created as a clone of Bug #1199240 +++ Description of problem: Fleecing of OpenStack images fails sporadically. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/ebcccf88167d3ec484f342b53081a899c8503846 commit ebcccf88167d3ec484f342b53081a899c8503846 Author: Richard Oliveri <roliveri> AuthorDate: Thu Mar 5 13:27:14 2015 -0500 Commit: Richard Oliveri <roliveri> CommitDate: Thu Mar 5 13:27:14 2015 -0500 Ensure contents of temporary image file are written. Ensure the contents of the downloaded image file are flushed to disk before opening the file for fleecing. https://bugzilla.redhat.com/show_bug.cgi?id=1199240 https://bugzilla.redhat.com/show_bug.cgi?id=1199241 lib/OpenStackExtract/MiqOpenStackVm/MiqOpenStackImage.rb | 8 ++++++++ 1 file changed, 8 insertions(+)
New commit detected on cfme/5.3.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=2facdf3b33fae568618ee0e8387bb76bfcb5176d commit 2facdf3b33fae568618ee0e8387bb76bfcb5176d Author: Richard Oliveri <roliveri> AuthorDate: Thu Mar 5 13:27:14 2015 -0500 Commit: Richard Oliveri <roliveri> CommitDate: Fri Mar 6 11:51:52 2015 -0500 Ensure contents of temporary image file are written. Ensure the contents of the downloaded image file are flushed to disk before opening the file for fleecing. https://bugzilla.redhat.com/show_bug.cgi?id=1199240 https://bugzilla.redhat.com/show_bug.cgi?id=1199241 lib/OpenStackExtract/MiqOpenStackVm/MiqOpenStackImage.rb | 8 ++++++++ 1 file changed, 8 insertions(+)
Does this have any specific steps to raise the probability of the sporadic failures?
In my testing, attempts to fleece the same VM would fail on average of one in four attempts. It may fail more often with some images - depending on the size and layout of the image file, but I couldn't find any definable coloration. After the fix, attempts to fleece the same VM never failed.
So I verified this in 5.3.4.2, even in 10 times of fleecing it did not fail.
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://rhn.redhat.com/errata/RHBA-2015-0890.html