← Back to team overview

nagios-charmers team mailing list archive

[Bug 1983986] Re: nrpe reports ssl issues on focal

 

On Focal, this appears to be caused by this section:

                if (packet_ver != NRPE_PACKET_VERSION_2 && packet_ver != NRPE_PACKET_VERSION_4) {
                        logit(LOG_ERR, "Error: (use_ssl == true): Request packet version was invalid!");
                        return -1;
                }

On Bionic, it was checking against version 2 and 3; on Focal, it's
checking version 2 and 4, but not 3.  Considering code later down which
effectively is now unreachable, this feels like a bug introduced with
newer versions of NRPE distributed with Focal.

** Also affects: nagios-nrpe (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Nagios
Charm developers, which is subscribed to Nagios Charm.
https://bugs.launchpad.net/bugs/1983986

Title:
  nrpe reports ssl issues on focal

Status in Nagios Charm:
  New
Status in nagios-nrpe package in Ubuntu:
  New

Bug description:
  We have many cloud deployments showing this particular issue. We were
  also able to reproduce this issue in the lab environment too using [1]

  In lab environment

  cd ~/stsstack-bundles/openstack

  ./generate-bundle.sh \
    --run \
    -n lma-focal \
    -s focal \
    --use-stable-charms \
    --overlay-network-type gre \
    --create-model \
    --num-compute 1 \
    --nagios \
    --lma

  After a moment, and once everything settles, we can login to
  keystone/0, and we will start to see the following messages occurring
  at ~30s intervals

  ~~~
  Aug  8 16:04:59 juju-8d5724-lma-focal-5 nrpe[51760]: Error: (use_ssl == true): Request packet version was invalid!
  Aug  8 16:04:59 juju-8d5724-lma-focal-5 nrpe[51760]: Could not read request from client 10.5.3.37, bailing out...
  Aug  8 16:04:59 juju-8d5724-lma-focal-5 nrpe[51760]: INFO: SSL Socket Shutdown.
  ~~~

  
  [1] https://github.com/canonical/stsstack-bundles

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-nagios/+bug/1983986/+subscriptions



References