Skip to content

Ozone 1.4.0 HA mode on k8s unable to perform leadership election when kill one scm pod #7194

Answered by errose28
cnmac asked this question in FAQ
Discussion options

You must be logged in to vote

OZONE-SITE.XML_ozone.scm.service.ids: scmservice
OZONE-SITE.XML_ozone.scm.nodes.scmservice: scm0,scm1
OZONE-SITE.XML_ozone.scm.address.scmservice.scm0: scm-0.scm.{{ .Release.Namespace }}.svc.cluster.local
OZONE-SITE.XML_ozone.scm.address.scmservice.scm1: scm-1.scm.{{ .Release.Namespace }}.svc.cluster.local
OZONE-SITE.XML_ozone.scm.ratis.enable: "true"
OZONE-SITE.XML_ozone.scm.primordial.node.id: scm0

OM and SCM use Ratis (a Raft implementation) which requires an odd number of nodes for quorum. Please retry with either 1 or 3 SCM roles.

Two scm nodes are deployed, After the deployment is normal, a simple verification is performed as follows:

The first two commands in this verification …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cnmac
Comment options

Answer selected by cnmac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQ
Labels
None yet
2 participants