RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 849184 - fix service restarts
Summary: fix service restarts
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sanlock
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: David Teigland
QA Contact: Haim
URL:
Whiteboard:
: 830858 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-17 15:50 UTC by David Teigland
Modified: 2014-01-13 00:53 UTC (History)
7 users (show)

Fixed In Version: sanlock-2.3-4.el6_3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-04 18:15:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:1507 0 normal SHIPPED_LIVE sanlock bug fix and enhancement update 2012-12-04 23:06:47 UTC

Description David Teigland 2012-08-17 15:50:24 UTC
Description of problem:

The sanlock and wdmd daemons maintained a constant connection even when it
was not needed.  This prevented them from each being restarted
independently for upgrade.

test: put into maintenance mode, so no sanlock lockspaces are in use, then
verify restarting each works:
service wdmd restart
Stopping wdmd:                                             [  OK  ]
Starting wdmd:                                             [  OK  ]
service sanlock restart
Sending stop signal sanlock:                               [  OK  ]
Waiting for sanlock to stop:                               [  OK  ]
Starting sanlock:                                          [  OK  ]

commit
sanlock/wdmd: remove global connection

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 David Teigland 2012-08-22 16:11:18 UTC
now two commits
sanlock/wdmd: remove global connection
init: use checkpid when stopping the services

Comment 4 David Teigland 2012-09-20 21:14:43 UTC
*** Bug 830858 has been marked as a duplicate of this bug. ***

Comment 5 Leonid Natapov 2012-11-28 10:18:00 UTC
fixed.
[root@purple-vds3 ~]# rpm -qa | grep sanlock
sanlock-python-2.3-4.el6_3.x86_64
libvirt-lock-sanlock-0.9.10-21.el6_3.6.x86_64
sanlock-2.3-4.el6_3.x86_64
sanlock-lib-2.3-4.el6_3.x86_64

[root@purple-vds3 ~]# service wdmd restart
Sending stop signal wdmd (2039):                           [  OK  ]
Waiting for wdmd (2039) to stop:                           [  OK  ]
Starting wdmd:                                             [  OK  ]
[root@purple-vds3 ~]# service sanlock restart
Sending stop signal sanlock (2066):                        [  OK  ]
Waiting for sanlock (2066) to stop:                        [  OK  ]
Starting sanlock:                                          [  OK  ]

Comment 7 errata-xmlrpc 2012-12-04 18:15:33 UTC
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.

http://rhn.redhat.com/errata/RHBA-2012-1507.html


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