Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename of directory.nh for multiple migrations #7103

Closed
9 tasks done
DavidePrincipi opened this issue Nov 7, 2024 · 23 comments
Closed
9 tasks done

Rename of directory.nh for multiple migrations #7103

DavidePrincipi opened this issue Nov 7, 2024 · 23 comments
Labels
milestone goal 👑 This describes an announced milestone goal verified All test cases were verified successfully

Comments

@DavidePrincipi
Copy link
Member

DavidePrincipi commented Nov 7, 2024

Scenario

Migration of many NS7 systems with local OpenLDAP account provider to the same NS8 cluster. This scenario is quite common when the administrator want to consolidate multiple small NethVoice installations into a single node.

Problem

The directory.nh user domain name can be assigned only once. Currently, a validator prevents the migration of duplicate local OpenLDAP providers. This limitation applies to any application tied to directory.nh, hindering consolidation of multiple services on a single NS8 node.

Proposed solution

The LDAP domain will be renamed during the join phase: the user will be asked to enter a valid domain for the new LDAP instance.
The name will be validated on NS8 to avoid naming collisions.
The implementation will be mostly done on NS7 migration tool.

Steps:

Refs

@DavidePrincipi DavidePrincipi converted this from a draft issue Nov 7, 2024
@DavidePrincipi DavidePrincipi added this to the NethServer M8.3 milestone Nov 7, 2024
@DavidePrincipi DavidePrincipi added the milestone goal 👑 This describes an announced milestone goal label Nov 7, 2024
@DavidePrincipi DavidePrincipi changed the title Conflict of name directory.nh in multiple migrations Rename of directory.nh for multiple migrations Nov 7, 2024
@stephdl stephdl self-assigned this Nov 14, 2024
@stephdl stephdl moved this from ToDo to In progress in NethServer Nov 18, 2024
stephdl added a commit to NethServer/ns8-nextcloud that referenced this issue Nov 22, 2024
Load LDAP domain from config and enhance Nextcloud service management NethServer/dev#7103
stephdl added a commit to NethServer/ns8-sogo that referenced this issue Nov 22, 2024
Add LDAP configuration script for user-domain-changed event NethServer/dev#7103
stephdl added a commit to NethServer/ns8-roundcubemail that referenced this issue Nov 22, 2024
Autodiscover user domain and set environment variable NethServer/dev#7103
stephdl added a commit to NethServer/ns8-mail that referenced this issue Nov 25, 2024
gsanchietti added a commit to NethServer/nethserver-ns8-migration that referenced this issue Nov 25, 2024
Changes:

- add new env variable USER_DOMAIN
- ns8-join: add dynamic baseDN for OpenLDAP
- ui: add new field for entering OpenLDAP user domain

NethServer/dev#7103

Co-authored-by: Giacomo Sanchietti <[email protected]>
Co-authored-by: Davide Principi <[email protected]>
@nethbot
Copy link
Member

nethbot commented Nov 25, 2024

in 7.9.2009/testing:

  • nethserver-ns8-migration-1.0.18-1.1.g865021d.ns7.x86_64.rpm x86_64

stephdl added a commit to NethServer/ns8-ejabberd that referenced this issue Nov 25, 2024
stephdl added a commit to NethServer/ns8-nextcloud that referenced this issue Nov 25, 2024
Remove deprecated LDAP script and enhance Nextcloud integration NethServer/dev#7103
stephdl added a commit to NethServer/ns8-webtop that referenced this issue Nov 26, 2024
Register user domain change event handling NethServer/dev#7103
@Amygos
Copy link
Member

Amygos commented Nov 26, 2024

Testing release NethServer/ns8-webtop 1.1.2-testing.2

@nethbot
Copy link
Member

nethbot commented Dec 2, 2024

in 7.9.2009/testing:

  • nethserver-ns8-migration-1.0.18-1.7.gf7ac93b.ns7.x86_64.rpm x86_64

