Activity log for bug #1998311

Date Who What changed Old value New value Message
2022-11-30 08:52:03 Sistemi CeSIA bug added bug
2022-12-01 14:19:25 Paride Legovini bug watch added https://bz.apache.org/bugzilla/show_bug.cgi?id=66300
2022-12-01 14:19:25 Paride Legovini bug task added apache2
2022-12-01 14:19:57 Paride Legovini nominated for series Ubuntu Jammy
2022-12-01 14:19:57 Paride Legovini bug task added apache2 (Ubuntu Jammy)
2022-12-01 14:19:57 Paride Legovini nominated for series Ubuntu Kinetic
2022-12-01 14:19:57 Paride Legovini bug task added apache2 (Ubuntu Kinetic)
2022-12-01 14:20:02 Paride Legovini apache2 (Ubuntu): status New Triaged
2022-12-01 14:20:05 Paride Legovini apache2 (Ubuntu Jammy): status New Triaged
2022-12-01 14:20:07 Paride Legovini apache2 (Ubuntu Kinetic): status New Triaged
2022-12-01 14:26:45 Paride Legovini bug added subscriber Ubuntu Server
2022-12-01 14:30:05 Paride Legovini tags server-todo
2022-12-01 15:09:55 Bug Watch Updater apache2: status Unknown Confirmed
2022-12-01 15:09:55 Bug Watch Updater apache2: importance Unknown Medium
2022-12-07 16:54:36 Robie Basak apache2 (Ubuntu): assignee Michał Małoszewski (michal-maloszewski99)
2022-12-07 16:54:42 Robie Basak apache2 (Ubuntu Jammy): assignee Michał Małoszewski (michal-maloszewski99)
2022-12-07 16:54:48 Robie Basak apache2 (Ubuntu Kinetic): assignee Michał Małoszewski (michal-maloszewski99)
2022-12-15 19:40:09 Launchpad Janitor merge proposal linked https://code.launchpad.net/~michal-maloszewski99/ubuntu/+source/apache2/+git/apache2/+merge/434741
2023-01-25 16:14:26 Christian Ehrhardt  tags server-todo
2023-03-01 21:29:58 Michał Małoszewski apache2 (Ubuntu): status Triaged Fix Released
2023-03-01 23:38:49 Launchpad Janitor merge proposal linked https://code.launchpad.net/~michal-maloszewski99/ubuntu/+source/apache2/+git/apache2/+merge/438155
2023-03-07 22:58:06 Michał Małoszewski description We were very excited to see mod_proxy_hcheck support for AJP/CPING land in Ubuntu 22.04, however trying to enable it results in the following error: > BalancerMember Health check method CPING not (yet) implemented This unfortunately renders AJP-based health checks, which is a new feature introduced in version 2.4.49 (and thus only available in Jammy), impossible to use. Luckily we were able to find the code responsible for the misbehavior and propose a fix which has now been accepted upstream. Upstream bug: https://bz.apache.org/bugzilla/show_bug.cgi?id=66300 Upstream fix: https://svn.apache.org/viewvc?view=revision&revision=1905608 We would like to see this fix backported in Jammy. [Impact] The Apache JServe Protocol (AJP) proxies inbound requests to an application server, such as health checks via CPING/CPONG. mod_proxy_hcheck added support for AJP/CPING in 22.04, however the following error is encountered when enabling it, which prevents the new feature from operating: BalancerMember Health check method CPING not (yet) implemented This is caused by a incorrect check for AJP support in hc_post_config() that occurs too late, after the configuration syntax has already been marked invalid by the time the "hcmethod=CPING" token is found. The fix is to move the check from hc_post_config() to hc_pre_config(). [Test Plan] Make a container for testing: $ lxc launch ubuntu-daily:jammy jammy-test $ lxc shell jammy-test Type in: # apt update && apt dist-upgrade -y # apt install -y apache2 # cat > /etc/apache2/sites-available/httpd-hcheck-ajp.conf << __EOF__ <VirtualHost *:80> ServerAdmin webmaster@dummy-host2.example.com DocumentRoot “/var/www/html” ServerName myapp.example.com ErrorLog “${APACHE_LOG_DIR}/myapp.example.com-error_log" CustomLog "${APACHE_LOG_DIR}/myapp.example.com-access_log" common <Proxy balancer://myapp> BalancerMember ajp://127.0.0.1:8009/myapp route=app-route timeout=300 ping=3 connectiontimeout=3 hcmethod=CPING </Proxy> ProxyPass /myapp balancer://myapp stickysession=JSESSIONID </VirtualHost> __EOF__ # a2enmod proxy # a2enmod proxy_ajp # a2enmod proxy_hcheck # a2ensite httpd-hcheck-ajp # apachectl -t Example of failed output: # apachectl -t AH00526: Syntax error on line 10 of /etc/apache2/sites-enabled/httpd-hcheck-ajp.conf: BalancerMember Health check method CPING not (yet) implemented Action ‘-t’ failed. The Apache error log may have more information. Example of successful output: # apachectl -t Syntax OK [Where problems could occur] Any code change might change the behavior of the package in a specific situation and cause other errors. Possible, but rather unlikely regression source is the fact that the apache2 will be rebuilt against newer versions of its build dependencies, on Jammy. There might also be some other warning in the code fixed in later versions not identified by us. It is unlikely, but there might be an architecture where the test plan will fail. Some updates can also break the functionality of an introduced fix. Moreover, users can set some new values in the config file that can cause regression. Next thing, which is unlikely, but the stability of the network can affect the functionality of the code and cause regression. The patch itself modifies the code of mod_proxy_hcheck, so any new bugs involving that module would be suspect. The patch changes configuration code, so issues cropping up that seem related to module configuration could be suspect. Finally, since the patch modifies C code, issues typical of C code (segfaults, memory leaks, …) would be possible, however since this moves a chunk of code unmodified this seems unlikely. --------------------------original bug report----------------------------- We were very excited to see mod_proxy_hcheck support for AJP/CPING land in Ubuntu 22.04, however trying to enable it results in the following error: > BalancerMember Health check method CPING not (yet) implemented This unfortunately renders AJP-based health checks, which is a new feature introduced in version 2.4.49 (and thus only available in Jammy), impossible to use. Luckily we were able to find the code responsible for the misbehavior and propose a fix which has now been accepted upstream. Upstream bug: https://bz.apache.org/bugzilla/show_bug.cgi?id=66300 Upstream fix: https://svn.apache.org/viewvc?view=revision&revision=1905608 We would like to see this fix backported in Jammy.
2023-03-07 22:58:49 Michał Małoszewski tags verification-needed
2023-03-07 22:59:16 Michał Małoszewski tags verification-needed verification-needed verification-needed-jammy verification-needed-kinetic
2023-03-08 09:59:20 Michał Małoszewski tags verification-needed verification-needed-jammy verification-needed-kinetic
2023-03-14 09:26:23 Christian Ehrhardt  description [Impact] The Apache JServe Protocol (AJP) proxies inbound requests to an application server, such as health checks via CPING/CPONG. mod_proxy_hcheck added support for AJP/CPING in 22.04, however the following error is encountered when enabling it, which prevents the new feature from operating: BalancerMember Health check method CPING not (yet) implemented This is caused by a incorrect check for AJP support in hc_post_config() that occurs too late, after the configuration syntax has already been marked invalid by the time the "hcmethod=CPING" token is found. The fix is to move the check from hc_post_config() to hc_pre_config(). [Test Plan] Make a container for testing: $ lxc launch ubuntu-daily:jammy jammy-test $ lxc shell jammy-test Type in: # apt update && apt dist-upgrade -y # apt install -y apache2 # cat > /etc/apache2/sites-available/httpd-hcheck-ajp.conf << __EOF__ <VirtualHost *:80> ServerAdmin webmaster@dummy-host2.example.com DocumentRoot “/var/www/html” ServerName myapp.example.com ErrorLog “${APACHE_LOG_DIR}/myapp.example.com-error_log" CustomLog "${APACHE_LOG_DIR}/myapp.example.com-access_log" common <Proxy balancer://myapp> BalancerMember ajp://127.0.0.1:8009/myapp route=app-route timeout=300 ping=3 connectiontimeout=3 hcmethod=CPING </Proxy> ProxyPass /myapp balancer://myapp stickysession=JSESSIONID </VirtualHost> __EOF__ # a2enmod proxy # a2enmod proxy_ajp # a2enmod proxy_hcheck # a2ensite httpd-hcheck-ajp # apachectl -t Example of failed output: # apachectl -t AH00526: Syntax error on line 10 of /etc/apache2/sites-enabled/httpd-hcheck-ajp.conf: BalancerMember Health check method CPING not (yet) implemented Action ‘-t’ failed. The Apache error log may have more information. Example of successful output: # apachectl -t Syntax OK [Where problems could occur] Any code change might change the behavior of the package in a specific situation and cause other errors. Possible, but rather unlikely regression source is the fact that the apache2 will be rebuilt against newer versions of its build dependencies, on Jammy. There might also be some other warning in the code fixed in later versions not identified by us. It is unlikely, but there might be an architecture where the test plan will fail. Some updates can also break the functionality of an introduced fix. Moreover, users can set some new values in the config file that can cause regression. Next thing, which is unlikely, but the stability of the network can affect the functionality of the code and cause regression. The patch itself modifies the code of mod_proxy_hcheck, so any new bugs involving that module would be suspect. The patch changes configuration code, so issues cropping up that seem related to module configuration could be suspect. Finally, since the patch modifies C code, issues typical of C code (segfaults, memory leaks, …) would be possible, however since this moves a chunk of code unmodified this seems unlikely. --------------------------original bug report----------------------------- We were very excited to see mod_proxy_hcheck support for AJP/CPING land in Ubuntu 22.04, however trying to enable it results in the following error: > BalancerMember Health check method CPING not (yet) implemented This unfortunately renders AJP-based health checks, which is a new feature introduced in version 2.4.49 (and thus only available in Jammy), impossible to use. Luckily we were able to find the code responsible for the misbehavior and propose a fix which has now been accepted upstream. Upstream bug: https://bz.apache.org/bugzilla/show_bug.cgi?id=66300 Upstream fix: https://svn.apache.org/viewvc?view=revision&revision=1905608 We would like to see this fix backported in Jammy. [Impact] The Apache JServe Protocol (AJP) proxies inbound requests to an application server, such as health checks via CPING/CPONG. mod_proxy_hcheck added support for AJP/CPING in 22.04, however the following error is encountered when enabling it, which prevents the new feature from operating:    BalancerMember Health check method CPING not (yet) implemented This is caused by a incorrect check for AJP support in hc_post_config() that occurs too late, after the configuration syntax has already been marked invalid by the time the "hcmethod=CPING" token is found. The fix is to move the check from hc_post_config() to hc_pre_config(). [Test Plan] Make a container for testing: $ lxc launch ubuntu-daily:jammy jammy-test $ lxc shell jammy-test Type in: # apt update && apt dist-upgrade -y # apt install -y apache2 # cat > /etc/apache2/sites-available/httpd-hcheck-ajp.conf << __EOF__ <VirtualHost *:80>     ServerAdmin webmaster@dummy-host2.example.com     DocumentRoot “/var/www/html”     ServerName myapp.example.com     ErrorLog “${APACHE_LOG_DIR}/myapp.example.com-error_log"     CustomLog "${APACHE_LOG_DIR}/myapp.example.com-access_log" common     <Proxy balancer://myapp>        BalancerMember ajp://127.0.0.1:8009/myapp route=app-route timeout=300 ping=3  connectiontimeout=3 hcmethod=CPING      </Proxy>  ProxyPass /myapp balancer://myapp stickysession=JSESSIONID      </VirtualHost> __EOF__ # a2enmod proxy # a2enmod proxy_ajp # a2enmod proxy_hcheck # a2ensite httpd-hcheck-ajp # apachectl -t Example of failed output: # apachectl -t AH00526: Syntax error on line 10 of /etc/apache2/sites-enabled/httpd-hcheck-ajp.conf: BalancerMember Health check method CPING not (yet) implemented Action ‘-t’ failed. The Apache error log may have more information. Example of successful output: # apachectl -t Syntax OK [Where problems could occur] The patch itself modifies the code of mod_proxy_hcheck, so any new bugs involving that module would be suspect. The patch changes configuration code, so issues cropping up that seem related to module configuration could be suspect. Finally, since the patch modifies C code, issues typical of C code (segfaults, memory leaks, …) would be possible, however since this moves a chunk of code unmodified this seems unlikely. --------------------------original bug report----------------------------- We were very excited to see mod_proxy_hcheck support for AJP/CPING land in Ubuntu 22.04, however trying to enable it results in the following error: > BalancerMember Health check method CPING not (yet) implemented This unfortunately renders AJP-based health checks, which is a new feature introduced in version 2.4.49 (and thus only available in Jammy), impossible to use. Luckily we were able to find the code responsible for the misbehavior and propose a fix which has now been accepted upstream. Upstream bug: https://bz.apache.org/bugzilla/show_bug.cgi?id=66300 Upstream fix: https://svn.apache.org/viewvc?view=revision&revision=1905608 We would like to see this fix backported in Jammy.
2023-03-28 16:31:37 Bug Watch Updater apache2: status Confirmed Fix Released
2023-03-31 14:30:20 Timo Aaltonen apache2 (Ubuntu Kinetic): status Triaged Fix Committed
2023-03-31 14:30:22 Timo Aaltonen bug added subscriber Ubuntu Stable Release Updates Team
2023-03-31 14:30:25 Timo Aaltonen bug added subscriber SRU Verification
2023-03-31 14:30:28 Timo Aaltonen tags verification-needed verification-needed-kinetic
2023-03-31 14:31:40 Timo Aaltonen apache2 (Ubuntu Jammy): status Triaged Fix Committed
2023-03-31 14:31:46 Timo Aaltonen tags verification-needed verification-needed-kinetic verification-needed verification-needed-jammy verification-needed-kinetic
2023-04-20 20:34:57 Michał Małoszewski description [Impact] The Apache JServe Protocol (AJP) proxies inbound requests to an application server, such as health checks via CPING/CPONG. mod_proxy_hcheck added support for AJP/CPING in 22.04, however the following error is encountered when enabling it, which prevents the new feature from operating:    BalancerMember Health check method CPING not (yet) implemented This is caused by a incorrect check for AJP support in hc_post_config() that occurs too late, after the configuration syntax has already been marked invalid by the time the "hcmethod=CPING" token is found. The fix is to move the check from hc_post_config() to hc_pre_config(). [Test Plan] Make a container for testing: $ lxc launch ubuntu-daily:jammy jammy-test $ lxc shell jammy-test Type in: # apt update && apt dist-upgrade -y # apt install -y apache2 # cat > /etc/apache2/sites-available/httpd-hcheck-ajp.conf << __EOF__ <VirtualHost *:80>     ServerAdmin webmaster@dummy-host2.example.com     DocumentRoot “/var/www/html”     ServerName myapp.example.com     ErrorLog “${APACHE_LOG_DIR}/myapp.example.com-error_log"     CustomLog "${APACHE_LOG_DIR}/myapp.example.com-access_log" common     <Proxy balancer://myapp>        BalancerMember ajp://127.0.0.1:8009/myapp route=app-route timeout=300 ping=3  connectiontimeout=3 hcmethod=CPING      </Proxy>  ProxyPass /myapp balancer://myapp stickysession=JSESSIONID      </VirtualHost> __EOF__ # a2enmod proxy # a2enmod proxy_ajp # a2enmod proxy_hcheck # a2ensite httpd-hcheck-ajp # apachectl -t Example of failed output: # apachectl -t AH00526: Syntax error on line 10 of /etc/apache2/sites-enabled/httpd-hcheck-ajp.conf: BalancerMember Health check method CPING not (yet) implemented Action ‘-t’ failed. The Apache error log may have more information. Example of successful output: # apachectl -t Syntax OK [Where problems could occur] The patch itself modifies the code of mod_proxy_hcheck, so any new bugs involving that module would be suspect. The patch changes configuration code, so issues cropping up that seem related to module configuration could be suspect. Finally, since the patch modifies C code, issues typical of C code (segfaults, memory leaks, …) would be possible, however since this moves a chunk of code unmodified this seems unlikely. --------------------------original bug report----------------------------- We were very excited to see mod_proxy_hcheck support for AJP/CPING land in Ubuntu 22.04, however trying to enable it results in the following error: > BalancerMember Health check method CPING not (yet) implemented This unfortunately renders AJP-based health checks, which is a new feature introduced in version 2.4.49 (and thus only available in Jammy), impossible to use. Luckily we were able to find the code responsible for the misbehavior and propose a fix which has now been accepted upstream. Upstream bug: https://bz.apache.org/bugzilla/show_bug.cgi?id=66300 Upstream fix: https://svn.apache.org/viewvc?view=revision&revision=1905608 We would like to see this fix backported in Jammy. [Impact] The Apache JServe Protocol (AJP) proxies inbound requests to an application server, such as health checks via CPING/CPONG. mod_proxy_hcheck added support for AJP/CPING in 22.04, however the following error is encountered when enabling it, which prevents the new feature from operating:    BalancerMember Health check method CPING not (yet) implemented This is caused by a incorrect check for AJP support in hc_post_config() that occurs too late, after the configuration syntax has already been marked invalid by the time the "hcmethod=CPING" token is found. The fix is to move the check from hc_post_config() to hc_pre_config(). [Test Plan] Make a container for testing: $ lxc launch ubuntu-daily:jammy jammy-test $ lxc shell jammy-test Type in: # apt update && apt dist-upgrade -y # apt install -y apache2 # cat > /etc/apache2/sites-available/httpd-hcheck-ajp.conf << __EOF__ <VirtualHost *:80>     ServerAdmin webmaster@dummy-host2.example.com     DocumentRoot "/var/www/html"     ServerName myapp.example.com     ErrorLog "${APACHE_LOG_DIR}/myapp.example.com-error_log"     CustomLog "${APACHE_LOG_DIR}/myapp.example.com-access_log" common     <Proxy balancer://myapp>        BalancerMember ajp://127.0.0.1:8009/myapp route=app-route timeout=300 ping=3  connectiontimeout=3 hcmethod=CPING      </Proxy>  ProxyPass /myapp balancer://myapp stickysession=JSESSIONID      </VirtualHost> __EOF__ # a2enmod proxy # a2enmod proxy_ajp # a2enmod proxy_hcheck # a2ensite httpd-hcheck-ajp # apachectl -t Example of failed output: # apachectl -t AH00526: Syntax error on line 10 of /etc/apache2/sites-enabled/httpd-hcheck-ajp.conf: BalancerMember Health check method CPING not (yet) implemented Action ‘-t’ failed. The Apache error log may have more information. Example of successful output: # apachectl -t Syntax OK [Where problems could occur] The patch itself modifies the code of mod_proxy_hcheck, so any new bugs involving that module would be suspect. The patch changes configuration code, so issues cropping up that seem related to module configuration could be suspect. Finally, since the patch modifies C code, issues typical of C code (segfaults, memory leaks, …) would be possible, however since this moves a chunk of code unmodified this seems unlikely. --------------------------original bug report----------------------------- We were very excited to see mod_proxy_hcheck support for AJP/CPING land in Ubuntu 22.04, however trying to enable it results in the following error: > BalancerMember Health check method CPING not (yet) implemented This unfortunately renders AJP-based health checks, which is a new feature introduced in version 2.4.49 (and thus only available in Jammy), impossible to use. Luckily we were able to find the code responsible for the misbehavior and propose a fix which has now been accepted upstream. Upstream bug: https://bz.apache.org/bugzilla/show_bug.cgi?id=66300 Upstream fix: https://svn.apache.org/viewvc?view=revision&revision=1905608 We would like to see this fix backported in Jammy.
2023-04-20 22:08:09 Michał Małoszewski tags verification-needed verification-needed-jammy verification-needed-kinetic verification-done verification-done-jammy verification-done-kinetic
2023-04-27 13:46:16 Launchpad Janitor apache2 (Ubuntu Kinetic): status Fix Committed Fix Released
2023-04-27 13:46:20 Andreas Hasenack removed subscriber Ubuntu Stable Release Updates Team
2023-04-27 13:46:37 Launchpad Janitor apache2 (Ubuntu Jammy): status Fix Committed Fix Released