<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)">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@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="MsoNormal">As this appears to be the first host-unlock attempted on the subcloud; it appears the bootstrap configuration may not have completed yet on the affected subcloud.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">There are possibly ‘Error’ logs under /var/log/puppet.  The following would scan whether a configuration Error may have occurred. 
<o:p></o:p></p>
<p class="MsoNormal">The context around that Error log could provide indications as to which part of the config may encountered an issue.<o:p></o:p></p>
<p class="MsoNormal">On the affected subcloud itself:<o:p></o:p></p>
<p class="MsoNormal">      cd /var/log/puppet<o:p></o:p></p>
<p class="MsoNormal">      sudo grep -rs Error * <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I would also recommend comparing the subcloud’s ansible-playbook bootstrap parameters and logs (ansible.log on the subcloud/remote site; or on the central cloud system controller under /var/log/dcmanager/ansible) between the passing and
 failing subcloud.  If the bootstrap parameters require adjustment, it should be possible to update and ‘replay’ by rerunning the bootstrap playbook.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The following has some debug tips: <a href="https://docs.starlingx.io/developer_resources/debug_issues.html">
<span style="color:blue">https://docs.starlingx.io/developer_resources/debug_issues.html</span></a> . We would recommend a ‘collect’ of logs from the subcloud and central controller, and to attach the logs and info for a LP:
<a href="https://bugs.launchpad.net/starlingx/+bugs">https://bugs.launchpad.net/starlingx/+bugs</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Please advise if further comments or info. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">John<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">----------------------------------------------------------------------<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Message: 1<o:p></o:p></p>
<p class="MsoNormal">Date: Mon, 27 Jun 2022 12:57:16 +0000<o:p></o:p></p>
<p class="MsoNormal">From: Amato Scaccia <<a href="mailto:ascaccia96@hotmail.com">ascaccia96@hotmail.com</a>><o:p></o:p></p>
<p class="MsoNormal">To: "<a href="mailto:starlingx-discuss@lists.starlingx.io">starlingx-discuss@lists.starlingx.io</a>"<o:p></o:p></p>
<p class="MsoNormal">        <<a href="mailto:starlingx-discuss@lists.starlingx.io">starlingx-discuss@lists.starlingx.io</a>><o:p></o:p></p>
<p class="MsoNormal">Subject: [Starlingx-discuss] Error in adding a subcloud after<o:p></o:p></p>
<p class="MsoNormal">        unlocking the first controller<o:p></o:p></p>
<p class="MsoNormal">Message-ID:<o:p></o:p></p>
<p class="MsoNormal">        <<a href="mailto:PAXP193MB12943F57CC778F12567A8A40D8B99@PAXP193MB1294.EURP193.PROD.OUTLOOK.COM">PAXP193MB12943F57CC778F12567A8A40D8B99@PAXP193MB1294.EURP193.PROD.OUTLOOK.COM</a>><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Content-Type: text/plain; charset="iso-8859-1"<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Dear all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My team are trying  to install StarlingX 6.0 on a distributed cloud system: our actual configuration  is one central cloud (Bare Metal AIO Duplex) and a subcloud (Bare Metal AIO Duplex). To configure it we follow this doc and everything
 works fine:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">( <a href="https://docs.starlingx.io/deploy_install_guides/r6_release/distributed_cloud/index-install-r6-distcloud-46f4880ec78b.html">
https://docs.starlingx.io/deploy_install_guides/r6_release/distributed_cloud/index-install-r6-distcloud-46f4880ec78b.html</a>)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Now we are trying  to add another subcloud in a different location (following the same steps needed for the previous subcloud) but after this step (Unlock of controller-0:
<a href="https://docs.starlingx.io/deploy_install_guides/r6_release/bare_metal/aio_duplex_install_kubernetes.html#unlock-controller-0">
https://docs.starlingx.io/deploy_install_guides/r6_release/bare_metal/aio_duplex_install_kubernetes.html#unlock-controller-0</a>) we receive the following errors:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">  *   sudo: ldap_sasl_bind_s(): Can't contact LDAP server (if run sudo command)<o:p></o:p></p>
<p class="MsoNormal">  *   Openstack Admin credentials can only be loaded from the active controller ($if runsource /etc/platform/opensrc)<o:p></o:p></p>
<p class="MsoNormal">  *   The connection to the server 192.168.206.1:6443 was refused - did you specify the right host or port? (kubectl command)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Also there is this error message in /var/log/sysinv.log:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">sysinv 2022-06-27 12:27:28.254 9676 ERROR sysinv.openstack.common.rpc.common [-] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 30 seconds.: error: [Errno 111] ECONNREFUSED<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Let me know if you need more info on the setup/logs. Thanks for your help!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">-------------- next part --------------<o:p></o:p></p>
<p class="MsoNormal">An HTML attachment was scrubbed...<o:p></o:p></p>
<p class="MsoNormal">URL: <<a href="http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20220627/e56f1871/attachment-0001.htm">http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20220627/e56f1871/attachment-0001.htm</a>><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>