vpn failure with neutron-lib 0.3.0

Bug #1608314 reported by YAMAMOTO Takashi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-midonet
Fix Released
Critical
YAMAMOTO Takashi
neutron
Fix Released
Undecided
Ryan Moats

Bug Description

http://logs.openstack.org/16/349016/1/check/gate-networking-midonet-python27-ubuntu-xenial/102bea5/testr_results.html.gz

ft18.5: midonet.neutron.tests.unit.test_extension_vpnaas.VPNTestCase.test_update_ipsec_site_connection_error_StringException: Empty attachments:
  stdout

pythonlogging:'': {{{
WARNING [stevedore.named] Could not load midonet.neutron.plugin_v2.MidonetPluginV2
 WARNING [stevedore.named] Could not load neutron_vpnaas.services.vpn.plugin.VPNDriverPlugin
 WARNING [stevedore.named] Could not load midonet.neutron.services.vpn.service_drivers.midonet_ipsec.MidonetIPsecVPNDriver
 WARNING [neutron.api.extensions] Extension address-scope not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension auto-allocated-topology not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension availability_zone not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension default-subnetpools not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension dns-integration not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension dvr not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension flavors not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension ip_allocation not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension l3-ha not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension l3-flavors not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension l3_agent_scheduler not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension metering not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension multi-provider not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension net-mtu not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension network_availability_zone not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension network-ip-availability not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension qos not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension revisions not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension router_availability_zone not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension router-service-type not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension segment not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension tag not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension timestamp_core not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension trunk not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension trunk-details not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension vlan-transparent not supported by any of loaded plugins
   ERROR [neutron.api.extensions] Extension path 'neutron/tests/unit/extensions' doesn't exist!
 WARNING [neutron.api.extensions] Extension bgp-speaker-router-insertion not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension gateway-device not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension logging-resource not supported by any of loaded plugins
 WARNING [neutron.quota.resource_registry] network is already registered
 WARNING [neutron.quota.resource_registry] subnetpool is already registered
 WARNING [neutron.quota.resource_registry] port is already registered
 WARNING [neutron.quota.resource_registry] subnet is already registered
 WARNING [neutron.quota.resource_registry] router is already registered
 WARNING [neutron.quota.resource_registry] floatingip is already registered
 WARNING [neutron.scheduler.dhcp_agent_scheduler] No more DHCP agents
 WARNING [neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api] Unable to schedule network 1d884b17-a640-4392-9e83-ca704a8338fb: no agents available; will retry on subsequent port and subnet creation events.
 WARNING [neutron.scheduler.dhcp_agent_scheduler] No more DHCP agents
 WARNING [neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api] Unable to schedule network ce5d24a2-ab47-4c49-bff0-2e980e009b79: no agents available; will retry on subsequent port and subnet creation events.
 WARNING [neutron.scheduler.dhcp_agent_scheduler] No more DHCP agents
 WARNING [neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api] Unable to schedule network 1d884b17-a640-4392-9e83-ca704a8338fb: no agents available; will retry on subsequent port and subnet creation events.
}}}

