<!DOCTYPE html>
<html data-lt-installed="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body style="padding-bottom: 1px;">
<p>Hi,</p>
<p>I can confirm that clustering works.<br>
</p>
<p>We have a running 3 node midPoint cluster on top of a bare-metal
Kubernetes cluster.<br>
The clustering part of your config that you shared is the same
that we have.</p>
<p>Also, I don't remember running into this issue during setup of my
instance.</p>
<p>Kind regards,</p>
<p>Sven<br>
</p>
<div class="moz-cite-prefix">Am 17.01.24 um 10:53 schrieb SHARMA
Kapil via midPoint:<br>
</div>
<blockquote type="cite"
cite="mid:PAYP264MB44558B4F06A24FDB945117D8D4722@PAYP264MB4455.FRAP264.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator"
content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:"Roboto Mono";}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-ligatures:standardcontextual;}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";
mso-ligatures:none;}span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}p.msipheadercbcacb55, li.msipheadercbcacb55, div.msipheadercbcacb55
{mso-style-name:msipheadercbcacb55;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="msipheadercbcacb55" style="margin:0in"><span
style="font-size:10.0pt;color:green">THALES GROUP LIMITED
DISTRIBUTION to email recipients
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-ligatures:none"><o:p> </o:p></span></p>
<p class="MsoNormal">Hello Everyone,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I hope you all are doing well.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>Can anyone confirm if midPoint 4.8
Cluster configuration works ?<o:p></o:p></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Because I am facing similar issue with <b>Kubernetes</b>
, <b>
Docker</b> and even the solution given in <b>kustomization.yaml</b>
in <a
href="https://github.com/Evolveum/midpoint-kubernetes/tree/main/midpoint-live-demo"
moz-do-not-send="true" class="moz-txt-link-freetext">
https://github.com/Evolveum/midpoint-kubernetes/tree/main/midpoint-live-demo</a>
, same issue has been seen in
<b>RDS based deployment for aws ec2 cluster</b>.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<pre style="background:#F8F8F8"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">I am trying to deploy a Cluster of midpoint 4.8 nodes in GCP Kubernetes and as soon as I scale up (</span><span
style="font-family:"Roboto Mono";color:black">kubectl scale </span><span
style="font-family:"Roboto Mono";color:navy">-n</span><span
style="font-family:"Roboto Mono";color:black"> mp-demo </span><span
style="font-family:"Roboto Mono";color:navy">--replicas</span><b><span
style="font-family:"Roboto Mono";color:black">=</span></b><span
style="font-family:"Roboto Mono";color:black">2 statefulset/mp-pg-demo</span><span
style="color:black">), </span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">I am unable to login on midpoint and see below error message in the midpoint logs.</span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p></o:p></span></pre>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Logs :<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Caused by: java.net.UnknownHostException:
UnknownHostException invoking
<a
href="http://mp-0.mp-service.idm-poc.svc.cluster.local:8080/midpoint/ws/cluster/event/invalidation/connectors/d0da10c8-5e8d-4533-a1d8-ecc802ab5c36"
moz-do-not-send="true" class="moz-txt-link-freetext">
http://mp-0.mp-service.idm-poc.svc.cluster.local:8080/midpoint/ws/cluster/event/invalidation/connectors/d0da10c8-5e8d-4533-a1d8-ecc802ab5c36</a>:
null<o:p></o:p></p>
<p class="MsoNormal"> at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)<o:p></o:p></p>
<p class="MsoNormal"> at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)<o:p></o:p></p>
<p class="MsoNormal"> at
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)<o:p></o:p></p>
<p class="MsoNormal"> at
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)<o:p></o:p></p>
<p class="MsoNormal"> at
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)<o:p></o:p></p>
<p class="MsoNormal"> at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.mapException(HTTPConduit.java:1428)<o:p></o:p></p>
<p class="MsoNormal"> at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1409)<o:p></o:p></p>
<p class="MsoNormal"> at
org.apache.cxf.io.AbstractWrappedOutputStream.close(AbstractWrappedOutputStream.java:77)<o:p></o:p></p>
<p class="MsoNormal"> at
org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)<o:p></o:p></p>
<p class="MsoNormal"> at
org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:696)<o:p></o:p></p>
<p class="MsoNormal"> at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:63)<o:p></o:p></p>
<p class="MsoNormal"> ... 54 common frames omitted<o:p></o:p></p>
<p class="MsoNormal">Caused by: java.net.UnknownHostException:
null<o:p></o:p></p>
<p class="MsoNormal"> at
org.apache.cxf.transport.http.HttpClientHTTPConduit$HttpClientWrappedOutputStream.getResponse(HttpClientHTTPConduit.java:441) <o:p></o:p></p>
<p class="MsoNormal"> at
org.apache.cxf.transport.http.HttpClientHTTPConduit$HttpClientWrappedOutputStream.getResponseCode(HttpClientHTTPConduit.java:462)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doProcessResponseCode(HTTPConduit.java:1629)<o:p></o:p></p>
<p class="MsoNormal"> at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1660)<o:p></o:p></p>
<p class="MsoNormal"> at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1602)<o:p></o:p></p>
<p class="MsoNormal"> at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1396)<o:p></o:p></p>
<p class="MsoNormal"> ... 58 common frames omitted<o:p></o:p></p>
<p class="MsoNormal">Caused by:
java.nio.channels.UnresolvedAddressException: null<o:p></o:p></p>
<p class="MsoNormal"> at
java.base/sun.nio.ch.Net.checkAddress(Net.java:149)<o:p></o:p></p>
<p class="MsoNormal"> at
java.base/sun.nio.ch.Net.checkAddress(Net.java:157)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have already added below env variable in
the stateful yaml file as mentioned in
<a
href="https://docs.evolveum.com/midpoint/install/kubernetes/cluster/"
moz-do-not-send="true" class="moz-txt-link-freetext">https://docs.evolveum.com/midpoint/install/kubernetes/cluster/</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> - name:
MP_SET_midpoint_taskManager_clustered<o:p></o:p></p>
<p class="MsoNormal"> value: "true"<o:p></o:p></p>
<p class="MsoNormal"> - name:
MP_SET_midpoint_nodeIdSource<o:p></o:p></p>
<p class="MsoNormal"> value: hostname<o:p></o:p></p>
<p class="MsoNormal"> - name:
MP_SET_midpoint_keystore_keyStorePath<o:p></o:p></p>
<p class="MsoNormal"> value:
/opt/midpoint/mount-keystore/keystore.jceks<o:p></o:p></p>
<p class="MsoNormal"> - name:
MP_SET_midpoint_keystore_keyStorePassword_FILE<o:p></o:p></p>
<p class="MsoNormal"> value:
/opt/midpoint/mount-keystore/keystore
<o:p></o:p></p>
<p class="MsoNormal"> volumeMounts:<o:p></o:p></p>
<p class="MsoNormal"> - name: mp-home<o:p></o:p></p>
<p class="MsoNormal"> mountPath: /opt/midpoint/var<o:p></o:p></p>
<p class="MsoNormal"> - name: db-pass<o:p></o:p></p>
<p class="MsoNormal"> mountPath:
/opt/midpoint/config-secrets<o:p></o:p></p>
<p class="MsoNormal"> - name: keystore<o:p></o:p></p>
<p class="MsoNormal"> mountPath:
/opt/midpoint/mount-keystore<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you !<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span style="mso-ligatures:none">Regards<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span
style="color:#1F497D;mso-ligatures:none" lang="EN-IN">Kapil
Sharma<o:p></o:p></span></b></p>
<p class="MsoNormal"><span
style="color:#1F497D;mso-ligatures:none" lang="EN-IN">Technical
Lead</span><span style="font-size:10.0pt;mso-ligatures:none"
lang="EN-IN"><br>
<b><span style="color:gray">DIS-CPL</span></b></span><b><span
style="color:#1F497D;mso-ligatures:none" lang="EN-IN"><o:p></o:p></span></b></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;mso-ligatures:none"><img
style="width:1.4583in;height:.3416in" id="Picture_x0020_1"
src="cid:part1.W0mD0HgP.yeoK3AxI@stuvus.uni-stuttgart.de"
class="" width="140" height="33" border="0"></span><span
style="mso-ligatures:none"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Sven Feyerabend
Referent für IT-Betreuung
stuvus – Studierendenvertretung Universität Stuttgart
Pfaffenwaldring 5c
70569 Stuttgart</pre>
</body>
<lt-container></lt-container>
</html>