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" >
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> AuthorDate: Tue Oct 27 12:51:37 2015 -0400 Commit: Richard Oliveri <roliveri> 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(-)
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.
Hui Song, Can you please confirm it? Thanks, Ramesh
Good to go. Verified and working fine in 5.5.0.10-beta2.1.20151110134042_d6f5459.
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