Bug 961179

Summary: symbolic link rhevh-adv-latest-6.iso and rhev-hypervisor-advanced.iso still exist after unload rhev-h advanced package
Product: Red Hat Enterprise Virtualization Manager Reporter: haiyang,dong <hadong>
Component: rhev-hypervisorAssignee: Mike Burns <mburns>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: low Docs Contact:
Priority: medium    
Version: unspecifiedCC: chchen, cshao, gouyang, hadong, hateya, huiwa, iheim, leiwang, mburns, pstehlik, ycui
Target Milestone: ---Keywords: Regression
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: node
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 961338 (view as bug list) Environment:
Last Closed: 2013-05-15 15:25:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 961338    

Description haiyang,dong 2013-05-09 04:03:47 UTC
Description of problem:
After instalation of package rhev-hypervisor6-6.4-20130501.0.el6_4.noarch.rpm,
then instalation of package rhev-hypervisor-advanced-6.4-20130508.1.el6ev.noarch.rpm,after unload package rhev-hypervisor-advanced-6.4-20130508.1.el6ev.noarch.rpm,
check that symbolic link rhevh-adv-latest-6.iso and rhev-hypervisor-advanced.iso still exist in the /usr/share/rhev-hypervisor/.
and they are pointing to the file /usr/share/rhev-hypervisor/rhev-hypervisor-advanced-6.4-20130501.0.el6_4.iso,
[root@localhost iso]# ls -ls /usr/share/rhev-hypervisor/
     4 lrwxrwxrwx 1 root root        76 May  9 10:35 rhevh-adv-latest-6.iso -> /usr/share/rhev-hypervisor/rhev-hypervisor-advanced-6.4-20130501.0.el6_4.iso
     4 lrwxrwxrwx 1 root root        76 May  9 10:35 rhev-hypervisor-advanced.iso -> /usr/share/rhev-hypervisor/rhev-hypervisor-advanced-6.4-20130501.0.el6_4.iso

which does not exist
[root@localhost iso]# ls -sl /usr/share/rhev-hypervisor/rhev-hypervisor-advanced-6.4-20130501.0.el6_4.iso
ls: cannot access /usr/share/rhev-hypervisor/rhev-hypervisor-advanced-6.4-20130501.0.el6_4.iso: No such file or directory


Version-Release number of selected component (if applicable):
rhev-hypervisor-advanced-6.4-20130508.1.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install package rhev-hypervisor6-6.4-20130501.0.el6_4.noarch.rpm
2. Then install package rhev-hypervisor-advanced-6.4-20130508.1.el6ev.noarch.rpm
3. rpm -e rhev-hypervisor-advanced-6.4-20130508.1.el6ev.noarch
  
Actual results:
symbolic link rhevh-adv-latest-6.iso and rhev-hypervisor-advanced.iso still exist
in the /usr/share/rhev-hypervisor/ after unload rhev-h advanced package

Expected results:
symbolic link rhevh-adv-latest-6.iso and rhev-hypervisor-advanced.iso should also be deleted
in the /usr/share/rhev-hypervisor/ after unload rhev-h advanced package

Additional info:
After unload the package rhev-hypervisor-advanced-6.4-20130508.1.el6ev.noarch
[root@localhost iso]# ls -ls /usr/share/rhev-hypervisor/
total 183316
183296 -rw-r--r-- 1 root root 187695104 May  2 08:12 rhevh-6.4-20130501.0.el6_4.iso
     4 lrwxrwxrwx 1 root root        76 May  9 10:35 rhevh-adv-latest-6.iso -> /usr/share/rhev-hypervisor/rhev-hypervisor-advanced-6.4-20130501.0.el6_4.iso
     0 lrwxrwxrwx 1 root root        57 May  9 10:33 rhevh-latest-6.iso -> /usr/share/rhev-hypervisor/rhevh-6.4-20130501.0.el6_4.iso
     0 lrwxrwxrwx 1 root root        57 May  9 10:33 rhev-hypervisor6.iso -> /usr/share/rhev-hypervisor/rhevh-6.4-20130501.0.el6_4.iso
     4 lrwxrwxrwx 1 root root        76 May  9 10:35 rhev-hypervisor-advanced.iso -> /usr/share/rhev-hypervisor/rhev-hypervisor-advanced-6.4-20130501.0.el6_4.iso
     4 -rw-r--r-- 1 root root         8 May  2 08:18 vdsm-compatibility-6.4-20130501.0.el6_4.txt
     4 lrwxrwxrwx 1 root root        70 May  9 10:35 vdsm-compatibility.txt -> /usr/share/rhev-hypervisor/vdsm-compatibility-6.4-20130501.0.el6_4.txt
     4 -rw-r--r-- 1 root root        21 May  2 08:18 version-6.4-20130501.0.el6_4.txt
     0 lrwxrwxrwx 1 root root        59 May  9 10:35 version.txt -> /usr/share/rhev-hypervisor/version-6.4-20130501.0.el6_4.txt

Comment 1 haiyang,dong 2013-05-09 08:56:35 UTC
NO this issue on build rhev-hypervisor-advanced-6.4-20130501.0.el6ev, so it's a regression bug.

Comment 3 Mike Burns 2013-05-15 15:25:37 UTC
This was fixed as part of bug 924665

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