epmd daemon is mismanaged by puppet manifests

Bug #1615588 reported by Alexey Lebedeff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Denis Egorenko

Bug Description

Detailed bug description:

 As a part of RabbitMQ installation puppet manifests start epmd daemon. E.g. master branch at the current moment:
 - https://github.com/openstack/fuel-library/blob/5726e825b69be4fa817836f94c0d5601fcaaaa50/deployment/puppet/fuel/manifests/rabbitmq.pp#L185
 - https://github.com/openstack/fuel-library/blob/5726e825b69be4fa817836f94c0d5601fcaaaa50/deployment/puppet/osnailyfacter/manifests/rabbitmq/rabbitmq.pp#L167

 But in systemd-based OSes there are actually systemd service and socket units for epmd, and this explicit call to `epmd` makes systemd dependency mechanisms unusable. As this manually run epmd now prevents systemd from listening on the same port.

Steps to reproduce:
 Try to start any systemd services that has 'Requires=epmd@0.0.0.0.socket' on master node after deployment.

Expected results:
 Service starts.

Actual result:
 Services fails to start because systemd can't satisfy it's dependency on epmd

Reproducibility:
 100%

Workaround:
 Don't use 'Requires=epmd' in systemd units

Impact:
 Switching to modern rabbitmq package can completely break deploy on systemd-enabled systems.

Additional information:
 Systemd units are slightly different on xenial and centos7. Xenial has just 'epmd.service/socket', but CentOS7 allows to specify listening address for socket like 'epmd@0.0.0.0.socket'. And plain `epmd.socket` on CentOS7 listens just on localhost.

Tags: area-library
tags: added: area-library
Changed in fuel:
importance: Undecided → Medium
status: New → Confirmed
milestone: none → 10.0
assignee: nobody → Denis Egorenko (degorenko)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/359854

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/359854
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=784a855040a177ec2b3f6fedb1360a7dd35eba56
Submitter: Jenkins
Branch: master

commit 784a855040a177ec2b3f6fedb1360a7dd35eba56
Author: Denis Egorenko <email address hidden>
Date: Wed Aug 24 15:49:56 2016 +0300

    Do not start epmd from puppet

    Empd service start is fixed on package side, with using systemd unit, so
    we don't need this workaround anymore.

    Change-Id: I17c85fbee03ce45165d097aa9346ec9c1c035999
    Closes-bug: #1615588

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 10.0.0rc1

This issue was fixed in the openstack/fuel-library 10.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 10.0.0

This issue was fixed in the openstack/fuel-library 10.0.0 release.

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.