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

Bug 924692

Summary: [Admin Portal] Clicking on a host's hook name breaks line decoration of selected Host in the list
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: ovirt-engine-webadmin-portalAssignee: Ravi Nori <rnori>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Belka <jbelka>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acathrow, ecohen, emesika, iheim, jbelka, jkt, oramraz, Rhev-m-bugs
Target Milestone: ---   
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-25 09:27:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine.log none

Description Jiri Belka 2013-03-22 10:50:29 UTC
Created attachment 714478 [details]
engine.log

Description of problem:
Clicking on a host's hook name breaks line colouring of selected Host in the list. It means - when you click on a hook name, then click on different host, the colour of selected line is not changing, it's kept to the host which hook name you clicked on. Although in reality the host is change but the line colouring is still on "old" host.

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

How reproducible:
100%

Steps to Reproduce:
0. have 2 hosts in env
1. have a vdsm hook, see 'Additional info' for example
2. restart vdsm to have hook listed in Admin Portal
3. in admin portal, go to Hosts and select the one which does _NOT_ have any hooks
4. check the host's Host hooks subtab (nothing there)
5. select other host which has your hook
6. check the host's Host hooks subtab (your hooks is listed)
7. select by mouse the hook
8. click on previous host in the list (resource list of Hosts tab)
  
Actual results:
Clicking on a host's hook name breaks line colouring of selected Host in the list.

Expected results:
color decoration of selected line should work as expected

Additional info:
example hook

touch /usr/libexec/vdsm/hooks/before_vm_start/00_checkenv.sh
chmod 755 /usr/libexec/vdsm/hooks/before_vm_start/00_checkenv.sh
cat > /usr/libexec/vdsm/hooks/before_vm_start/00_checkenv.sh << _EOF
#!/bin/sh

env | tee /tmp/checkenv.out
true
_EOF

Comment 1 Jiri Belka 2013-03-22 11:15:36 UTC
Logoff, login again, issue still exists (the line decoration is stucked). Close FF, start FF, login, works OK untill again you click on hook name. RHEL6.4 FF10.x.

Comment 3 Ravi Nori 2013-11-22 14:22:16 UTC
It is working as expected on current master

Please check if this can be reproduced on the latest build

Comment 4 Jiri Belka 2013-11-25 09:16:52 UTC
Cannot reproduce on is24.1.