[mos-xenial] "fuel-rabbit-fence" init scripts packaging is inconsistent

Bug #1583609 reported by Dmitry Burmistrov on 2016-05-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Medium
Alexander Tsamutali

Bug Description

Detailed bug description:
 Package "fuel-rabbit-fence" is built for ubuntu (debian/) & rhel (.spec), but each distro gets different init configuration:
  - ubuntu: upstart & systemd
  - rhel: old-style init.d script

 I think for both os families we should provide systemd unit. We also can provide alternitive init.
 And for all init systems we should provide proper package dependencies (debian/control, Require in spec).
Steps to reproduce:
 Take latest packages, list their files and read "control" information.
Expected results:
 1) Systemd unit is provided for deb/rpm
 2) Other init "scripts" provided for old distro releases
 3) systemd and other init systems are placed in dependency fields in packaging manifests
 4) packages follows all rules above.
Actual result:
 Systemd is absent in deb dependencies.
 systemd unit is absent in rpm.
Reproducibility:
 -
Workaround:
 -
Impact:
 -
Description of the environment:
 Operation system: Ubuntu 16.04
 Versions of components: -
 Reference architecture: -
 Network model: -
 Related projects installed: -
Additional information:
 -

Dmitry Klenov (dklenov) on 2016-05-19
tags: added: area-mos
Changed in fuel:
milestone: none → 10.0
assignee: nobody → MOS Packaging Team (mos-packaging)
importance: Undecided → High
importance: High → Medium
status: New → Confirmed
tags: added: mos-xenial
summary: - "fuel-rabbit-fence" init scripts packaging is inconsistent
+ [mos-xenial] "fuel-rabbit-fence" init scripts packaging is inconsistent
tags: added: 10.0-reviewed
Changed in fuel:
assignee: MOS Packaging Team (mos-packaging) → Alexander Tsamutali (astsmtl)

Fix proposed to branch: master
Change author: Alexander Tsamutali <email address hidden>
Review: https://review.fuel-infra.org/23391

Changed in fuel:
status: Confirmed → In Progress

Reviewed: https://review.fuel-infra.org/23391
Submitter: Pkgs Jenkins <email address hidden>
Branch: master

Commit: 1425114a60026ab6440dec856a9a338e2ab96872
Author: Alexander Tsamutali <email address hidden>
Date: Mon Aug 1 18:43:48 2016

Start rabbit-fence from systemd

- Remove Upstart job from Xenial package.
- Add systemd unit instead of SysV init script in CentOS package.

Change-Id: I8ef3a1bc910c922a9880f2706b379bbcc1f71f85
Closes-Bug: #1583609

Changed in fuel:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers