[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_Environ... - 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
On 2020-01-31 05:21 AM, Ward, Martin wrote:
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_Environ... - 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)
Looks like ldap is not properly configured before the ldapadd command, ldap doesn't know this binding password. Andy
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
_______________________________________________ Starlingx-discuss mailing list Starlingx-discuss@lists.starlingx.io http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
-- Andy Ning Cube: 3071 Tel: 613-9631408 (int: 4408) Skype: andy.ning.wr
Hi Martin, Where did you find the link to these instructions? (https://wiki.openstack.org/wiki/StarlingX/Installation_Guide_Virtual_Environ...) 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_simpl... 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@akamai.com> Sent: Friday, January 31, 2020 2:21 AM To: starlingx-discuss@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_Environ... - 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
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@intel.com> Date: Friday, 7 February 2020 at 22:38 To: Martin Ward <mward@akamai.com>, "starlingx-discuss@lists.starlingx.io" <starlingx-discuss@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@akamai.com> Sent: Friday, January 31, 2020 2:21 AM To: starlingx-discuss@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
Thanks for the info Martin! I will add deprecating the old wiki pages found in search to the maintenance task list. Cheers, Kris From: Ward, Martin <mward@akamai.com> Sent: Tuesday, February 11, 2020 4:14 AM To: Dale, Kristal <kristal.dale@intel.com>; starlingx-discuss@lists.starlingx.io Subject: Re: [Starlingx-discuss] Invalid password for ldapadmin user during simplex installation 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@intel.com<mailto:kristal.dale@intel.com>> Date: Friday, 7 February 2020 at 22:38 To: Martin Ward <mward@akamai.com<mailto:mward@akamai.com>>, "starlingx-discuss@lists.starlingx.io<mailto:starlingx-discuss@lists.starlingx.io>" <starlingx-discuss@lists.starlingx.io<mailto:starlingx-discuss@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@akamai.com<mailto:mward@akamai.com>> Sent: Friday, January 31, 2020 2:21 AM To: starlingx-discuss@lists.starlingx.io<mailto:starlingx-discuss@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
No problem. I will have a go at installing using the latest doc at some point this week. Are there any plans to create a non-O/S-specific installation, or one that breaks out any O/S specific stuff out to different sections? I am using CentOS rather than Ubuntu and while I can probably figure out the differences (because I am supposed to be smart) others may need a bit more instruction. |\/| From: "Dale, Kristal" <kristal.dale@intel.com> Date: Tuesday, 11 February 2020 at 17:34 To: Martin Ward <mward@akamai.com>, "starlingx-discuss@lists.starlingx.io" <starlingx-discuss@lists.starlingx.io> Subject: RE: [Starlingx-discuss] Invalid password for ldapadmin user during simplex installation Thanks for the info Martin! I will add deprecating the old wiki pages found in search to the maintenance task list. Cheers, Kris
participants (3)
-
Andy Ning
-
Dale, Kristal
-
Ward, Martin