Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1100817

Summary: luci to cope with virtual machine in both plain and service-like resource (incl. complex defs in cluster.conf)
Product: Red Hat Enterprise Linux 6 Reporter: michal novacek <mnovacek>
Component: luciAssignee: Ryan McCabe <rmccabe>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.5CC: cluster-maint, fdinitto, jpokorny, rmccabe, rsteiger, tlavigne
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: luci-0.26.0-63.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1101266 (view as bug list) Environment:
Last Closed: 2014-10-14 04:13:16 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:
Bug Depends On:    
Bug Blocks: 1101266    

Description michal novacek 2014-05-23 13:59:52 UTC
Description of problem:
Luci does not present virtual machine resource agent in its "Resources" menu.
Having <vm ../> manually added to <cluster><rm><resources> will result in luci
showing error 500 when "Resources" are clicked.

Version-Release number of selected component (if applicable):
luci-0.26.0-48.el6.x86_64

How reproducible: always

Steps to Reproduce:
1. have running cman cluster
2. add <vm name="le-name" /> as a child tu <cluster><rm><resources> in
/etc/cluster/cluster.conf and reread config
3. in Luci web ui go to Cluster->Resources

Actual results: Error 500

Expected results: Usual resources page.

Other info:
cluster.conf containing <vm/> tag under resources validates with
ccs_config_validate.

Comment 2 Jan Pokorný [poki] 2014-05-26 13:15:34 UTC
There are two distinct use cases of "vm" as seen from rgmanager's
perspective:

1/ full-blown, but standalone virtual machine that can be migrated
   (represented with top-level "vm" tag)

2/ weaker, standard-resource-like notion of "vm" as a building block
   of service/resource group (i.e., tag under "service")

   2a/ "vm" defined in-line under "service"

   2b/ "vm" defined under "resources" and referenced from "service"


IIUIC, situation looks like this:

a. 2b/ is not properly supported on input, choking on such a construction
       in remote cluster.conf (hence this bug + reproducer)

b. 2b/ is not properly supported by means to extend cluster.conf in such
       way (hence originally reported [bug 1100280])

Ultimate solution to this bug should hence address both a. and b.,
getting closer to the versatility of editing cluster.conf manually.

Comment 4 Jan Pokorný [poki] 2014-05-26 13:32:40 UTC
To recap due to summary change, the sympthoms are:
- error 500 in case of cluster.conf contruction luci is not ready for,
  hence unability to cope with input (a.)
- unability to configure luci as per user's possible intentions (b.)

Comment 22 errata-xmlrpc 2014-10-14 04:13:16 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/RHSA-2014-1390.html