← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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,

** Affects: neutron
     Importance: Undecided
     Assignee: Hong Hui Xiao (xiaohhui)
         Status: In Progress

** Changed in: neutron
     Assignee: (unassigned) => Hong Hui Xiao (xiaohhui)

-- 
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:
  In Progress

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


Follow ups