Skip to content

[WIP] allow attribute based self-colocation of promotable roles - #4165

Open
wenningerk wants to merge 2 commits into
ClusterLabs:mainfrom
wenningerk:self_colocate
Open

[WIP] allow attribute based self-colocation of promotable roles#4165
wenningerk wants to merge 2 commits into
ClusterLabs:mainfrom
wenningerk:self_colocate

Conversation

@wenningerk

@wenningerk wenningerk commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

something like

Colocation Constraints:
  Promoted resource 'some_promotable_resource-clone' with Promoted resource 'some_promotable_resource-clone'
    score=INFINITY node-attribute=site_this_node_is_at

I marked the commit as a feature but actually we could call it a fix as well.
Tooling already allowed to configure this kind of constraints and people would as well do it intuitively.
Up to now this kind of constraints had been some kind of safe-noop.
If we allow more than one instance of a promotable-clone per node simple colocation of promoted-role (without attribute) might make sense as well. Have to check if that is working as well already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant