Bug 1006946 - [engine-backend] [external-provider] there should be a timeout failure when engine is unable to refresh images list of a glance storage domain
Summary: [engine-backend] [external-provider] there should be a timeout failure when e...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.3.0
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.3.0
Assignee: Nobody
QA Contact:
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-11 14:33 UTC by Elad
Modified: 2016-02-10 16:34 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-16 12:01:28 UTC
oVirt Team: Storage
Target Upstream Version:


Attachments (Terms of Use)
logs and screenshot (169.89 KB, application/x-gzip)
2013-09-11 14:33 UTC, Elad
no flags Details

Description Elad 2013-09-11 14:33:46 UTC
Created attachment 796424 [details]
logs and screenshot

Description of problem:
When engine is unable to refresh and get images list of a glance storage domain, it should fail GetImagesListQuery after a few minutes.

Version-Release number of selected component (if applicable):
rhevm-3.3.0-0.19.master.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. add a glance images external provider to RHEVM
2. change the password in OpenStack so engine will fail to connect and get the images list.

Actual results:
There is no failure by engine, it keeps trying to refresh the list forever

Expected results:
Engine should fail the action after a certain amount of time


Additional info:
logs and screenshot

Comment 1 Ayal Baron 2013-09-15 11:29:36 UTC
(In reply to Elad from comment #0)
> Created attachment 796424 [details]
> logs and screenshot
> 
> Description of problem:
> When engine is unable to refresh and get images list of a glance storage
> domain, it should fail GetImagesListQuery after a few minutes.
> 
> Version-Release number of selected component (if applicable):
> rhevm-3.3.0-0.19.master.el6ev.noarch
> 
> How reproducible:
> 100%
> 
> Steps to Reproduce:
> 1. add a glance images external provider to RHEVM
> 2. change the password in OpenStack so engine will fail to connect and get
> the images list.
> 
> Actual results:
> There is no failure by engine, it keeps trying to refresh the list forever
> 
> Expected results:
> Engine should fail the action after a certain amount of time
> 
> 
> Additional info:
> logs and screenshot

Is there anything in the logs?

Comment 2 Elad 2013-09-15 11:35:11 UTC
> Is there anything in the logs?

2013-09-11 17:00:51,736 INFO  [org.ovirt.engine.core.utils.transaction.TransactionSupport] (ajp-/127.0.0.1:8702-6) transaction rolled back
2013-09-11 17:00:51,737 ERROR [org.ovirt.engine.core.bll.GetImagesListQuery] (ajp-/127.0.0.1:8702-6) Query GetImagesListQuery failed. Exception message is Unauthorized

Comment 3 Ayal Baron 2013-09-16 12:01:28 UTC
(In reply to Elad from comment #2)
> > Is there anything in the logs?
> 
> 2013-09-11 17:00:51,736 INFO 
> [org.ovirt.engine.core.utils.transaction.TransactionSupport]
> (ajp-/127.0.0.1:8702-6) transaction rolled back
> 2013-09-11 17:00:51,737 ERROR [org.ovirt.engine.core.bll.GetImagesListQuery]
> (ajp-/127.0.0.1:8702-6) Query GetImagesListQuery failed. Exception message
> is Unauthorized

Then this is not a bug.
The relevant info is logged, engine has no reason to stop trying (no point in starting to differentiate between the different errors).  Once the problem is resolved then this will go back working.


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