← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1508106] [NEW] For wrong ethertype exception message is hard coded

 

Public bug reported:

if you give any wrong ethertype while creating security group rule. 
it will always mention reason None in exception message

Invalid input for ethertype. Reason: 'None' is not in ['IPv4', 'IPv6'].

try

neutron security-group-rule-create --ethertype ip  --protocol icmp
<group-id>

it will print 
Invalid input for ethertype. Reason: 'None' is not in ['IPv4', 'IPv6'].

but actually it should be Invalid input for ethertype. Reason: 'ip' is
not in ['IPv4', 'IPv6'].

** Affects: neutron
     Importance: Undecided
     Assignee: Manjeet Singh Bhatia (manjeet-s-bhatia)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Manjeet Singh Bhatia (manjeet-s-bhatia)

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

Title:
  For wrong ethertype exception message is hard coded

Status in neutron:
  New

Bug description:
  if you give any wrong ethertype while creating security group rule. 
  it will always mention reason None in exception message

  Invalid input for ethertype. Reason: 'None' is not in ['IPv4',
  'IPv6'].

  try

  neutron security-group-rule-create --ethertype ip  --protocol icmp
  <group-id>

  it will print 
  Invalid input for ethertype. Reason: 'None' is not in ['IPv4', 'IPv6'].

  but actually it should be Invalid input for ethertype. Reason: 'ip' is
  not in ['IPv4', 'IPv6'].

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


Follow ups