[Starlingx-discuss] Invalid password for ldapadmin user during simplex installation

Ward, Martin mward at akamai.com
Tue Feb 11 12:14:15 UTC 2020


Hi Kris,

I searched Google using: starlingx simplex installation

That link came up as the first hit, in fact the top two hits are in the wiki.openstack.org site.

Thanks for the link, I will use that one and see how I get on.

|\/|artin


From: "Dale, Kristal" <kristal.dale at intel.com>
Date: Friday, 7 February 2020 at 22:38
To: Martin Ward <mward at akamai.com>, "starlingx-discuss at lists.starlingx.io" <starlingx-discuss at lists.starlingx.io>
Subject: RE: [Starlingx-discuss] Invalid password for ldapadmin user during simplex installation

Hi Martin,

Where did you find the link to these instructions? (https://wiki.openstack.org/wiki/StarlingX/Installation_Guide_Virtual_Environment/Simplex<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.openstack.org_wiki_StarlingX_Installation-5FGuide-5FVirtual-5FEnvironment_Simplex&d=DwMGaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=3DFM09ac-v9k1VxeJs4KcQ&m=yW3Dy7Sns169Cm2uw0sJuOmZgLK7v-l4H1u3xpzTHUA&s=hjmzTJTBTYES65f9VmZSjTHHeCP8NzKHOZconOASTGs&e=>)
I wasn’t able to find a direct link from the wiki… Did you find this via search?

The latest instructions (R3) for a virtual Simplex installation are on the documentation site: https://docs.starlingx.io/deploy_install_guides/r3_release/virtual/aio_simplex.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.starlingx.io_deploy-5Finstall-5Fguides_r3-5Frelease_virtual_aio-5Fsimplex.html&d=DwMGaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=3DFM09ac-v9k1VxeJs4KcQ&m=yW3Dy7Sns169Cm2uw0sJuOmZgLK7v-l4H1u3xpzTHUA&s=bakKY1RXaYFVfW7tIf6h5JRiz6Mvj-Sa-OUAtJfg2_Q&e=>

If there is an older set of instructions floating around, we’d like to find them and correctly deprecate them to avoid confusion in the future!

Thanks,
Kris (STX docs team)

From: Ward, Martin <mward at akamai.com>
Sent: Friday, January 31, 2020 2:21 AM
To: starlingx-discuss at lists.starlingx.io
Subject: [Starlingx-discuss] Invalid password for ldapadmin user during simplex installation

Good day all,

I’m trying to install a Simplex server following the instructions provided in https://wiki.openstack.org/wiki/StarlingX/Installation_Guide_Virtual_Environment/Simplex<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.openstack.org_wiki_StarlingX_Installation-5FGuide-5FVirtual-5FEnvironment_Simplex&d=DwMGaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=3DFM09ac-v9k1VxeJs4KcQ&m=yW3Dy7Sns169Cm2uw0sJuOmZgLK7v-l4H1u3xpzTHUA&s=hjmzTJTBTYES65f9VmZSjTHHeCP8NzKHOZconOASTGs&e=> - The base system is CentOS 7.7.

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:

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]
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]
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

When I run the ldapadd command myself it fails with:
ldap_bind: Invalid credentials (49)

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.

I’ve looked through the log file for any clues but everything prior to the above command has worked fine no errors or warnings.

I am at a loss, any pointers would be appreciated.

|\\/|artin

--
Martin Ward
Technical Support Engineer.Senior
Group: Carrier Support
Ext: 29745

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20200211/8bef6c24/attachment-0001.html>


More information about the Starlingx-discuss mailing list