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 698890 - clustat doesn't show frozen state for qemu/kvm domains services
Summary: clustat doesn't show frozen state for qemu/kvm domains services
Keywords:
Status: CLOSED DUPLICATE of bug 634298
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: rgmanager
Version: 6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Lon Hohberger
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-22 07:56 UTC by Gianluca Cecchi
Modified: 2016-04-26 14:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 20:05:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Gianluca Cecchi 2011-04-22 07:56:36 UTC
Description of problem:
Freeze of vm based service is not viewable when using clustat

Version-Release number of selected component (if applicable):
3.0.12-10.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. have a vm based service running on node intrarhev1
[root@rhev1 ~]# clustat | grep rh56
 vm:rh56                        intrarhev1                     started       

From a libvirtd point of view:
[root@rhev1 ~]# virsh list 
 Id Name                 State
----------------------------------
 41 rh56                 running


2. freeze the vm based service with the domain running
[root@rhev1 ~]# clusvcadm -Z vm:rh56
Local machine freezing vm:rh56...Success

The server is still running from a libvirt point of view, as expected
[root@rhev1 ~]# virsh list 
 Id Name                 State
----------------------------------
 41 rh56                 running

3. run clustat again
  
Actual results:
[root@rhev1 ~]# clustat | grep rh56
 vm:rh56                        intrarhev1                     started   

Expected results:
[root@rhev1 ~]# clustat | grep rh56
 vm:rh56                        intrarhev1                     started   [Z]

Additional info:

The service is indeed frozen, in the sense that if you try for example to stop it you get an error:
[root@rhev1 ~]# clusvcadm -s vm:rh56
Local machine stopping vm:rh56...Failure: Service is frozen

Also, if you stop the guest with virsh command
[root@rhev1 ~]# virsh shutdown rh56
Domain rh56 is being shutdown

it is not recovered as it is indeed frozen, so not monitored by rgmanager.
With the domain yet stopped, if you run
[root@rhev1 ~]# clusvcadm -U vm:rh56
Local machine unfreezing vm:rh56...Success

the domain is then correctly restarted by rgmanager.
So all is good from a functional point of view, but it would be nice to have clustat give a notice of the frozen status of the service, as it is for "conventional" services.

Gianluca

Comment 2 RHEL Program Management 2011-04-23 06:00:23 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 3 Gianluca Cecchi 2011-04-25 13:17:22 UTC
Sincerely, I don't think it would be a big deal to solve this...
I only pointed out and opened the bugzilla to improve rh el experience and do my part giving back my feedback, but for sure I won't go through my support representative for this kind of bug.
Feel free to improve experience or leave it as it is now..

Comment 4 Perry Myers 2011-04-25 13:25:20 UTC
@Gianluca: Comment #2 is an 'automated comment' that gets put on all bugs.  Right now we're finishing up the RHEL 6.1 beta phase and that comment was just indicating that your bug probably won't make RHEL 6.1 since it was filed too late to the freeze dates for the external beta.  So we'll keep this open for RHEL 6.2.

As a hint... any comments you see from "RHEL Product and Program Management" in bugzilla are from bots and not from a real person.

Comment 5 Lon Hohberger 2011-05-19 20:05:18 UTC
* Thu Feb 03 2011 Lon Hohberger <lhh> - 3.0.12-11
- rgmanager: Present flags in clustat output
  (present_flags_in_clustat_output.patch)
  Resolves: rhbz#634298

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


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