nrpe open_port fails because memcached already opens the default port

Bug #1746497 reported by Alvaro Uria
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
memcached-charm
Fix Released
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

Revision history for this message
Alvaro Uria (aluria) wrote :

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

Revision history for this message
Junien F (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)
no longer affects: memcached (Juju Charms Collection)
Tom Haddon (mthaddon)
Changed in memcached-charm:
status: New → Fix Committed
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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