Activity log for bug #2040331

Date Who What changed Old value New value Message
2023-10-25 00:08:14 Mitch Burton bug added bug
2023-10-25 00:08:21 Mitch Burton landscape-charm: status New Triaged
2023-10-25 00:08:24 Mitch Burton landscape-charm: importance Undecided High
2023-10-25 00:08:26 Mitch Burton landscape-charm: assignee Mitch Burton (mitchburton)
2023-10-25 00:08:38 Mitch Burton description The version of haproxy in revision 75 of that charm on jammy is no longer compatible with the landscape-server charm: [ALERT] (4962) : parsing [/etc/haproxy/haproxy.cfg:49] : The 'reqrep' directive is not supported anymore since HAProxy 2.1. Use 'http-request replace-path', 'http-request replace-uri' or 'http-request replace-header' instead. [ALERT] (4962) : parsing [/etc/haproxy/haproxy.cfg:58] : The 'reqrep' directive is not supported anymore since HAProxy 2.1. Use 'http-request replace-path', 'http-request replace-uri' or 'http-request replace-header' instead. [ALERT] (4962) : parsing [/etc/haproxy/haproxy.cfg:67] : The 'reqrep' directive is not supported anymore since HAProxy 2.1. Use 'http-request replace-path', 'http-request replace-uri' or 'http-request replace-header' instead. [ALERT] (4962) : parsing [/etc/haproxy/haproxy.cfg:76] : The 'reqrep' directive is not supported anymore since HAProxy 2.1. Use 'http-request replace-path', 'http-request replace-uri' or 'http-request replace-header' instead. [ALERT] (4962) : Error(s) found in configuration file : /etc/haproxy/haproxy.cfg [ALERT] (4962) : Fatal errors found in configuration. Related error on the landscape-server unit unit-landscape-server-2: 17:02:28 ERROR unit.landscape-server/2.juju-log website:12: Uncaught exception while in charm code: Traceback (most recent call last): File "/var/lib/juju/agents/unit-landscape-server-2/charm/src/settings_files.py", line 163, in write_ssl_cert ssl_cert_fp.write(b64decode(ssl_cert.encode())) File "/usr/lib/python3.10/base64.py", line 87, in b64decode return binascii.a2b_base64(s) binascii.Error: Invalid base64-encoded string: number of data characters (1449) cannot be 1 more than a multiple of 4 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/lib/juju/agents/unit-landscape-server-2/charm/./src/charm.py", line 1004, in <module> main(LandscapeServerCharm) File "/var/lib/juju/agents/unit-landscape-server-2/charm/venv/ops/main.py", line 441, in main _emit_charm_event(charm, dispatcher.event_name) File "/var/lib/juju/agents/unit-landscape-server-2/charm/venv/ops/main.py", line 149, in _emit_charm_event event_to_emit.emit(*args, **kwargs) File "/var/lib/juju/agents/unit-landscape-server-2/charm/venv/ops/framework.py", line 354, in emit framework._emit(event) File "/var/lib/juju/agents/unit-landscape-server-2/charm/venv/ops/framework.py", line 830, in _emit self._reemit(event_path) File "/var/lib/juju/agents/unit-landscape-server-2/charm/venv/ops/framework.py", line 919, in _reemit custom_handler(event) File "/var/lib/juju/agents/unit-landscape-server-2/charm/./src/charm.py", line 602, in _website_relation_changed write_ssl_cert(haproxy_ssl_cert) File "/var/lib/juju/agents/unit-landscape-server-2/charm/src/settings_files.py", line 165, in write_ssl_cert raise SSLCertReadException( settings_files.SSLCertReadException: Unable to decode b64-encoded SSL certificate Resolving this will be required to move forward on #2040203 The version of haproxy in revision 75 of that charm on jammy is no longer compatible with the landscape-server charm: [ALERT] (4962) : parsing [/etc/haproxy/haproxy.cfg:49] : The 'reqrep' directive is not supported anymore since HAProxy 2.1. Use 'http-request replace-path', 'http-request replace-uri' or 'http-request replace-header' instead. [ALERT] (4962) : parsing [/etc/haproxy/haproxy.cfg:58] : The 'reqrep' directive is not supported anymore since HAProxy 2.1. Use 'http-request replace-path', 'http-request replace-uri' or 'http-request replace-header' instead. [ALERT] (4962) : parsing [/etc/haproxy/haproxy.cfg:67] : The 'reqrep' directive is not supported anymore since HAProxy 2.1. Use 'http-request replace-path', 'http-request replace-uri' or 'http-request replace-header' instead. [ALERT] (4962) : parsing [/etc/haproxy/haproxy.cfg:76] : The 'reqrep' directive is not supported anymore since HAProxy 2.1. Use 'http-request replace-path', 'http-request replace-uri' or 'http-request replace-header' instead. [ALERT] (4962) : Error(s) found in configuration file : /etc/haproxy/haproxy.cfg [ALERT] (4962) : Fatal errors found in configuration. Related error on the landscape-server unit unit-landscape-server-2: 17:02:28 ERROR unit.landscape-server/2.juju-log website:12: Uncaught exception while in charm code: Traceback (most recent call last):   File "/var/lib/juju/agents/unit-landscape-server-2/charm/src/settings_files.py", line 163, in write_ssl_cert     ssl_cert_fp.write(b64decode(ssl_cert.encode()))   File "/usr/lib/python3.10/base64.py", line 87, in b64decode     return binascii.a2b_base64(s) binascii.Error: Invalid base64-encoded string: number of data characters (1449) cannot be 1 more than a multiple of 4 During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/var/lib/juju/agents/unit-landscape-server-2/charm/./src/charm.py", line 1004, in <module>     main(LandscapeServerCharm)   File "/var/lib/juju/agents/unit-landscape-server-2/charm/venv/ops/main.py", line 441, in main     _emit_charm_event(charm, dispatcher.event_name)   File "/var/lib/juju/agents/unit-landscape-server-2/charm/venv/ops/main.py", line 149, in _emit_charm_event     event_to_emit.emit(*args, **kwargs)   File "/var/lib/juju/agents/unit-landscape-server-2/charm/venv/ops/framework.py", line 354, in emit     framework._emit(event)   File "/var/lib/juju/agents/unit-landscape-server-2/charm/venv/ops/framework.py", line 830, in _emit     self._reemit(event_path)   File "/var/lib/juju/agents/unit-landscape-server-2/charm/venv/ops/framework.py", line 919, in _reemit     custom_handler(event)   File "/var/lib/juju/agents/unit-landscape-server-2/charm/./src/charm.py", line 602, in _website_relation_changed     write_ssl_cert(haproxy_ssl_cert)   File "/var/lib/juju/agents/unit-landscape-server-2/charm/src/settings_files.py", line 165, in write_ssl_cert     raise SSLCertReadException( settings_files.SSLCertReadException: Unable to decode b64-encoded SSL certificate Resolving this will be required to move forward on LP: #2040203
2023-10-25 00:25:08 Nobuto Murata bug added subscriber Nobuto Murata
2023-10-30 22:23:46 Kevin Nasto landscape-charm: assignee Mitch Burton (mitchburton)
2023-10-30 22:23:55 Kevin Nasto landscape-charm: assignee Kevin Nasto (silverdrake11)
2023-10-30 22:24:06 Kevin Nasto landscape-charm: status Triaged In Progress
2023-10-30 22:24:28 Kevin Nasto merge proposal linked https://code.launchpad.net/~silverdrake11/landscape-charm/+git/landscape-charm/+merge/454834
2023-11-01 19:59:39 Camille Rodriguez bug added subscriber Camille Rodriguez
2023-11-02 11:11:15 Juan Pablo Noreña bug added subscriber Juan Pablo Noreña
2023-11-22 22:14:57 Kevin Nasto landscape-charm: status In Progress Fix Released