fuel-plugin-opendaylight: Upstart service: Respawn 29/25329/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 1 Dec 2016 12:24:03 +0000 (13:24 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 1 Dec 2016 13:08:00 +0000 (13:08 +0000)
commit2031bb3019080043d062e338b4366dc93da1f4e9
tree2499e14347163a07e66cf7b7e5840aa6d7376d91
parent200ab8672d69d202892917ce045f0abdf0f90e00
fuel-plugin-opendaylight: Upstart service: Respawn

On arm64, JVM sometimes (~10%) crashes at the very start, due to
JIT issues in our openjdk8 package.

We can't really solve the JVM on arm64 issues in the near future,
so we will try to work around the issue by configuring the ODL
service as respawn-able (see [1] for more details).

Note: This is specific to Ubuntu Trusty (14.04), which uses upstart,
for Ubuntu Xenial (or anything else >14.x), which uses systemd,
a different, equivalent mechanism should be used.

[1] http://upstart.ubuntu.com/cookbook/#respawn

JIRA: ARMBAND-134

Change-Id: I0dc82e4a6d0cc485e981477e6a25dbad95db930b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 57675c1505d8d64dd6e0308b18a1b404f978fa7a)
patches/fuel-plugin-opendaylight/0004-ODL-Upstart-service-Respawn-on-crash.patch [new file with mode: 0644]