Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1047850

Summary: Disks list under disks tab disappears when switching between view style (All, Images, Direct LUN)
Product: Red Hat Enterprise Virtualization Manager Reporter: Raz Tamir <ratamir>
Component: ovirt-engine-webadmin-portalAssignee: Daniel Erez <derez>
Status: CLOSED WORKSFORME QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acanan, acathrow, amureini, derez, ebenahar, ecohen, iheim, ratamir, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-06 16:45:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine.log none

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. ***