← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1585047] Re: "DeprecationWarning: PROTO_NAME_IPV6_ICMP_LEGACY" can be observed when running ut for security group

 

Reviewed:  https://review.openstack.org/320221
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=85863c9633a229089ac35a2cb1d397af9d07e5ac
Submitter: Jenkins
Branch:    master

commit 85863c9633a229089ac35a2cb1d397af9d07e5ac
Author: Hong Hui Xiao <xiaohhui@xxxxxxxxxx>
Date:   Tue May 24 04:43:37 2016 +0000

    Remove using PROTO_NAME_IPV6_ICMP_LEGACY from neutron.common.constants
    
    Since neutron_lib 0.2.0 contains PROTO_NAME_IPV6_ICMP_LEGACY, remove
    it from neutron.common.constants
    
    Change-Id: Idd150ce1cbe660fc9529e5d46678f37142490a28
    Closes-bug: #1585047


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  "DeprecationWarning: PROTO_NAME_IPV6_ICMP_LEGACY" can be observed when
  running ut for security group

Status in neutron:
  Fix Released

Bug description:
  The following warning can be observed. Since neutron_lib 0.2.0
  contains "PROTO_NAME_IPV6_ICMP_LEGACY", we should remove the using of
  it from neutron.common.constants

  {0}
  neutron.tests.unit.agent.test_securitygroups_rpc.SGServerRpcCallBackTestCase.test_security_group_rules_for_devices_ipv6_source_group
  [2.236118s] ... ok

  Captured stderr:
  ~~~~~~~~~~~~~~~~
      neutron/db/securitygroups_db.py:474: DeprecationWarning: PROTO_NAME_IPV6_ICMP_LEGACY in version 'mitaka' and will be removed in version 'newton': moved to neutron_lib.constants
        n_const.PROTO_NAME_IPV6_ICMP_LEGACY,

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


References