← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1711127] Re: fwaas_v2: wrong parameter passed to FirewallGroupPortInvalidProject exception

 

Reviewed:  https://review.openstack.org/494198
Committed: https://git.openstack.org/cgit/openstack/neutron-fwaas/commit/?id=c76e12cf64b23ffc543c8608eea2ff7468a5b42a
Submitter: Jenkins
Branch:    master

commit c76e12cf64b23ffc543c8608eea2ff7468a5b42a
Author: Inessa Vasilevskaya <ivasilevskaya@xxxxxxxxxxxx>
Date:   Wed Aug 16 12:48:35 2017 +0000

    FirewallGroupPortInvalidProject can be raised now
    
    Earlier 'tenant_id' was passed instead of 'project_id'
    which resulted in AttributeError.
    This patch fixes the issue and also adds a covering unit test.
    
    Change-Id: I64ce925537823644176753952d00c41b16c26924
    Closes-Bug: #1711127


** 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/1711127

Title:
  fwaas_v2: wrong parameter passed to FirewallGroupPortInvalidProject
  exception

Status in neutron:
  Fix Released

Bug description:
  Steps to reproduce: pike devstack, fwaas_v2

  1. create a firewall group/policy/rule with project_id == devstack admin
  2. try adding a router port with project_id == demo

  This behavior will result in FirewallGroupPortInvalidProject exception
  which will never be raised properly because of wrong parameter
  'tenant_id' passed to a constructor.

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


References