Bug 1612946 - Missing Flavor cause OSP provider refresh to fail.
Summary: Missing Flavor cause OSP provider refresh to fail.
Keywords:
Status: CLOSED DUPLICATE of bug 1460683
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.8.5
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.8.5
Assignee: Scott Seago
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-06 15:18 UTC by Saif Ali
Modified: 2021-12-10 16:54 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-17 14:11:28 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Saif Ali 2018-08-06 15:18:17 UTC
Description of problem:
Error refreshing Openstack provider because of deleted flavors.

[----] E, [2018-07-25T11:49:48.093023 #22499:86f13c] ERROR -- : [EmsRefresh::Refreshers::EmsRefresherMixin::PartialRefreshError]: Expected([200, 203]) <=> Actual(404 Not Fo
und)
excon.error.response
  :body          => "{\"itemNotFound\": {\"message\": \"Flavor 5dcd5add-1e3c-4678-bf54-2bc4325b1198 could not be found.\", \"code\": 404}}"
  :cookies       => [
  ]
  :headers       => {
    "Content-Length"               => "109"
    "Content-Type"                 => "application/json; charset=UTF-8"
    "Date"                         => "Wed, 25 Jul 2018 15:49:48 GMT"
    "Openstack-Api-Version"        => "compute 2.1"
    "Vary"                         => "OpenStack-API-Version, X-OpenStack-Nova-API-Version"
    "X-Compute-Request-Id"         => "req-1b90f620-362c-420f-8c4a-d627173fadf5"
    "X-Openstack-Nova-Api-Version" => "2.1"
  }
  :host          => "cloudapimtl.desjardins.com"
  :local_address => "xxx.xxx.xxx.xxx"
  :local_port    => 54424
  :path          => "/v2.1/flavors/5dcd5add-1e3c-4678-bf54-2bc4325b1198/os-flavor-access"
  :port          => 8774
  :reason_phrase => "Not Found"
  :remote_ip     => "xxx.xxx.xxx.xxx"
  :status        => 404
  :status_line   => "HTTP/1.1 404 Not Found\r\n"
  Method:[rescue in deliver]

Version-Release number of selected component (if applicable):
CloudForms 5.8.3.4
OSP 10

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 6 Scott Seago 2018-08-17 14:11:28 UTC
This seems to be the caused by the same error handling bug that was fixed in https://bugzilla.redhat.com/show_bug.cgi?id=1460683

This bug was found in CloudForms 5.8.3.4. I checked the backport of the prior fix and it's not found in 5.8.3.4, which is why it's showing up here. However, it was included in 5.8.4, so I'm closing this as a duplicate.

*** This bug has been marked as a duplicate of bug 1460683 ***


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