Bug 1219998

Summary: Timeout issues with fleecing on OpenStack
Product: Red Hat CloudForms Management Engine Reporter: Rich Oliveri <roliveri>
Component: SmartState AnalysisAssignee: Rich Oliveri <roliveri>
Status: CLOSED ERRATA QA Contact: Ramesh A <rananda>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.4.0CC: cpelland, jhardy, obarenbo, roliveri, tcarlin
Target Milestone: GA   
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.0.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1222138 (view as bug list) Environment:
Last Closed: 2015-12-08 13:08:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1222138    

Description Rich Oliveri 2015-05-09 01:10:36 UTC
Description of problem:
Because we have to download the entire image when fleecing in the OpenStack environment, fleecing is prone to timeout (based on image size). In addition, when fleecing fails due to timeout, we fail to remove the temporary snapshot.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Fleece LARGE image or instance on OpenStack
2.
3.

Actual results:
Fleecing fails with timeout and snapshot not removed.


Expected results:
Fleecing succeeds and snapshot removed.


Additional info:

Comment 2 Dave Johnson 2015-05-12 17:24:11 UTC
*** Bug 1219996 has been marked as a duplicate of this bug. ***

Comment 3 Rich Oliveri 2015-05-12 18:01:24 UTC
*** Bug 1220796 has been marked as a duplicate of this bug. ***

Comment 8 CFME Bot 2015-05-15 20:26:07 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/7ad4e9a93f3166afb5a4f87b2e2748bc191a192e

commit 7ad4e9a93f3166afb5a4f87b2e2748bc191a192e
Author:     Richard Oliveri <roliveri>
AuthorDate: Fri May 8 21:15:38 2015 -0400
Commit:     Richard Oliveri <roliveri>
CommitDate: Fri May 8 21:15:38 2015 -0400

    Fix timeout issues in OpenStack fleecing.
    
    Extend queue timeout when fleecing on OpenStack.
    Extend job timeout for fleecing jobs.
    Fix failure code path so snapshot removal dosen't fail.
    https://bugzilla.redhat.com/show_bug.cgi?id=1219998

 vmdb/app/models/job.rb                           |  8 ++++++--
 vmdb/app/models/miq_server/server_smart_proxy.rb | 13 ++++++++++++-
 vmdb/app/models/vm_scan.rb                       | 22 ++++++++++++++++++++--
 3 files changed, 38 insertions(+), 5 deletions(-)

Comment 9 CFME Bot 2015-05-15 21:05:33 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=c09a39e571fe0103e57c7beb972f4b8db008c2c4

commit c09a39e571fe0103e57c7beb972f4b8db008c2c4
Author:     Richard Oliveri <roliveri>
AuthorDate: Fri May 8 21:15:38 2015 -0400
Commit:     Richard Oliveri <roliveri>
CommitDate: Fri May 15 16:55:17 2015 -0400

    Fix timeout issues in OpenStack fleecing.
    
    Extend queue timeout when fleecing on OpenStack.
    Extend job timeout for fleecing jobs.
    Fix failure code path so snapshot removal dosen't fail.
    https://bugzilla.redhat.com/show_bug.cgi?id=1219998

 vmdb/app/models/job.rb                           |  8 ++++++--
 vmdb/app/models/miq_server/server_smart_proxy.rb | 13 ++++++++++++-
 vmdb/app/models/vm_scan.rb                       | 22 ++++++++++++++++++++--
 3 files changed, 38 insertions(+), 5 deletions(-)

Comment 11 Thom Carlin 2015-05-19 13:41:32 UTC
Leftover EvmSnapshot images issue has been moved to bz 1222951
Self-signed certificates issue has been moved to bz 1222958

Comment 12 Ramesh A 2015-11-02 14:40:24 UTC
Good to go.  Verified and working fine in 5.5.0.8-beta1.4.20151027164951_4ab7fea.

Tested on RhOS 6-GA, RHOS 4, RHOS 5 and RHOS6-GA-SSL

Comment 14 errata-xmlrpc 2015-12-08 13:08:56 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://access.redhat.com/errata/RHSA-2015:2551