Actions
Bug #20204
closedwhen upgrading from 6.2 to 7.0 with the dsc plugin, webapp doesn't work
Status:
Released
Priority:
N/A
Assignee:
Category:
Plugins integration
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
No error during upgrade, but webapp complains
2021-10-27 15:28:57.696:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:///opt/rudder/share/webapps/] at interval 0 2021-10-27 15:28:59.581:WARN:oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext@d21a74c{/rudder,file:///var/rudder/tmp/jetty/jetty-rudder.war.dir/webapp/,ST OPPED}{/opt/rudder/share/webapps/rudder.war} java.nio.file.NoSuchFileException: /opt/rudder/share/plugins/dsc/rudder-plugin-dsc.jar at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116) at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55) at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:149) at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
indeed, this file does not exist, but /opt/rudder/share/plugins/dsc/dsc.jar does
Updated by Nicolas CHARLES about 3 years ago
webapp install log say:
Updating package index Updating licences The plugin rudder-plugin-dsc is installed in version 6.2-1.26-SNAPSHOT. The version nightly 7.0.0~beta3-2.0-nightly is available, the plugin will be upgraded. The package is already installed, ugrading Restarting rudder-jetty enable /opt/rudder/share/plugins/dsc/rudder-plugin-dsc.jar Restarting rudder-jetty INFO: The migration has completed successfully. INFO: Correcting permissions on /var/rudder/configuration-repository... Done Wed Oct 27 15:29:00 CEST 2021 - Ending rudder-webapp post installation script (END)
Updated by Nicolas CHARLES about 3 years ago
- Project changed from Rudder to 78
- Category changed from Plugins integration to Packaging
- Target version deleted (
7.0.0~beta3)
generated plugin jar is dsc.jar
Updated by Nicolas CHARLES about 3 years ago
right solution would be to correctly remove the previous jar from the list
Updated by Nicolas CHARLES about 3 years ago
jar_status should insert the line <Set name="extraClasspath"> if missing
install_file should check, from the metadata of existing package ( metadata = utils.DB['plugins'][p] ), the jar and remove accordingly if exists
Updated by Nicolas CHARLES about 3 years ago
- Project changed from 78 to Rudder
- Category changed from Packaging to Plugins integration
Updated by Nicolas CHARLES about 3 years ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES about 3 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Félix DALLIDET
- Pull Request set to https://github.com/Normation/rudder/pull/3969
Updated by Nicolas CHARLES about 3 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|69e2ae2932e0157dacd16518a4512094a4172d69.
Updated by Vincent MEMBRÉ about 3 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.0.0~beta3 which was released today.
Actions