Bug 1224190
| Summary: | "service virt-who stop" failed when set "VIRTWHO_INTERVAL" <= 5 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Eko <hsun> | 
| Component: | virt-who | Assignee: | Radek Novacek <rnovacek> | 
| Status: | CLOSED ERRATA | QA Contact: | gaoshang <sgao> | 
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.7 | CC: | gxing, ovasik, rbalakri, sgao, shihliu, tlavigne | 
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | virt-who-0.16-1.el6 | Doc Type: | Bug Fix | 
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-05-10 23:55:09 UTC | Type: | Bug | 
| Regression: | --- | Mount Type: | --- | 
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| 
 
        
          Description
        
        
          Eko
        
        
        
        
        
          2015-05-22 10:12:43 UTC
        
       
      
      
      
    Fixed in virt-who-0.12-9.el6. Check this issue on virt-who-0.12-10.el6.noarch, still can be duplicated when set the VIRTWHO_INTERVAL=1 1). set VIRTWHO_INTERVAL=1 in /etc/sysconfig/virt-who 2). restart virt-who # /etc/init.d/virt-who restart Stopping virt-who: [FAILED] Starting virt-who: [ OK ] 3). check virt-who PID # ps -ef|grep virt-who root 19391 1 5 10:16 ? 00:00:00 /usr/bin/python /usr/share/virt-who/virtwho.py root 19397 19391 3 10:16 ? 00:00:00 /usr/bin/python /usr/share/virt-who/virtwho.py 4). stop virt-who # /etc/init.d/virt-who stop Stopping virt-who: [ OK ] 5). check virt-who PID again # ps -ef|grep virt-who root 19397 1 0 10:16 ? 00:00:00 /usr/bin/python /usr/share/virt-who/virtwho.py [Result]: virt-who PID 19397 still exist. This bug is not very serious, as it's only reproducible with small interval only. Moving to 6.8. This issue looks like to be fixed upstream, it will be fixed by rebase. Fixed by rebase to virt-who-0.16-1.el6. Verified it on virt-who-0.16-3.el6.noarch since virt-who PID can be killed when stop virt-who service. Verified version: virt-who-0.16-3.el6.noarch subscription-manager-1.16.8-1.el6.x86_64 python-rhsm-1.16.6-1.el6.x86_64 Verified process: 1. Set VIRTWHO_INTERVAL=5 or smaller than 5 [root@intel-canoepass-10 ~]# vi /etc/sysconfig/virt-who VIRTWHO_INTERVAL=1/2/3/4/5 2. Restart virt-who [root@intel-canoepass-10 ~]# service virt-who restart Stopping virt-who: [ OK ] Starting virt-who: [ OK ] 3. Stop virt-who [root@intel-canoepass-10 ~]# service virt-who stop Stopping virt-who: [ OK ] 4. check virt-who PID [root@intel-canoepass-10 ~]# ps -ef|grep virt-who root 14584 10536 0 03:47 pts/1 00:00:00 grep virt-who Result: virt-who PID can be killed when stop virt-who service when set refresh interval smaller than 5s. Therefore, verify it. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-0859.html  |