[SRU] mistral-event-engine conflicts mistral-event

Bug #1757433 reported by Pierre Gaxatte
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Fix Released
High
Unassigned
Pike
Fix Released
High
Unassigned
Queens
Fix Released
High
Unassigned
mistral (Ubuntu)
Fix Released
High
Unassigned
Artful
Fix Released
High
Unassigned
Bionic
Fix Released
High
Unassigned

Bug Description

[Impact]

This affects artful/pike and above. mistral-event-engine didn't exist in ocata.

On Cloud Archive repos, packages mistral-event-engine and mistral-engine conflict because mistral-event-engine mistakenly provides mistral-engine:

Steps to reproduce:
# add-apt-repository cloud-archive:pike
[...]
# apt install mistral-event-engine mistral-engne
[...]
Setting up mistral-engine (5.0.0-0ubuntu1~cloud0) ...
Setting up mistral-event-engine (5.0.0-0ubuntu1~cloud0) ...
insserv: script mistral-event-engine: service mistral-engine already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package mistral-event-engine (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for systemd (229-4ubuntu21.1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
 mistral-event-engine
E: Sub-process /usr/bin/dpkg returned an error code (1)

I only tested on pike version.
The problem comes from the debian/mistral-event-engine.init.in file in package source.

[Test Case]
apt install mistral-engine mistral-event-engine

[Regression Potential]
Low. The fix updates a typo in the template used to generate init scripts.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hi Pierre,

Thanks for reporting this. I see the issue you are hitting:

mistral/debian$ cat mistral-engine.init.in
#!/bin/sh
### BEGIN INIT INFO
# Provides: mistral-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 engine
# Description: Mistral engine
### END INIT INFO

# Author: Thomas Goirand <email address hidden>

DESC="OpenStack Mistral Engine"
PROJECT_NAME=mistral
NAME=${PROJECT_NAME}-engine
DAEMON=/usr/bin/mistral-server
DAEMON_ARGS="--server engine"

mistral/debian$ cat mistral-event-engine.init.in
#!/bin/sh
### BEGIN INIT INFO
# Provides: mistral-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 engine
# Description: Mistral engine
### END INIT INFO

# Author: Thomas Goirand <email address hidden>

DESC="OpenStack Mistral Event Engine"
PROJECT_NAME=mistral
NAME=${PROJECT_NAME}-engine
DAEMON=/usr/bin/mistral-server
DAEMON_ARGS="--server event-engine"

Changed in cloud-archive:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Corey Bryant (corey.bryant) wrote :

This affects artful/pike and above. mistral-event-engine didn't exist in ocata.

Changed in mistral (Ubuntu Artful):
status: New → Triaged
Changed in mistral (Ubuntu Bionic):
status: New → In Progress
Changed in mistral (Ubuntu Artful):
importance: Undecided → High
Changed in mistral (Ubuntu Bionic):
importance: Undecided → High
status: In Progress → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mistral - 6.0.0-0ubuntu1.1

---------------
mistral (6.0.0-0ubuntu1.1) bionic; urgency=medium

  [ Corey Bryant ]
  * d/mistral-event-engine.init.in: Update init script template to
    provide mistral-event-engine service rather than mistral-engine
    which conflicted with mistral-engine.init.in (LP: #1757433).

  [ Thomas Goirand ]
  * Switch to openstack-pkg-tools >= 70~ shared debconf templates.

 -- Corey Bryant <email address hidden> Wed, 21 Mar 2018 10:12:49 -0400

Changed in mistral (Ubuntu Bionic):
status: Triaged → Fix Released
Revision history for this message
Corey Bryant (corey.bryant) wrote : Please test proposed package

Hello Pierre, or anyone else affected,

Accepted mistral into queens-proposed. The package will build now and be available in the Ubuntu Cloud Archive in a few hours, and then in the -proposed repository.

Please help us by testing this new package. To enable the -proposed repository:

  sudo add-apt-repository cloud-archive:queens-proposed
  sudo apt-get update

Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-queens-needed to verification-queens-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-queens-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-queens-needed
Revision history for this message
Corey Bryant (corey.bryant) wrote :

I've uploaded this to the Artful review queue [1] where it is awaiting review by the SRU team. Once accepted into artful-proposed we can accept it into pike-proposed.

[1] https://launchpad.net/ubuntu/artful/+queue?queue_state=1&queue_text=

summary: - mistral-event-engine conflicts mistral-event
+ [SRU] mistral-event-engine conflicts mistral-event
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Pierre, or anyone else affected,

Accepted mistral into artful-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/mistral/5.2.2-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-artful to verification-done-artful. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-artful. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in mistral (Ubuntu Artful):
status: Triaged → Fix Committed
tags: added: verification-needed verification-needed-artful
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hello Pierre, or anyone else affected,

Accepted mistral into pike-proposed. The package will build now and be available in the Ubuntu Cloud Archive in a few hours, and then in the -proposed repository.

Please help us by testing this new package. To enable the -proposed repository:

  sudo add-apt-repository cloud-archive:pike-proposed
  sudo apt-get update

Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-pike-needed to verification-pike-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-pike-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-pike-needed
Revision history for this message
Pierre Gaxatte (pierre-gaxatte) wrote :

I confirm the bug is fixed for mistral 5.2.2 and 6.0.0 on xenial.

tags: added: verification-pike-done verification-queens-done
removed: verification-pike-needed verification-queens-needed
Revision history for this message
Corey Bryant (corey.bryant) wrote : Update Released

The verification of the Stable Release Update for mistral has completed successfully and the package has now been released to -updates. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

This bug was fixed in the package mistral - 6.0.0-0ubuntu1.1~cloud0
---------------

 mistral (6.0.0-0ubuntu1.1~cloud0) xenial-queens; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 mistral (6.0.0-0ubuntu1.1) bionic; urgency=medium
 .
   [ Corey Bryant ]
   * d/mistral-event-engine.init.in: Update init script template to
     provide mistral-event-engine service rather than mistral-engine
     which conflicted with mistral-engine.init.in (LP: #1757433).
 .
   [ Thomas Goirand ]
   * Switch to openstack-pkg-tools >= 70~ shared debconf templates.

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Can anyone verify this bug for artful as well?

Revision history for this message
Corey Bryant (corey.bryant) wrote :

I've verified this successfully on artful-proposed:

root@a1:~# apt policy mistral-engine mistral-event-engine
mistral-engine:
  Installed: 5.2.2-0ubuntu1
  Candidate: 5.2.2-0ubuntu1
  Version table:
 *** 5.2.2-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu artful-proposed/universe amd64 Packages
        100 /var/lib/dpkg/status
     5.0.0-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu artful/universe amd64 Packages
mistral-event-engine:
  Installed: 5.2.2-0ubuntu1
  Candidate: 5.2.2-0ubuntu1
  Version table:
 *** 5.2.2-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu artful-proposed/universe amd64 Packages
        100 /var/lib/dpkg/status
     5.0.0-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu artful/universe amd64 Packages
root@a1:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful

tags: added: verification-done-artful
removed: verification-needed-artful
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mistral - 5.2.2-0ubuntu1

---------------
mistral (5.2.2-0ubuntu1) artful; urgency=medium

  * d/gbp.conf: Create stable/pike branch.
  * d/mistral-event-engine.init.in: Update init script template to
    provide mistral-event-engine service rather than mistral-engine
    which conflicted with mistral-engine.init.in (LP: #1757433).
  * New stable point release for OpenStack Pike (LP: #1758046).

 -- Corey Bryant <email address hidden> Thu, 22 Mar 2018 08:22:48 -0400

Changed in mistral (Ubuntu Artful):
status: Fix Committed → Fix Released
Revision history for this message
Corey Bryant (corey.bryant) wrote :

The verification of the Stable Release Update for mistral has completed successfully and the package has now been released to -updates. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

This bug was fixed in the package mistral - 5.2.2-0ubuntu1~cloud0
---------------

 mistral (5.2.2-0ubuntu1~cloud0) xenial-pike; urgency=medium
 .
   * New upstream release for the Ubuntu Cloud Archive.
 .
 mistral (5.2.2-0ubuntu1) artful; urgency=medium
 .
   * d/gbp.conf: Create stable/pike branch.
   * d/mistral-event-engine.init.in: Update init script template to
     provide mistral-event-engine service rather than mistral-engine
     which conflicted with mistral-engine.init.in (LP: #1757433).
   * New stable point release for OpenStack Pike (LP: #1758046).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.