<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<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 Definitions */
@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";}
/* Style Definitions */
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;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<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">
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">
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/">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 lang="EN-IN" style="color:#1F497D;mso-ligatures:none">Kapil Sharma<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-IN" style="color:#1F497D;mso-ligatures:none">Technical Lead</span><span lang="EN-IN" style="font-size:10.0pt;mso-ligatures:none"><br>
<b><span style="color:gray">DIS-CPL</span></b></span><b><span lang="EN-IN" style="color:#1F497D;mso-ligatures:none"><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;mso-ligatures:none"><img border="0" width="140" height="33" style="width:1.4583in;height:.3416in" id="Picture_x0020_1" src="cid:image001.png@01DA4953.D3F716F0"></span><span style="mso-ligatures:none"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>