← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2089252] [NEW] neutron-vpnaas: LibreSwan 4 connections not listed as ACTIVE

 

Public bug reported:

The regex that are used to check IPSec connection status is incorrect
for LibreSwan 4:

>From neutron_vpnaas/services/vpn/device_drivers/ipsec.py
```python
    STATUS_IPSEC_SA_ESTABLISHED_RE = (
        r'\d{3} #\d+: "([a-f0-9\-]+).*established.*newest IPSEC')
    STATUS_IPSEC_SA_ESTABLISHED_RE2 = (
        r'\d{3} #\d+: "([a-f0-9\-\/x]+).*established.*newest IPSEC')
```

Removing " IPSEC" is an effective fix, but has not been quality checked.

** Affects: neutron
     Importance: Undecided
         Status: New

** Summary changed:

- neutron-vpnaas: LibreSwan connections not listed as ACTIVE
+ neutron-vpnaas: LibreSwan 4 connections not listed as ACTIVE

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2089252

Title:
  neutron-vpnaas: LibreSwan 4 connections not listed as ACTIVE

Status in neutron:
  New

Bug description:
  The regex that are used to check IPSec connection status is incorrect
  for LibreSwan 4:

  From neutron_vpnaas/services/vpn/device_drivers/ipsec.py
  ```python
      STATUS_IPSEC_SA_ESTABLISHED_RE = (
          r'\d{3} #\d+: "([a-f0-9\-]+).*established.*newest IPSEC')
      STATUS_IPSEC_SA_ESTABLISHED_RE2 = (
          r'\d{3} #\d+: "([a-f0-9\-\/x]+).*established.*newest IPSEC')
  ```

  Removing " IPSEC" is an effective fix, but has not been quality
  checked.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2089252/+subscriptions