Bug 1047850 - Disks list under disks tab disappears when switching between view style (All, Images, Direct LUN)
Summary: Disks list under disks tab disappears when switching between view style (All,...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.3.1
Assignee: Daniel Erez
QA Contact: Pavel Stehlik
URL:
Whiteboard: storage
: 1168754 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-02 11:39 UTC by Raz Tamir
Modified: 2016-02-10 16:34 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-06 16:45:42 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
engine.log (4.36 MB, application/x-gzip)
2014-01-06 16:01 UTC, Elad
no flags Details

Description Raz Tamir 2014-01-02 11:39:58 UTC
Description of problem:
When switching view style in disks list under the disks tab (e.g. from 'All' radio button to 'Images' and then to 'All' again), the disks list disappears


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

How reproducible:
100%

Steps to Reproduce:
1. In 'Disks' tab switch to different style view ('All', 'Images', 'Direct LUN')
2. then switch again


Actual results:
the disks list disappears

Expected results:
Show the list under the desired style view

Additional info:

Comment 2 Daniel Erez 2014-01-05 16:28:58 UTC
Hi Raz,

I can't seem to reproduce the issue on latest build.
* Can you please provide engine logs and relevant screen shots
  (or preferably, a video screen capture).
* Do you encounter the issue in main-tab and/or sub-tab?

Thanks,
Daniel

Comment 3 Raz Tamir 2014-01-06 12:35:49 UTC
duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1019659

Comment 4 Daniel Erez 2014-01-06 15:22:03 UTC

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

Comment 5 Elad 2014-01-06 16:01:09 UTC
Created attachment 846154 [details]
engine.log

Reproduced on is29, Attaching engine.log

2014-01-06 17:53:21,345 ERROR [org.ovirt.engine.core.bll.SearchQuery] (ajp-/127.0.0.1:8702-2) Query SearchQuery failed. Exception message is StatementCallback; bad SQL grammar [SELECT * FROM (SELECT * FROM storage_domains_for_search WHERE ( id IN (SELECT storage_domains_with_hosts_view.id FROM  storage_domains_with_hosts_view   WHERE  storage_domains_with_hosts_view.storage_pool_name LIKE 'posix4' ))  ORDER BY storage_name ASC ) as T1 OFFSET (1 -1) LIMIT 100]; nested exception is org.postgresql.util.PSQLException: The column name disk_storage_type was not found in this ResultSet.

Comment 6 Elad 2014-01-06 16:03:50 UTC
Error continues in the log:

2014-01-06 17:53:22,205 WARN  [org.ovirt.engine.core.bll.SearchQuery] (ajp-/127.0.0.1:8702-5) ResourceManager::searchBusinessObjects - erroneous search text - Storage: datacenter = posix4 and disk_type = image

Comment 7 Daniel Erez 2014-01-06 16:27:38 UTC
The 'and disk_type = image' postfix should be added only for 'Disks:' search.
Doesn't reproduce on Firefox26/Chrome - seems to affect only Firefox 17 when navigating quickly between tabs. I'll try to check the issue on a clean environment with Firefox 17.

Comment 8 Daniel Erez 2014-01-06 16:45:42 UTC
The issue seems to be with browser's cache after upgrading builds - restarting FF solves the issue. Also, doesn't reproduce on a fresh FF17. Closing as WORKSFORME, please reopen if reproduced.

Comment 9 Daniel Erez 2014-12-01 15:37:24 UTC
*** Bug 1168754 has been marked as a duplicate of this bug. ***


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