[PKG-Openstack-devel] Bug#902016: mistral: Add mistral-event-engine binary package and init template

Corey Bryant corey.bryant at canonical.com
Thu Jun 21 14:42:18 BST 2018


Package: mistral
Version: 6.0.0-3
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu cosmic ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * d/control, d/mistral-event-engine.init.in: Add mistral-event-engine
    binary package and init template.


Thanks for considering the patch.


-- System Information:
Debian Release: buster/sid
  APT prefers cosmic
  APT policy: (500, 'cosmic'), (500, 'bionic-security')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-23-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff -Nru mistral-6.0.0/debian/control mistral-6.0.0/debian/control
--- mistral-6.0.0/debian/control	2018-03-26 12:50:46.000000000 -0400
+++ mistral-6.0.0/debian/control	2018-06-21 09:39:30.000000000 -0400
@@ -161,6 +161,27 @@
  .
  This package contains the Engine.
 
+Package: mistral-event-engine
+Architecture: all
+Depends:
+ adduser,
+ mistral-common (= ${source:Version}),
+ ${misc:Depends},
+ ${ostack-lsb-base},
+ ${python3:Depends},
+Description: OpenStack Workflow service - Event Engine
+ Mistral is a workflow service. Most business processes consist of multiple
+ distinct interconnected steps that need to be executed in a particular order
+ in a distributed environment. One can describe such process as a set of tasks
+ and task relations and upload such description to Mistral so that it takes
+ care of state management, correct execution order, parallelism,
+ synchronization and high availability. Mistral also provides flexible task
+ scheduling so that it can run a process according to a specified schedule
+ (i.e. every Sunday at 4.00pm) instead of running it immediately. Such set of
+ tasks and relations between them is called a workflow.
+ .
+ This package contains the Event Engine.
+
 Package: mistral-executor
 Architecture: all
 Depends:
diff -Nru mistral-6.0.0/debian/mistral-event-engine.init.in mistral-6.0.0/debian/mistral-event-engine.init.in
--- mistral-6.0.0/debian/mistral-event-engine.init.in	1969-12-31 19:00:00.000000000 -0500
+++ mistral-6.0.0/debian/mistral-event-engine.init.in	2018-06-21 09:39:30.000000000 -0400
@@ -0,0 +1,20 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides:          mistral-event-engine
+# Required-Start:    $network $local_fs $remote_fs $syslog
+# Required-Stop:     $remote_fs
+# Should-Start:      postgresql mysql keystone rabbitmq-server ntp
+# Should-Stop:       postgresql mysql keystone rabbitmq-server ntp
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Mistral event engine
+# Description:       Mistral event engine
+### END INIT INFO
+
+# Author: Corey Bryant <corey.bryant at canonical.com>
+
+DESC="OpenStack Mistral Event Engine"
+PROJECT_NAME=mistral
+NAME=${PROJECT_NAME}-event-engine
+DAEMON=/usr/bin/mistral-server
+DAEMON_ARGS="--server event-engine"


More information about the Openstack-devel mailing list