nrpe open_port fails because memcached already opens the default port

Bug #1746497 reported by Alvaro Uria on 2018-01-31
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
memcached-charm
Undecided
Unassigned

Bug Description

* memcached charm opens port 5666/TCP:
http://bazaar.launchpad.net/~memcached-team/charms/trusty/memcached/trunk/view/head:/hooks/memcached_hooks.py#L296
* nrpe charm does the same (default server_port is 5666)
https://git.launchpad.net/nrpe-charm/tree/hooks/services.py#n42

I think memcached should not open the nrpe port if the relation with nrpe-external-master is available.

Related branches

Alvaro Uria (aluria) wrote :

Issue workarounded by:
"""
juju run --application ncc-memcached 'close-port 5666/TCP'
juju resolve nrpe-lxd/N # the affected units
"""

Junien Fridrick (axino) wrote :

I filed the linked MP for this.

A bit brutal, but having memcached touch port 5666 is absolutely out of place.

Tom Haddon (mthaddon) on 2018-03-20
no longer affects: memcached (Juju Charms Collection)
Tom Haddon (mthaddon) on 2018-03-20
Changed in memcached-charm:
status: New → Fix Committed
Tom Haddon (mthaddon) wrote :

This has been fixed in cs:memcached-19

Changed in memcached-charm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers