Check for services listening on ports assumes the service listen on 0.0.0.0

Bug #1843434 reported by Frode Nordahl
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Charm Helpers
Triaged
Medium
Unassigned
Watcher Charm
Triaged
Medium
Unassigned
charms.openstack
Triaged
Medium
Unassigned
Changed in charms.openstack:
status: New → Triaged
Changed in charm-helpers:
status: New → Triaged
importance: Undecided → Medium
Changed in charms.openstack:
importance: Undecided → Medium
Revision history for this message
Stamatis Katsaounis (skatsaounis) wrote :

Hi all,

The problem occurs when HTTPS is not set, thus the charm uses HTTP only. When this is the case, this line here: https://opendev.org/openstack/charms.openstack/src/branch/master/charms_openstack/adapters.py#L921

makes the IP being set to self.local_address instead of '0.0.0.0'.

By changing to HTTPS, this is correctly set to '0.0.0.0' and the check is successful. To be able to configure HTTPS though, you have to merge my patch, which is a BUG fix. See relevant ticket and patch here:

https://bugs.launchpad.net/charm-watcher/+bug/1903583
https://review.opendev.org/#/c/761980/

Kind regards,
Stamatis

Changed in charm-watcher:
importance: Undecided → Medium
status: New → Triaged
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.