Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1281358 - pcs does not support id-ref in CIB
Summary: pcs does not support id-ref in CIB
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pcs
Version: 7.2
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: rc
: ---
Assignee: Tomas Jelinek
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-12 11:34 UTC by Tomas Jelinek
Modified: 2018-11-02 01:54 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Bugzilla 1441332 None NEW pcs should take "referential integrity" seriously (as in ON DELETE CASCADE) when it makes sense to prevent unnecessary d... 2019-02-07 09:52:12 UTC

Internal Links: 1441332

Description Tomas Jelinek 2015-11-12 11:34:54 UTC
id-ref is described in Pacemaker Explained chapter 9.4. Reusing Rules, Options and Sets of Operations
http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html-single/Pacemaker_Explained/index.html#s-reusing-config-elements

It is not possible to reference CIB elements using id-ref in pcs. Also pcs cannot properly handle a CIB with id-refs - id-refs are ignored.

Comment 2 Jan Pokorný [poki] 2018-05-26 07:36:12 UTC
In theory, pcs can avoid any contact with id-refs completely, just
using appropriate (currently non-existent) switch to cibadmin would
be enough:

https://github.com/ClusterLabs/pacemaker/pull/1492#issuecomment-392114832

Mentioned unfolding is now important also in the context of schema
upgrades.

Comment 3 Jan Pokorný [poki] 2018-09-12 10:11:46 UTC
Just leaving it here:
https://lists.clusterlabs.org/pipermail/users/2018-September/015677.html


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