Project

General

Profile

Actions

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.

Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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
Actions #1

Updated by François ARMAND over 10 years ago

Thanks for the report. Matthieu, it's up to you!

Actions #2

Updated by Matthieu CERDA over 10 years ago

  • 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 :)

Actions #3

Updated by Jonathan CLARKE over 10 years ago

  • Status changed from 8 to In progress
  • Assignee changed from Matthieu CERDA to Jonathan CLARKE

Taking this one over.

Actions #4

Updated by Matthieu CERDA over 10 years ago

  • 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.

Actions #5

Updated by Matthieu CERDA over 10 years ago

  • 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

PR is ready !

Actions #6

Updated by Jonathan CLARKE over 10 years ago

  • Status changed from Pending technical review to Discussion
  • Assignee changed from Jonathan CLARKE to Matthieu CERDA
Actions #7

Updated by Matthieu CERDA over 10 years ago

  • 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

PR retargetted to 2.11

Actions #8

Updated by Matthieu CERDA over 10 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset packages:commit:143a94ad6b77eccc1486e474e89e348dc29e9ae7.

Actions #9

Updated by Jonathan CLARKE over 10 years ago

Applied in changeset packages:commit:6ad98115a33b3f8f36c51315aca88f59a4cb9c3e.

Actions #10

Updated by Vincent MEMBRÉ over 10 years ago

  • Category set to System integration
  • Parent task set to #4928
Actions #11

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.11.0~beta1 that was released yesterday.

Actions

Also available in: Atom PDF