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 - luci to cope with virtual machine in both plain and service-like resource (incl. complex defs in cluster.conf)
Summary: luci to cope with virtual machine in both plain and service-like resource (in...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: luci
Version: 6.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Ryan McCabe
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks: 1101266
TreeView+ depends on / blocked
 
Reported: 2014-05-23 13:59 UTC by michal novacek
Modified: 2015-04-08 13:48 UTC (History)
6 users (show)

Fixed In Version: luci-0.26.0-63.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1101266 (view as bug list)
Environment:
Last Closed: 2014-10-14 04:13:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1100280 0 unspecified CLOSED virtual machine (vm.sh) resource agent not present in luci 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1100831 0 low CLOSED Add Resource button disappears after selecting a VM resource 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHSA-2014:1390 0 normal SHIPPED_LIVE Moderate: luci security, bug fix, and enhancement update 2014-10-14 08:11:39 UTC

Internal Links: 1100280 1100831

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


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