stephdl added a commit to NethServer/nethserver-ns8-migration that referenced this issue Dec 5, 2024
@nethbot
Copy link
Member

nethbot commented Dec 5, 2024

in 7.9.2009/testing:

  • nethserver-ns8-migration-1.0.18-1.9.gfa8d0dd.ns7.x86_64.rpm x86_64

stephdl added a commit to NethServer/nethserver-ns8-migration that referenced this issue Dec 6, 2024
Include LDAP user domain in connection configuration NethServer/dev#7103
@nethbot
Copy link
Member

nethbot commented Dec 6, 2024

in 7.9.2009/testing:

  • nethserver-ns8-migration-1.0.18-1.16.g0fb792d.ns7.x86_64.rpm x86_64

@DavidePrincipi

This comment has been minimized.

DavidePrincipi added a commit to NethServer/nethserver-ns8-migration that referenced this issue Dec 6, 2024
If NS8 cannot contact the NS7 LDAP service the port_connection_error validation message is returned. This happens for example if slapd service has non-default values in TCPPorts and/or access props.

Refs NethServer/dev#7103
@nethbot
Copy link
Member

nethbot commented Dec 6, 2024

in 7.9.2009/testing:

  • nethserver-ns8-migration-1.0.18-1.17.g857f522.ns7.x86_64.rpm x86_64

@nethbot
Copy link
Member

nethbot commented Dec 6, 2024

in 7.9.2009/testing:

  • nethserver-ns8-migration-1.0.18-1.23.g0abca8b.ns7.x86_64.rpm x86_64

@DavidePrincipi
Copy link
Member Author

DavidePrincipi commented Dec 6, 2024

TODO:

  • Update the Admin's manual Migration page

@nethbot
Copy link
Member

nethbot commented Dec 9, 2024

in 7.9.2009/testing:

  • nethserver-ns8-migration-1.0.18-1.29.gfafd227.ns7.x86_64.rpm x86_64

@Amygos
Copy link
Member

Amygos commented Dec 9, 2024

Release NethServer/ns8-webtop 1.1.2

@nethbot
Copy link
Member

nethbot commented Dec 9, 2024

in 7.9.2009/testing:

  • nethserver-ns8-migration-1.0.18-1.32.g5c37353.ns7.x86_64.rpm x86_64

stephdl added a commit to NethServer/ns8-docs that referenced this issue Dec 10, 2024
Document OpenLDAP account providers DN migration NethServer/dev#7103
@Amygos
Copy link
Member

Amygos commented Dec 12, 2024

Release nethesis/ns8-nethvoice 1.1.2

@DavidePrincipi
Copy link
Member Author

@nrauso @stephdl can we move this issue to testing?

@gsanchietti
Copy link
Member

@nrauso @stephdl can we move this issue to testing?

All the sub-issues have been verified and released.
I think we can safely release a new version of nethserver-ns8-migration and mark this issue as completed.

@DavidePrincipi DavidePrincipi added the verified All test cases were verified successfully label Dec 12, 2024
@nethbot nethbot moved this from In Progress to Verified in NethServer Dec 12, 2024
@stephdl
Copy link

stephdl commented Dec 12, 2024

this one too needs to be closed: #7199

@nethbot
Copy link
Member

nethbot commented Dec 12, 2024

in 7.9.2009/updates:

  • nethserver-ns8-migration-1.1.0-1.ns7.x86_64.rpm x86_64

@stephdl
Copy link

stephdl commented Dec 12, 2024

released as nethserver-ns8-migration-1.1.0-1.ns7.x86_64.rpm

@stephdl stephdl closed this as completed Dec 12, 2024
@github-project-automation github-project-automation bot moved this from Verified to Done in NethServer Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
milestone goal 👑 This describes an announced milestone goal verified All test cases were verified successfully
Projects
Archived in project
Development

No branches or pull requests

5 participants