Closed DavidePrincipi closed 1 month ago
in 7.9.2009/testing
:
QA
test 1 openldap install an openldap account provider remove the access property of slapd
config setprop slapd access ''
signal-event nethserver-directory-update
install nethserver-ns8-migration from testing
yum install http://packages.nethserver.org/nethserver/7.9.2009/testing/x86_64/Packages/nethserver-ns8-migration-1.0.14-1.4.g6d81f38.ns7.x86_64.rpm
try to migrate to a brand new ns8 server
you must have an error but without migration started, you can read the join and the leave in the /var/log/ns8-migration.log
you can save as many time the form the migration step is never started
test nsdc
install a samba4 account provider
once configured stop the service
install nethserver-ns8-migration from testing
yum install http://packages.nethserver.org/nethserver/7.9.2009/testing/x86_64/Packages/nethserver-ns8-migration-1.0.14-1.4.g6d81f38.ns7.x86_64.rpm
try to migrate to a brand new ns8 server
you must have an error but without migration started, you can read the join and the leave in the /var/log/ns8-migration.log
you can save as many time the form the migration step is never started
in 7.9.2009/testing
:
in 7.9.2009/testing
:
VERIFIED
Both cases were verified. Furthermore with commit https://github.com/NethServer/nethserver-ns8-migration/commit/bd8ff96389a31e6abc9bd3c090560e53da0caa03 the join procedure UI reports the error detail.
The issue comes when we try to migrate a NS7 to NS8, the migration stops and display an error, to reproduce it you need to restrict to localhost the slapd services
Steps to reproduce
signal-event nethserver-directory-update
finish migration
Expected behavior
I expect no error, the migration should work or a notice or log fragment should explain what is occuring, for example what is the error, here I cannot connect to the openldap server because it is restricted to the localhost
Actual behavior
the failure comes that the openldap server is not reachable from the NS8 even with the VPN enabled, the localhost restricted access stops the migration when the action cannot handle a remote ldap connexion.
this is what you can see in the UI
in the NS8 journald log we can find
the NS7 log just explain the join to the cluster is done
So the join cluster action is already done but we have an error relevant to the remote LDAP connexion failure hence the failure of the mail migration that it will come later if you continue to migrate the server by reloading the page. Since the script has failed you will have more errors for the migration, at the end the only way is to leave the migration, write errors to logs and leave before to migrate anything
Components version 1.0.14
See also
Forum Thread https://community.nethserver.org/t/ns7-ns8-mail-migration-failed/24120/12?u=davidep