Bug 1297002
Summary: | a missing storage can cause cfme 5.5 to stop collecting data from openstack | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Felix Dewaleyne <fdewaley> | |
Component: | Providers | Assignee: | Ladislav Smola <lsmola> | |
Status: | CLOSED ERRATA | QA Contact: | Omri Hochman <ohochman> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 5.5.0 | CC: | cpelland, fdewaley, jfrey, jhardy, jkrocil, jprause, mfeifer, obarenbo, rrasouli, simaishi | |
Target Milestone: | GA | Keywords: | ZStream | |
Target Release: | 5.6.0 | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | openstack | |||
Fixed In Version: | 5.6.0.4 | Doc Type: | Bug Fix | |
Doc Text: |
A resource missing from a stack in an OpenStack environment caused CloudForms 5.5 to entirely stop collecting data from OpenStack, instead of issuing a warning about the problematic stack. This occurred when the `stack.resources` call issued an API call to OpenStack but bypassed the 404 handler in CloudForms. The code has been fixed to safely load orchestration stack relations, and this no longer occurs.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1310115 1348627 (view as bug list) | Environment: | ||
Last Closed: | 2016-06-29 15:26:20 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | Openstack | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1310115, 1348627 |
Description
Felix Dewaleyne
2016-01-08 16:56:15 UTC
@Ladas, I tracked this down to here: https://github.com/ManageIQ/manageiq/blob/e0ac3b6ee9c9aa1b8c22e79e6470faa89147de71/app/models/manageiq/providers/openstack/refresh_parser_common/orchestration_stacks.rb#L8 The problem with that line is that the `stack.resources` call issues an API call to OpenStack and it bypasses our 404 handler. You can either update that line to catch the 404, or figure out how to get the `stack.resources` call to route through our OpenStack Handle code. I'm sure the 404 catch is easier. New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/575de9f95d9dde8d4ee63e585617550b7d9bee38 commit 575de9f95d9dde8d4ee63e585617550b7d9bee38 Author: Ladislav Smola <lsmola> AuthorDate: Mon Feb 22 14:25:28 2016 +0100 Commit: Ladislav Smola <lsmola> CommitDate: Thu Apr 21 12:34:20 2016 +0200 Safely load orchestration stack relations Safely load orchestration stack relations Fixes BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1297002 .../openstack/cloud_manager/refresh_parser.rb | 1 + .../refresh_parser_common/helper_methods.rb | 24 +++++++++++++++++++++- .../refresh_parser_common/orchestration_stacks.rb | 6 +++--- .../openstack/openstack_handle/handled_list.rb | 6 ++++++ 4 files changed, 33 insertions(+), 4 deletions(-) Issue is not clear please provide steps to reproduce 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/RHBA-2016:1348 |