Actions
Bug #10504
closedZypper complains too late about missing jdk 1.8 when installing rudder 4.1
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Priority:
49
Name check:
Fix check:
Regression:
Description
I could begin the installation of rudder 4.1 without jdk 1.8, and it complained only at the end
zypper install rudder-server-root Chargement des données du dépôt... Lecture des paquets installés... Résolution des dépendances des paquets... Les NOUVEAUX paquets suivants vont être installés: apache2 apache2-mod_wsgi apache2-prefork apache2-utils libapr1 libapr-util1 ncf ncf-api-virtualenv postgresql91 postgresql91-server postgresql-init rsyslog rsyslog-module-pgsql rudder-agent rudder-inventory-endpoint rudder-inventory-ldap rudder-jetty rudder-reports rudder-server-relay rudder-server-root rudder-techniques rudder-webapp Le paquet recommandé suivant a été automatiquement sélectionné : apache2-prefork Les paquets suivants requierent un contrat client additionnel pour obtenir du support : postgresql91 postgresql91-server postgresql-init Les paquets suivants ne sont pas supportés par leur fournisseur: apache2-mod_wsgi ncf ncf-api-virtualenv rudder-agent rudder-inventory-endpoint rudder-inventory-ldap rudder-jetty rudder-reports rudder-server-relay rudder-server-root rudder-techniques rudder-webapp 22 paquets à installer. Taille de téléchargement totale : 194,4 MiB. Après l'opération, un 213,7 MiB supplémentaire sera utilisé. Continuer ? [o/n/?] (o): o (snip) ***************************************************************************************** INFO: rudder-server-relay setup complete. INFO: INFO: * If you are installing a root server, configuration is automatically done INFO: * If you are installing a simple relay, run: INFO: '/opt/rudder/bin/rudder-node-to-relay ea6a66bf-a04d-44d4-8eef-2db912e65465' INFO: on your root server to complete this node transition to a relay server. INFO: Please look at the documentation for details (Section 'Relay servers') ***************************************************************************************** Installation: ncf-api-virtualenv - 1398866025:4.1.0.rc2.git201703240133-1.SLES.11 [fait] Sortie rpm supplémentaire: INFO: Creating the ncf-api-venv user... Done warning: group ncf-api-venv does not exist - using root INFO: Restarting Apache HTTPd... Done Installation: rudder-webapp - 1398866025:4.1.0.rc2.git201703240133-1.SLES.11 [erreur] Échec de l'installation de rudder-webapp-1398866025:4.1.0.rc2.git201703240133-1.SLES.11: (avec --nodeps --force) Erreur: Subprocess failed. Error: Echec RPM:Rudder requires Java 8 or later. Your version of Java (detected as /usr/java/latest/bin/java) is 1.7. Please install a more recent JVM. INFO: Setting Apache HTTPd as a boot service... Done INFO: Restarting syslog... Done INFO: Stopping Apache HTTPd... Done INFO: Adding ncf-api-venv to the rudder group... Done INFO: Launching script to check if a migration is needed INFO: Checking if rudder-web.properties database access credentials are all right... LDAP OK, SQL OK INFO: Checking if inventory-web.properties database access credentials are all right... LDAP OK, SQL skipped INFO: Checking PostgreSQL service status... OK INFO: Checking LDAP service status... OK INFO: The migration has completed successfully. INFO: End of migration script INFO: Starting Apache HTTPd... Done Initialized empty shared Git repository in /var/rudder/configuration-repository/.git/ Rudder requires Java 8 or later. Your version of Java (detected as /usr/java/latest/bin/java) is 1.7. Please install a more recent JVM. error: %post(rudder-webapp-4.1.0.rc2.git201703240133-1.SLES.11.noarch) scriptlet failed, exit status 1 Abandonner, réessayer, ignorer ? [a/r/i] (a):
Actions