deployed unit listens to tcp port 80 and 443 unnecessarily

Bug #2020787 reported by Nobuto Murata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Designate Charm
New
Undecided
Unassigned

Bug Description

App Version Status Scale Charm Channel Rev Exposed Message
designate 14.0.1 active 1 designate yoga/stable 140 no Unit is ready

Designate API is listening on port 9001 (more precisely 9001 as haproxy -> 8991 as apache2 -> 8981 as designate-api).

It looks like the charm doesn't touch /etc/apache2/ports.conf so the default ports 80 and 443 are still listened.

$ juju ssh designate/0 -- sudo ss -tlnp | egrep 'apache2|designate|haproxy' | sort -k 6
LISTEN 0 511 *:80 *:* users:(("apache2",pid=48369,fd=4),("apache2",pid=48368,fd=4),("apache2",pid=48366,fd=4))
LISTEN 0 511 *:443 *:* users:(("apache2",pid=48369,fd=6),("apache2",pid=48368,fd=6),("apache2",pid=48366,fd=6))
LISTEN 0 511 *:8991 *:* users:(("apache2",pid=48369,fd=8),("apache2",pid=48368,fd=8),("apache2",pid=48366,fd=8))
LISTEN 0 100 0.0.0.0:5358 0.0.0.0:* users:(("designate-agent",pid=52877,fd=5))
LISTEN 0 128 0.0.0.0:8981 0.0.0.0:* users:(("designate-api",pid=52910,fd=6),("designate-api",pid=52910,fd=5))
LISTEN 0 100 0.0.0.0:5354 0.0.0.0:* users:(("designate-mdns",pid=52861,fd=8))
LISTEN 0 4096 127.0.0.1:8888 0.0.0.0:* users:(("haproxy",pid=39960,fd=6))
LISTEN 0 4096 0.0.0.0:9001 0.0.0.0:* users:(("haproxy",pid=39960,fd=7))
LISTEN 0 4096 *:9001 *:* users:(("haproxy",pid=39960,fd=8))

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.