stderr: {{{
/tmp/openstack/neutron-vpnaas/neutron_vpnaas/extensions/vpnaas.py:169: DeprecationWarning: validators in version 'mitaka' and will be removed in version 'newton': moved to neutron_lib.api.validators
  attr.validators['type:subnet_list_or_none'] = _validate_subnet_list_or_none
/tmp/openstack/neutron-vpnaas/neutron_vpnaas/extensions/vpnaas.py:187: DeprecationWarning: UNLIMITED in version 'mitaka' and will be removed in version 'newton': moved to neutron_lib.api.validators
  vpn_lifetime_limits = (60, attr.UNLIMITED)
/tmp/openstack/neutron-vpnaas/neutron_vpnaas/extensions/vpnaas.py:188: DeprecationWarning: UNLIMITED in version 'mitaka' and will be removed in version 'newton': moved to neutron_lib.api.validators
  positive_int = (0, attr.UNLIMITED)
/tmp/openstack/neutron/neutron/common/ipv6_utils.py:70: DeprecationWarning: IPV6_SLAAC in version 'mitaka' and will be removed in version 'newton': moved to neutron_lib.constants
  modes = [constants.IPV6_SLAAC, constants.DHCPV6_STATELESS]
/tmp/openstack/neutron/neutron/common/ipv6_utils.py:70: DeprecationWarning: DHCPV6_STATELESS in version 'mitaka' and will be removed in version 'newton': moved to neutron_lib.constants
  modes = [constants.IPV6_SLAAC, constants.DHCPV6_STATELESS]
/tmp/openstack/neutron/neutron/common/ipv6_utils.py:70: DeprecationWarning: IPV6_SLAAC in version 'mitaka' and will be removed in version 'newton': moved to neutron_lib.constants
  modes = [constants.IPV6_SLAAC, constants.DHCPV6_STATELESS]
/tmp/openstack/neutron/neutron/common/ipv6_utils.py:70: DeprecationWarning: DHCPV6_STATELESS in version 'mitaka' and will be removed in version 'newton': moved to neutron_lib.constants
  modes = [constants.IPV6_SLAAC, constants.DHCPV6_STATELESS]
/tmp/openstack/neutron/neutron/common/ipv6_utils.py:70: DeprecationWarning: IPV6_SLAAC in version 'mitaka' and will be removed in version 'newton': moved to neutron_lib.constants
  modes = [constants.IPV6_SLAAC, constants.DHCPV6_STATELESS]
/tmp/openstack/neutron/neutron/common/ipv6_utils.py:70: DeprecationWarning: DHCPV6_STATELESS in version 'mitaka' and will be removed in version 'newton': moved to neutron_lib.constants
  modes = [constants.IPV6_SLAAC, constants.DHCPV6_STATELESS]
/tmp/openstack/neutron/neutron/common/ipv6_utils.py:70: DeprecationWarning: IPV6_SLAAC in version 'mitaka' and will be removed in version 'newton': moved to neutron_lib.constants
  modes = [constants.IPV6_SLAAC, constants.DHCPV6_STATELESS]
/tmp/openstack/neutron/neutron/common/ipv6_utils.py:70: DeprecationWarning: DHCPV6_STATELESS in version 'mitaka' and will be removed in version 'newton': moved to neutron_lib.constants
  modes = [constants.IPV6_SLAAC, constants.DHCPV6_STATELESS]
/tmp/openstack/neutron/neutron/api/v2/attributes.py:428: DeprecationWarning: Function 'neutron.api.v2.attributes.convert_to_boolean()' has moved to 'neutron_lib.api.converters.convert_to_boolean()' in version 'mitaka' and will be removed in version 'ocata': moved to neutron_lib
  res_dict[attr] = attr_vals['convert_to'](res_dict[attr])
/tmp/openstack/neutron/neutron/api/v2/attributes.py:428: DeprecationWarning: Function 'neutron.api.v2.attributes.convert_none_to_empty_dict()' has moved to 'neutron_lib.api.converters.convert_none_to_empty_dict()' in version 'mitaka' and will be removed in version 'ocata': moved to neutron_lib
  res_dict[attr] = attr_vals['convert_to'](res_dict[attr])
/tmp/openstack/neutron/neutron/api/v2/attributes.py:428: DeprecationWarning: Function 'neutron.api.v2.attributes.convert_none_to_empty_dict()' has moved to 'neutron_lib.api.converters.convert_none_to_empty_dict()' in version 'mitaka' and will be removed in version 'ocata': moved to neutron_lib
  res_dict[attr] = attr_vals['convert_to'](res_dict[attr])
/tmp/openstack/neutron/neutron/api/v2/attributes.py:428: DeprecationWarning: Function 'neutron.api.v2.attributes.convert_to_list()' has moved to 'neutron_lib.api.converters.convert_to_list()' in version 'mitaka' and will be removed in version 'ocata': moved to neutron_lib
  res_dict[attr] = attr_vals['convert_to'](res_dict[attr])
/tmp/openstack/neutron-vpnaas/neutron_vpnaas/extensions/vpnaas.py:167: DeprecationWarning: Function 'neutron.api.v2.attributes._validate_subnet_list()' has moved to 'functools.partial()' in version 'mitaka' and will be removed in version 'ocata': moved to neutron_lib
  attr._validate_subnet_list(data, key_specs)
/tmp/openstack/neutron/neutron/api/v2/attributes.py:428: DeprecationWarning: Function 'neutron.api.v2.attributes.convert_to_boolean()' has moved to 'neutron_lib.api.converters.convert_to_boolean()' in version 'mitaka' and will be removed in version 'ocata': moved to neutron_lib
  res_dict[attr] = attr_vals['convert_to'](res_dict[attr])
/tmp/openstack/neutron/neutron/api/v2/attributes.py:428: DeprecationWarning: Function 'neutron.api.v2.attributes.convert_to_int()' has moved to 'neutron_lib.api.converters.convert_to_int()' in version 'mitaka' and will be removed in version 'ocata': moved to neutron_lib
  res_dict[attr] = attr_vals['convert_to'](res_dict[attr])
/tmp/openstack/neutron/neutron/api/v2/attributes.py:428: DeprecationWarning: Function 'neutron.api.v2.attributes.convert_none_to_empty_dict()' has moved to 'neutron_lib.api.converters.convert_none_to_empty_dict()' in version 'mitaka' and will be removed in version 'ocata': moved to neutron_lib
  res_dict[attr] = attr_vals['convert_to'](res_dict[attr])
}}}

