<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 2020-01-31 05:21 AM, Ward, Martin
wrote:<br>
</div>
<blockquote
cite="mid:AECE81B5-0AEC-4CF5-8715-AFBB3436AA52@contoso.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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;}
@font-face
{font-family:Avenir;
panose-1:2 0 5 3 2 0 0 2 0 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
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;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Good day
all,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I’m trying
to install a Simplex server following the instructions
provided in
</span><a moz-do-not-send="true"
href="https://wiki.openstack.org/wiki/StarlingX/Installation_Guide_Virtual_Environment/Simplex">https://wiki.openstack.org/wiki/StarlingX/Installation_Guide_Virtual_Environment/Simplex</a>
-
<span style="font-size:11.0pt">The base system is CentOS 7.7.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I’ve got the
basic Simplex VM created, up and running, it’s when I run
the Ansible scripts that it fails and logs the error:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2020-01-30T16:19:48.122
Error: 2020-01-30 16:19:48 +0000 ldapadd -D
cn=ldapadmin,dc=cgcs,dc=local -w f62083c68b43Ti0* -f
/etc/openldap/initial_config.ldif returned 49 instead of one
of [0]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2020-01-30T16:19:48.258
Error: 2020-01-30 16:19:48 +0000
/Stage[main]/Platform::Ldap::Bootstrap/Exec[populate initial
ldap configuration]/returns: change from notrun to 0 failed:
ldapadd -D cn=ldapadmin,dc=cgcs,dc=local -w f62083c68b43Ti0*
-f /etc/openldap/initial_config.ldif returned 49 instead of
one of [0]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2020-01-30T16:21:54.301
Error: 2020-01-30 16:21:54 +0000
/Stage[main]/Platform::Drbd::Etcd::Bootstrap/Platform::Drbd::Filesystem[drbd-etcd]/Drbd::Resource[drbd-etcd]/Drbd::Resource::Enable[drbd-etcd]/Drbd::Resource::Up[drbd-etcd]/Mount[/opt/etcd]:
Could not evaluate: Execution of '/usr/bin/mount /opt/etcd'
returned 32: mount: /dev/drbd7 is write-protected, mounting
read-only<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">When I run
the ldapadd command myself it fails with:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">ldap_bind:
Invalid credentials (49)</span></p>
</div>
</blockquote>
<br>
Looks like ldap is not properly configured before the ldapadd
command, ldap doesn't know this binding password.<br>
<br>
Andy<br>
<blockquote
cite="mid:AECE81B5-0AEC-4CF5-8715-AFBB3436AA52@contoso.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I’ve not
configured any ldap password anywhere so I guess that the
ldapadmin password is auto-generated, but the fact that it’s
not working is cause for concern.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I’ve looked
through the log file for any clues but everything prior to
the above command has worked fine no errors or warnings.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I am at a
loss, any pointers would be appreciated.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">|\\/|artin<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:Avenir;color:black;mso-fareast-language:EN-GB">-- </span><span
style="color:black;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:Avenir;color:black;mso-fareast-language:EN-GB">Martin
Ward</span><span
style="color:black;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:Avenir;color:black;mso-fareast-language:EN-GB">Technical
Support Engineer.Senior</span><span
style="color:black;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:Avenir;color:black;mso-fareast-language:EN-GB">Group:
Carrier Support</span><span
style="color:black;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:Avenir;color:black;mso-fareast-language:EN-GB">Ext:
29745</span><span
style="color:black;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Starlingx-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Starlingx-discuss@lists.starlingx.io">Starlingx-discuss@lists.starlingx.io</a>
<a class="moz-txt-link-freetext" href="http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Andy Ning
Cube: 3071
Tel: 613-9631408 (int: 4408)
Skype: andy.ning.wr</pre>
</body>
</html>