Bug 1199241 - Sporadic OpenStack image fleecing failures.
Summary: Sporadic OpenStack image fleecing failures.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: SmartState Analysis
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: GA
: 5.3.4
Assignee: Rich Oliveri
QA Contact: Milan Falešník
URL:
Whiteboard:
Depends On: 1199240
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-05 17:51 UTC by Rich Oliveri
Modified: 2015-05-06 19:23 UTC (History)
7 users (show)

Fixed In Version: 5.3.4.1
Doc Type: Bug Fix
Doc Text:
Clone Of: 1199240
Environment:
Last Closed: 2015-04-29 13:20:18 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0890 0 normal SHIPPED_LIVE cfme (5.3.4) bug fix and enhancement update 2015-04-29 17:18:32 UTC

Description Rich Oliveri 2015-03-05 17:51:56 UTC
+++ 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:

Comment 1 CFME Bot 2015-03-06 16:05:58 UTC
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(+)

Comment 2 CFME Bot 2015-03-06 16:56:16 UTC
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(+)

Comment 4 Milan Falešník 2015-04-21 16:39:54 UTC
Does this have any specific steps to raise the probability of the sporadic failures?

Comment 5 Rich Oliveri 2015-04-21 18:17:19 UTC
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.

Comment 6 Milan Falešník 2015-04-22 11:21:43 UTC
So I verified this in 5.3.4.2, even in 10 times of fleecing it did not fail.

Comment 8 errata-xmlrpc 2015-04-29 13:20:18 UTC
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


Note You need to log in before you can comment on or make changes to this bug.