Traceback (most recent call last):
  File "midonet/neutron/tests/unit/test_extension_vpnaas.py", line 199, in test_update_ipsec_site_connection_error
    with self.ipsec_site_connection() as ipsec_site_connection:
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/tmp/openstack/neutron-vpnaas/neutron_vpnaas/tests/unit/db/vpn/test_vpn_db.py", line 394, in ipsec_site_connection
    raise webob.exc.HTTPClientError(code=res.status_int)
webob.exc.HTTPClientError: The server could not comply with the request since it is either malformed or otherwise incorrect.

Changed in networking-midonet:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
importance: Undecided → Critical
milestone: none → 3.0.0
status: New → In Progress
tags: added: gate-failure
tags: added: vpnaas
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-vpnaas (master)

Fix proposed to branch: master
Review: https://review.openstack.org/349326

Changed in neutron:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
status: New → In Progress
summary: - vpn ut failure
+ vpn UT failure with neutron-lib 0.3.0
summary: - vpn UT failure with neutron-lib 0.3.0
+ vpn failure with neutron-lib 0.3.0
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Changed in neutron:
assignee: YAMAMOTO Takashi (yamamoto) → Ryan Moats (rmoats)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-vpnaas (master)

Reviewed: https://review.openstack.org/349342
Committed: https://git.openstack.org/cgit/openstack/neutron-vpnaas/commit/?id=06c8c0bbf9568dfcd518aacb3f12adcf4b4ef6cb
Submitter: Jenkins
Branch: master

commit 06c8c0bbf9568dfcd518aacb3f12adcf4b4ef6cb
Author: YAMAMOTO Takashi <email address hidden>
Date: Mon Aug 1 13:06:18 2016 +0900

    Update imports (common.config -> conf.common)

    Update after the recent refactoring. [1]

    [1] Ib5fa294906549237630f87b9c848eebe0644088c

    ----------------------------------------
    This commit also includes the following unrelated change to
    pass the gate.

    Fix a typo in ipsec_site_connection dpd specification

    Found by neutron-lib 0.3.0, which has a stricter validation
    than previous versions. [2]

    [2] Ia93ff849396c6e2a5a170d7c01629a38e412f037

    Closes-Bug: #1608314
    Partial-Bug: #1608346
    Related-Bug: #1563069
    Change-Id: I07430e3064d9900db94e6abcd6ab207030bd7c3d

