ClusterLabs / ClusterLabs/pcs

[input validation] pcs shall check that location constraint always relates to some nodes in one way or another

Open
#235 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
265
Forks
122
Avg merge
13h 23m
Merged PRs (30d)
14

Description

```
# pcs constraint location dummy rule id=till-the-new-year score=-INFINITY date gt 2020-01-01
# echo $?
> 0
```

->

```





```

This is a degenerate location constraint that achieves exactly nothing
but more complex overall configuration -- there's no actual "location"
specified in there.

At the very least, this shall raise a warning.

Relevant:
https://bugs.clusterlabs.org/show_bug.cgi?id=5415

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.