Bug #4738
closed
User story #4928: Allow splitting Rudder into independent role-based entities
ls: cannot access /opt/rudder/jetty7/rudder-plugins/: No such file or directory
Added by Christophe Nowicki over 10 years ago.
Updated over 10 years ago.
Category:
System integration
Description
Hi,
On my inventory server (rudder-cluster context), rudder-jetty script is looking for a missing directory :
root@i0:/etc/apache2/sites-available# /etc/init.d/rudder-jetty start
ls: cannot access /opt/rudder/jetty7/rudder-plugins/: No such file or directory
Setting umask to 0027
INFO: There is enough memory to start Jetty.
Starting Jetty: OK
ii rudder-inventory-endpoint 2.10.0~alpha1~git201403030130-wheezy0 all Configuration management and audit tool - service to receive inventory data
ii rudder-inventory-ldap 2.10.0~alpha1~git201403030130-wheezy0 amd64 Configuration management and audit tool - OpenLDAP
ii rudder-jetty 2.10.0~alpha1~git201403030130-wheezy0 all Configuration management and audit tool - Jetty application server
Thanks for the report. Matthieu, it's up to you!
- Status changed from New to 8
- Priority changed from N/A to 1 (highest)
- Target version set to 2.10.1
This directory is created in rudder-webapp, it should be created in both packages just in case :)
- Status changed from 8 to In progress
- Assignee changed from Matthieu CERDA to Jonathan CLARKE
- Assignee changed from Jonathan CLARKE to Matthieu CERDA
Jon is not available at the moment, stealing this back.
It seems the problem comes from jetty-init-rudder.patch applied to rudder-jetty init script. Actually, this error is expected behavior as we assume /opt/rudder/jetty7/rudder-plugins/ always exist but can be empty.
Since the package split, we should not rely on rudder-webapp presence in any case. Instead, we should either adapt the patch to detect if the directory exists first, or use another way to change /opt/rudder/jetty7/contexts/rudder.xml "extraClasspath" property.
- Status changed from In progress to Pending technical review
- Assignee changed from Matthieu CERDA to Jonathan CLARKE
- % Done changed from 0 to 100
- Pull Request set to https://github.com/Normation/rudder-packages/pull/307
- Status changed from Pending technical review to Discussion
- Assignee changed from Jonathan CLARKE to Matthieu CERDA
- Status changed from Discussion to Pending technical review
- Assignee changed from Matthieu CERDA to Jonathan CLARKE
- Target version changed from 2.10.1 to 2.11.0~beta1
- Pull Request changed from https://github.com/Normation/rudder-packages/pull/307 to https://github.com/Normation/rudder-packages/pull/310
- Status changed from Pending technical review to Pending release
Applied in changeset packages:commit:143a94ad6b77eccc1486e474e89e348dc29e9ae7.
Applied in changeset packages:commit:6ad98115a33b3f8f36c51315aca88f59a4cb9c3e.
- Category set to System integration
- Parent task set to #4928
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.11.0~beta1 that was released yesterday.
Also available in: Atom
PDF