Bug 1219998 - Timeout issues with fleecing on OpenStack
Summary: Timeout issues with fleecing on OpenStack
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.5.0
Assignee: Rich Oliveri
QA Contact: Ramesh A
URL:
Whiteboard:
: 1219996 1220796 (view as bug list)
Depends On:
Blocks: 1222138
TreeView+ depends on / blocked
 
Reported: 2015-05-09 01:10 UTC by Rich Oliveri
Modified: 2015-12-08 13:08 UTC (History)
5 users (show)

Fixed In Version: 5.5.0.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1222138 (view as bug list)
Environment:
Last Closed: 2015-12-08 13:08:56 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1222958 0 high CLOSED EMS Refresh against RHOS provider with self-signed certificate results in error 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHSA-2015:2551 0 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 17:58:09 UTC

Internal Links: 1222958

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


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