Creating more than one L3 Policy(non overlapping) fails on same tenant

Bug #1504392 reported by Magesh GV
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Group Based Policy
Incomplete
Undecided
Unassigned

Bug Description

The proxy IP pool is set as 192.168.0.0/16 by default for every L3 Policy that is created, which is causing issue with rejecting overlaping IP pool when we try to create two distinct L3 policies because of the default proxy IP pool being set.

2015-10-08 20:31:22.696 8359 ERROR gbpservice.neutron.services.grouppolicy.policy_driver_manager [-] Policy driver 'resource_mapping' failed in create_l3_policy_precommit
2015-10-08 20:31:22.696 8359 TRACE gbpservice.neutron.services.grouppolicy.policy_driver_manager Traceback (most recent call last):
2015-10-08 20:31:22.696 8359 TRACE gbpservice.neutron.services.grouppolicy.policy_driver_manager File "/usr/lib/python2.7/site-packages/gbpservice/neutron/services/grouppolicy/policy_driver_manager.py", line 119, in _call_on_drivers
2015-10-08 20:31:22.696 8359 TRACE gbpservice.neutron.services.grouppolicy.policy_driver_manager getattr(driver.obj, method_name)(context)
2015-10-08 20:31:22.696 8359 TRACE gbpservice.neutron.services.grouppolicy.policy_driver_manager File "/usr/lib/python2.7/site-packages/neutron/common/log.py", line 34, in wrapper
2015-10-08 20:31:22.696 8359 TRACE gbpservice.neutron.services.grouppolicy.policy_driver_manager return method(*args, **kwargs)
2015-10-08 20:31:22.696 8359 TRACE gbpservice.neutron.services.grouppolicy.policy_driver_manager File "/usr/lib/python2.7/site-packages/gbpservice/neutron/services/grouppolicy/drivers/resource_mapping.py", line 744, in create_l3_policy_precommit
2015-10-08 20:31:22.696 8359 TRACE gbpservice.neutron.services.grouppolicy.policy_driver_manager ip_pool=l3p_subnets, overlapping_pools=subnets)
2015-10-08 20:31:22.696 8359 TRACE gbpservice.neutron.services.grouppolicy.policy_driver_manager OverlappingIPPoolsInSameTenantNotAllowed: IP Pool [u'121.0.0.0/20', u'192.168.0.0/16'] overlaps with one of the existing L3P for the same tenant [u'120.0.0.0/22', u'192.168.0.0/16'].
2015-10-08 20:31:22.696 8359 TRACE gbpservice.neutron.services.grouppolicy.policy_driver_manager
2015-10-08 20:31:22.701 8359 INFO neutron.api.v2.resource [-] create failed (client error): IP Pool [u'121.0.0.0/20', u'192.168.0.0/16'] overlaps with one of the existing L3P for the same tenant [u'120.0.0.0/22', u'192.168.0.0/16'].

Revision history for this message
Sumit Naiksatam (snaiksat) wrote :

Just like the L3P, the proxy IP Pool can be explicitly set. Does that work?

Changed in group-based-policy:
status: New → Incomplete
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.