-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 8.10-HF15, 9.3, 9.10, 10.10
-
Fix Version/s: None
-
Component/s: User Registration
-
Tags:
-
Backlog priority:500
When the registration renewal fails the default behaviour is to output nothing:
$ bash nuxeo-server-9.10-tomcat/bin/nuxeoctl register --renew Detected Tomcat server. Nuxeo home: /jenkins_data/jenkins/workspace/nco-renew-nuxeo-registration@3/nuxeo-server-9.10-tomcat Nuxeo configuration: /jenkins_data/jenkins/workspace/nco-renew-nuxeo-registration@3/nuxeo-server-9.10-tomcat/bin/nuxeo.conf Include template: /jenkins_data/jenkins/workspace/nco-renew-nuxeo-registration@3/nuxeo-server-9.10-tomcat/templates/common-base Include template: /jenkins_data/jenkins/workspace/nco-renew-nuxeo-registration@3/nuxeo-server-9.10-tomcat/templates/common Include template: /jenkins_data/jenkins/workspace/nco-renew-nuxeo-registration@3/nuxeo-server-9.10-tomcat/templates/default $ echo $? 1 $
When using the debug mode, there some meaningful message:
14:53:47,522 DEBUG [org.nuxeo.launcher.NuxeoLauncher.registerRenew(NuxeoLauncher.java:1527)] org.nuxeo.connect.registration.RegistrationException: Instance registration failed. Connect server refused authentication (returned 401) org.nuxeo.connect.registration.RegistrationException: Instance registration failed. Connect server refused authentication (returned 401) at org.nuxeo.launcher.connect.ConnectRegistrationBroker.remoteRenewRegistration(ConnectRegistrationBroker.java:79) at org.nuxeo.launcher.NuxeoLauncher.registerRenew(NuxeoLauncher.java:1525) at org.nuxeo.launcher.NuxeoLauncher.register(NuxeoLauncher.java:1512) at org.nuxeo.launcher.NuxeoLauncher.launch(NuxeoLauncher.java:1258) at org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:1110)
The failure message should be a warn and output to the user.
- depends on
-
NXP-21564 Add nuxeoctl tooling for license renewal
- Resolved