Changed in neutron:
status: In Progress → Fix Released
Changed in networking-midonet:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-vpnaas (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/350333

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-vpnaas (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/350334

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron-vpnaas (master)

Change abandoned by YAMAMOTO Takashi (<email address hidden>) on branch: master
Review: https://review.openstack.org/349326
Reason: the combined version has been merged

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to networking-midonet (master)

Reviewed: https://review.openstack.org/349773
Committed: https://git.openstack.org/cgit/openstack/networking-midonet/commit/?id=dce2198013efb4343306a1b903e5828f1eab26af
Submitter: Jenkins
Branch: master

commit dce2198013efb4343306a1b903e5828f1eab26af
Author: YAMAMOTO Takashi <email address hidden>
Date: Tue Aug 2 12:40:51 2016 +0900

    devstackgaterc: Exclude test_dhcp_port_status_active

    This test is not appropriate for midonet deployment without dhcp agent.

    Note: The full path of the test in question is:
    neutron.tests.tempest.api.admin.test_dhcp_agent_scheduler.DHCPAgentSchedulersTestJSON.test_dhcp_port_status_active

    Also, disable a few unrelated failing tests for now, so that this commit
    can pass the gate. I'll fix them one by one later. (See Related-Bug)

    Closes-Bug: #1608763
    Related-Bug: #1608312
    Related-Bug: #1608314
    Change-Id: Iff2765508ab3472e6fade8a7c12562bb0cf4b6f2

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to networking-midonet (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/352804

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to networking-midonet (master)

Reviewed: https://review.openstack.org/352804
Committed: https://git.openstack.org/cgit/openstack/networking-midonet/commit/?id=a29fbec98366002a7622789d3e07ec568c0c3c1d
Submitter: Jenkins
Branch: master

commit a29fbec98366002a7622789d3e07ec568c0c3c1d
Author: YAMAMOTO Takashi <email address hidden>
Date: Tue Aug 9 18:26:41 2016 +0900

    tox.ini: Re-enable test_extension_vpnaas

    The issue has been fixed in neutron-vpnaas repository. [1]

    [1] I07430e3064d9900db94e6abcd6ab207030bd7c3d

    Related-Bug: #1608314
    Change-Id: If9f3a9a20a3ffee770c165c9ab47978c12c36706

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron-vpnaas 9.0.0.0b3

This issue was fixed in the openstack/neutron-vpnaas 9.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron-vpnaas (stable/liberty)

Change abandoned by Ihar Hrachyshka (<email address hidden>) on branch: stable/liberty
Review: https://review.openstack.org/350334
Reason: Liberty is in CVE only mode.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-vpnaas (stable/mitaka)

Reviewed: https://review.openstack.org/350333
Committed: https://git.openstack.org/cgit/openstack/neutron-vpnaas/commit/?id=035f12f9900ff322f5cbb2b134ba4ca26f7fa022
Submitter: Jenkins
Branch: stable/mitaka

commit 035f12f9900ff322f5cbb2b134ba4ca26f7fa022
Author: YAMAMOTO Takashi <email address hidden>
Date: Mon Aug 1 13:06:18 2016 +0900

    Fix a typo in ipsec_site_connection dpd specification

    Found by neutron-lib 0.3.0, which has a stricter validation
    than previous versions. [2]

    [2] Ia93ff849396c6e2a5a170d7c01629a38e412f037

    Backport note: The original commit on master was a combination of
    two unrelated changes in order to pass the gate. This backports
    only one of them.

    Closes-Bug: #1608314
    Change-Id: I07430e3064d9900db94e6abcd6ab207030bd7c3d
    (cherry picked from commit 06c8c0bbf9568dfcd518aacb3f12adcf4b4ef6cb)

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron-vpnaas 8.4.0

This issue was fixed in the openstack/neutron-vpnaas 8.4.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.