<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I see at least one place [1] where keystone is configured to listen on 0.0.0.0, so that's probably why.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
[1] <a href="https://github.com/openstack/openstack-helm/blob/master/keystone/values.yaml#L949" style="" id="LPlnk604849">
https://github.com/openstack/openstack-helm/blob/master/keystone/values.yaml#L949</a><br>
</div>
<div>
<div id="appendonsend"></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size: 11pt;" data-ogsc="" face="Calibri, sans-serif" color="#000000"><b>From:</b> Liu, ZhipengS <zhipengs.liu@intel.com><br>
<b>Sent:</b> Wednesday, March 25, 2020 5:19 AM<br>
<b>To:</b> Richard, Joseph <Joseph.Richard@windriver.com><br>
<b>Cc:</b> starlingx-discuss@lists.starlingx.io <starlingx-discuss@lists.starlingx.io><br>
<b>Subject:</b> RE: [Starlingx-discuss] IPv6 issue when apply OpenStack on IPv6 simplex.</font>
<div> </div>
</div>
<div lang="ZH-CN">
<div class="x_WordSection1">
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">Hi Josesh,</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">I have added 2 more patches for your review.</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US"><a href="https://review.opendev.org/714894" style="">https://review.opendev.org/714894</a></span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US"><a href="https://review.opendev.org/714898" style="">https://review.opendev.org/714898</a></span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">So far, it can deploy services until heat. But I still have an intermittent issue that</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">***-ks-user jobs always need restart several times to get task finished.</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">Sometimes, it may cause endpoint job failure and block deployment procedure.</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">Log looks like below, still not find the root cause. Could you help on this point? Thanks!</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">Failed to discover available identity versions when contacting http://keystone-api.openstack.svc.cluster.local:5000/v3. Attempting to parse version from URL.</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">Unable to establish connection to http://keystone-api.openstack.svc.cluster.local:5000/v3/auth/tokens: HTTPConnectionPool(host='keystone-api.openstack.svc.cluster.local', port=5000):
 Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f857a551250>: Failed to establish a new connection: [Errno 101] Network is unreachable',))</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">Thanks!</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">Zhipeng</span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif" lang="EN-US">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif" lang="EN-US"> Liu, ZhipengS
<br>
<b>Sent:</b> 2020</span><span style="font-size:11.0pt" lang="JA">年</span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif" lang="EN-US">3</span><span style="font-size:11.0pt" lang="JA">月</span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif" lang="EN-US">23</span><span style="font-size:11.0pt" lang="JA">日</span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif" lang="EN-US">
 21:50<br>
<b>To:</b> 'Richard, Joseph' <Joseph.Richard@windriver.com><br>
<b>Cc:</b> 'starlingx-discuss@lists.starlingx.io' <starlingx-discuss@lists.starlingx.io><br>
<b>Subject:</b> RE: [Starlingx-discuss] IPv6 issue when apply OpenStack on IPv6 simplex.</span></p>
</div>
</div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span lang="EN-US"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">Hi Joseph,</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">I have updated my 2 patches, both tested on ipv4 and ipv6 setup.</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span lang="EN-US"><a href="https://review.opendev.org/#/c/714034/" style="">https://review.opendev.org/#/c/714034/</a></span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span class="x_MsoHyperlink" style="color: blue; text-decoration: underline;"><span lang="EN-US"><a href="https://review.opendev.org/#/c/714038/" style="">https://review.opendev.org/#/c/714038/</a></span></span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">But still failed when deploy keystone, glance, cinder later.</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">Common failure causes are found that need to bind host to :: instead of 0.0.0.0.</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">Otherwise, it will only bind port to ipv4 address, which causes db connect failure or pod probe failure.</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">After below changes, it can run until deploying cinder.</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">1)Change mariadb   value.yaml    
</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;text-indent:15.75pt">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">conf:  bind adress  from  0.0.0.0 to ::    </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">2) Change keystone   value.yaml  </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">  wsgi_keystone: |</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">    {{- $portInt := tuple "identity" "internal" "api" $ | include "helm-toolkit.endpoints.endpoint_port_lookup" }}</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">     Listen 0.0.0.0:{{ $portInt }}   change to Listen :::{{ $portInt }}</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">3) Change glance value.yaml</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">    Conf.Default:</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif; background: white none repeat scroll 0% 0%;">
<span style="font-size: 10.5pt; font-family: "Calibri", sans-serif; color: black;" lang="EN-US">    add bind_host = "::"</span><span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US"></span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">I have to check these services deploy one by one.
</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">Thanks!</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "MS PGothic", sans-serif;">
<span style="font-size:10.5pt; font-family:"Calibri",sans-serif" lang="EN-US">Zhipeng</span></p>
</div>
</div>
</div>
</body>
</html>