This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
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 1281359 - [RFE] pcs does not support resource templates in CIB
Summary: [RFE] pcs does not support resource templates in CIB
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pcs
Version: 8.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Tomas Jelinek
QA Contact: cluster-qe
URL:
Whiteboard:
: 1513538 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-12 11:38 UTC by Tomas Jelinek
Modified: 2023-09-22 18:19 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-09-22 18:19:07 UTC
Type: Story
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   RHEL-7587 0 None Migrated None 2023-09-22 18:19:04 UTC
Red Hat Knowledge Base (Solution) 3637221 0 None None None 2018-10-03 04:58:25 UTC

Description Tomas Jelinek 2015-11-12 11:38:49 UTC
Support for resource templates is missing in pcs. It is not possible to manage resource templates and use them in constraints nor resource creation. Pcs is not able to properly manage resources referencing templates.

See Chapter 12. Resource Templates in Pacemaker Explained:
http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html-single/Pacemaker_Explained/index.html#_configuring_resources_with_templates

Comment 1 Jan Pokorný [poki] 2015-11-26 17:26:33 UTC
This currently prevents "clufter ccs2pcscmd" emitting pcs commands of how
shared fence devices are encoded in CIB during the conversion process right
now (not that it cannot be changed, but it is inconvenient at the very
least).

Comment 3 Tomas Jelinek 2017-11-15 15:25:19 UTC
*** Bug 1513538 has been marked as a duplicate of this bug. ***

Comment 4 Jan Pokorný [poki] 2018-05-26 07:42:38 UTC
Similarly to [bug 1281358 comment 2], this could be worked around
using appropriate (currently non-existent) switch to cibadmin until
there's a proper support delivered in pcs.  Note that unline id-refs,
templates are first-class concept, substantially easier to present
to the users.

Re [comment 1]:
One of the options is to implement "template" exploding in XSLT,
which could then be reused as a filter in clufter easily, so
if the target pcs would be the one that doesn't resolve this
bug yet, it would resort to using that filter on the path
from CIB to pcs commands.

Comment 5 Jan Pokorný [poki] 2018-06-15 12:25:27 UTC
Templates _do_ get used -- as opposed to other syntanctic extensions
(extravagance); see the conclusion of the recent upstream community
survey (not very representative but at least some backing numbers):

https://lists.clusterlabs.org/pipermail/users/2018-June/015165.html

Comment 12 RHEL Program Management 2023-09-22 18:16:52 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 13 RHEL Program Management 2023-09-22 18:19:07 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.


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