OxL Reference

error placement-conflict

error Standard: [§12.1]

What it means#

The clauses of the roles must not contradict each other: shards/replication need journal in the same role; replication k needs replicas to allow at least k nodes; one label cannot have two values in needs; two roles must not expose the same port (a node may have several roles) and no role may expose the port of the cluster protocol; tls(acme:) and tls(cert:, key:) are alternatives.

Example#

oxl✓ checked in CI
cluster demo {
  role api  { expose 443 }
  role edge { expose 443 }   // <- placement-conflict
}
error
placement-conflict

How to fix#

Give each role its own port, or merge the roles.

See also#

OxL 1.0.0-beta · Documentation version 1.0.0-beta© OxwaldLink · generated from the Standard, the std sources and the guides