Bug 1217220

Summary: Metadata item was not found
Product: Red Hat CloudForms Management Engine Reporter: Thom Carlin <tcarlin>
Component: SmartState AnalysisAssignee: Jerry Keselman <jkeselma>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: high Docs Contact:
Priority: high    
Version: 5.4.0CC: cpelland, dajohnso, jhardy, jprause, nansari, obarenbo, tcarlin, vrutkovs
Target Milestone: GAKeywords: ZStream
Target Release: 5.5.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: smartstate:openstack
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-21 14:45:27 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:

Description Thom Carlin 2015-04-29 19:39:05 UTC
Description of problem:

Performing Smartstate Analysis produces unexpected error

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

5.4.0.0.23.20150423131011_69b48fd

How reproducible:

Unsure

Steps to Reproduce:
1. Perform SmartState Analysis on RHOS VM
2.
3.

Actual results:

Metadata item was not found

Expected results:

No error, successful SmartState Analysis

Additional info:

evm.log excerpt:
ERROR -- : Q-task_id([d64852f4-edc0-11e4-acb3-001a4a60db13]) <Fog> excon.error     #<Excon::Errors::NotFound: Expected([200, 203]) <=> Actual(404 Not
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"                 => "Sat, 25 Apr 2015 11:13:30 GMT"
    "X-Compute-Request-Id" => "req-1ddc5531-2ccd-4659-8080-f0224f44f7e2"
  }
  :local_address => "10.16.6.38"
  :local_port    => 41020
  :reason_phrase => "Not Found"
  :remote_ip     => "10.16.4.119"
  :status        => 404
  :status_line   => "HTTP/1.1 404 Not Found\r\n"
>

occurs twice for each VM
VM is available with logfiles

Comment 2 Jerry Keselman 2015-04-30 18:28:32 UTC
Access to the logfiles and environment would help.  Thanks.

Comment 3 Thom Carlin 2015-04-30 18:37:10 UTC
Supplied via IRC

Comment 4 Jerry Keselman 2015-05-04 15:39:52 UTC
While this log message does appear one time (not twice) upon fleecing a RHOS VM, the smart state analysis does complete and the data for the VM is updated depending upon what information is available in the image from which the VM (instance) was built (for instance I just built a new instance and fleeced it and the security information - users and groups - was updated, in addition to the "last analyzed date"). I do believe this is a bug that should be investigated, but I do not think this is a BLOCKER bug.

Comment 6 Thom Carlin 2015-05-05 12:03:19 UTC
For the VM, I see packages and users but not files.

Comment 8 John Prause 2016-03-14 15:52:49 UTC
Deferring to 5.5.4 since today is dev complete for 5.5.3

Comment 9 Jerry Keselman 2016-04-19 15:21:21 UTC
Changing the needinfo to Thom

Comment 11 Jerry Keselman 2016-04-21 14:45:27 UTC
Closing.