Elasticsearch plugin: tzdata persistent issues
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StackLight |
Fix Released
|
High
|
Swann Croiset | ||
0.8 |
Fix Released
|
Critical
|
Swann Croiset | ||
0.9 |
Fix Released
|
High
|
Unassigned |
Bug Description
The recurrent issue with tzdata and tzdata-java package versions is problematic and leads to break things regularly
The openjdk-
These packages are updated upstream several times per year (ubuntu repositories) (and the old versions are removed) and also the fact is that tzdata-java has a stric dependency on tzdata package. This situation introduces 2 issues:
1/ the plugin doesn't build anymore since the last version is removed (HTTP 404 not found). This breaks the CI and delays the plugin validation
2 the released plugin RPM officially available online can be broken
The case #2 is critical and needs to be fixed.
For example the ES plugin 0.8/MOS 8 installed in 2016 since March 20 is broken because the plugin ships an old version of tzdata and tzdata-java BUT the last version of tzdata 2016b is always installed before the plugin installation. When the openjdk package is installed by puppet with its dependencies (tzdata-java) and because the "apt-get install" [0] refuse to DOWNGRADE the tzdata package and then fails.
Why we are shipping tzdata-java: to support the plugin deployment offline butthis package is not embed by fuel and the plugin needs to ship it.
Potential solutions:
* don't embed the tzdata-java package but in this case the plugin won't support the offline deployment and we need to document how to teach the fuel-creamirror command to take the plugin dependencies
* patch the tzdata-java package at plugin build time (pre_build_hook) to update the stric dependency on tzdata -> this is gruik and may introduce a risk
* in long term, the fuel-createmirror must ship plugins dependencies
[0] the command used by puppet to install package: /usr/bin/apt-get -q -y -o DPkg::Options:
Changed in lma-toolchain: | |
milestone: | none → 0.9.0 |
summary: |
- Elasticsearch plugin: tzdata recurrent issues + Elasticsearch plugin: tzdata persistent issues |
no longer affects: | lma-toolchain/1.0 |
Changed in lma-toolchain: | |
milestone: | 1.0.0 → 0.10.0 |
Changed in lma-toolchain: | |
status: | In Progress → Fix Released |
status: | Fix Released → Fix Committed |
Changed in lma-toolchain: | |
status: | Fix Committed → Fix Released |
The Elasticsearch_ kibana plugin 0.8.0 is broken, the manual workaround before deploying the plugin is:
1/ install the plugin as usual (fuel plugins --install *rpm) nailgun/ plugins/ elasticsearch_ kibana- 0.8/repositorie s/ubuntu security. ubuntu. com/ubuntu/ pool/main/ t/tzdata/ tzdata- java_2016b- 0ubuntu0. 14.04_all. deb security. ubuntu. com/ubuntu/ pool/main/ t/tzdata/ tzdata_ 2016b-0ubuntu0. 14.04_all. deb
2/ on Fuel master node: patch the plugin repository:
cd /var/www/
rm tzdata*
wget http://
wget http://
rm Packages.gz
dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz