Comment 1 for bug 1843434

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