Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1222642 - RHOS: VM Fleecing throws " ERROR -- : Q-task_id([4bef2b1a-fd6e-11e4-9b8c-0050569674e2]) <Fog> excon.error #<Excon::Errors::NotFound: Expected([200, 203]) <=> Actual(404 Not Found)"
RHOS: VM Fleecing throws " ERROR -- : Q-task_id([4bef2b1a-fd6e-11e4-9b8c-0050...
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: SmartState Analysis (Show other bugs)
5.4.0
Unspecified Unspecified
unspecified Severity medium
: GA
: 5.5.0
Assigned To: Hui Song
Ramesh A
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-05-18 13:19 EDT by Ramesh A
Modified: 2015-12-08 08:10 EST (History)
9 users (show)

See Also:
Fixed In Version: 5.5.0.8
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-12-08 08:10:17 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2551 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 12:58:09 EST

  None (edit)
Description Ramesh A 2015-05-18 13:19:25 EDT
Description of problem:
Initiating a vm fleece for an instance in RHOS4 throws fog error stating -  " ERROR -- : Q-task_id([4bef2b1a-fd6e-11e4-9b8c-0050569674e2]) <Fog> excon.error     #<Excon::Errors::NotFound: Expected([200, 203]) <=> Actual(404 Not Found)"

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

How reproducible:
Very

Steps to Reproduce:
1. Install a fresh appliance
2. Install VDDK kit and reboot the appliance
3. Manage RHOS provider
4. Create a policy to use a default analysis profile when performing smart state analysis is started
5. From Cloud/Instance, choose an instance and add the above created control policy via Manage Policies
6. Perform a smart state analysis on this Instance

Actual results:
Throws fog error stating "ERROR -- : Q-task_id([4bef2b1a-fd6e-11e4-9b8c-0050569674e2]) <Fog> excon.error     #<Excon::Errors::NotFound: Expected([200, 203]) <=> Actual(404 Not Found)".

Refer the log file for more details.

Expected results:
Should not throw any error message

Additional info:

evm.log:
========
[----] E, [2015-05-18T10:58:25.740177 #4911:f3fea8] ERROR -- : Q-task_id([4bef2b1a-fd6e-11e4-9b8c-0050569674e2]) <Fog> excon.error     #<Excon::Errors::NotFound: Expected([200, 203]) <=> Actual(404 Not Found)
excon.error.response
  :body          => "{\"itemNotFound\": {\"message\": \"Metadata item was not found\", \"code\": 404}}"
  :headers       => {
    "Content-Length"       => "73"
    "Content-Type"         => "application/json; charset=UTF-8"
    "Date"                 => "Mon, 18 May 2015 14:58:25 GMT"
    "X-Compute-Request-Id" => "req-c44af02a-2967-4638-8216-223956025cce"
  }
  :local_address => "10.8.59.177"
  :local_port    => 52416
  :reason_phrase => "Not Found"
  :remote_ip     => "10.16.4.62"
  :status        => 404
  :status_line   => "HTTP/1.1 404 Not Found\r\n"
>
Comment 2 CFME Bot 2015-10-27 13:01:33 EDT
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=3dd50ecb0466d2b1cecf2a3a4a0269506aa09dd7

commit 3dd50ecb0466d2b1cecf2a3a4a0269506aa09dd7
Merge: a94be79 06ce30a
Author:     Richard Oliveri <roliveri@redhat.com>
AuthorDate: Tue Oct 27 12:51:37 2015 -0400
Commit:     Richard Oliveri <roliveri@redhat.com>
CommitDate: Tue Oct 27 12:51:37 2015 -0400

    Merge branch 'fog_error_1222642' into '5.4.z'
    
    Checked if metadata is empty before retrieving snapshot info
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1222642
    
    The FOG exception was raised because Fog::Compute::OpenStack::Metadata was empty. Added a check before to use it to retrieve snapshot information. The corresponding PR is #5034 and has been merged into upstream.
    
    See merge request !300

 lib/OpenStackExtract/MiqOpenStackVm/MiqOpenStackInstance.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Ramesh A 2015-11-17 12:21:33 EST
The above mention issue is not observed in the latest build.  However seeing another issue which is logged in BZ#1282878.  Not sure if it is the result of this issue.
Comment 4 Ramesh A 2015-11-17 12:21:57 EST
Hui Song,
Can you please confirm it?

Thanks,
Ramesh
Comment 7 Ramesh A 2015-11-18 12:53:10 EST
Good to go. Verified and working fine in 5.5.0.10-beta2.1.20151110134042_d6f5459.
Comment 9 errata-xmlrpc 2015-12-08 08:10:17 EST
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.