Unable to delete external network segment

Bug #1463207 reported by AJAY KALAMBUR
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Group Based Policy
Fix Released
High
Ivar Lazzaro

Bug Description

I created a external segment and now I want to delete it. I see no errors when running the delete command but the segment does not get deleted
gbp external-segment-delete 184bf5e7-7b86-48ef-af2f-3e31cddd6d96
Deleted external_segment: 184bf5e7-7b86-48ef-af2f-3e31cddd6d96
[akalambu@akalambu-VM rally(keystone_admin)]$ gbp external-segment-list
+--------------------------------------+---------+-------------+-------------------+-----------------+--------------------------+--------+
| id | name | description | cidr | external_routes | port_address_translation | shared |
+--------------------------------------+---------+-------------+-------------------+-----------------+--------------------------+--------+
| 184bf5e7-7b86-48ef-af2f-3e31cddd6d96 | default | | 172.22.191.128/25 | | False | True |
+--------------------------------------+---------+-------------+-------------------+-----------------+--------------------------+--------+

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

I believe the segment gets deleted and then gets but gets added back by the implicity policy driver (as a part of the implicit workflow that tries to create a default external segment with the name "default").

Changed in group-based-policy:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Ivar Lazzaro (mmaleckk)
milestone: none → kilo-gbp-4
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy (master)

Fix proposed to branch: master
Review: https://review.openstack.org/190779

Changed in group-based-policy:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy (master)

Reviewed: https://review.openstack.org/190779
Committed: https://git.openstack.org/cgit/stackforge/group-based-policy/commit/?id=18923a681caeaedc621152969d8ded0e590739ca
Submitter: Jenkins
Branch: master

commit 18923a681caeaedc621152969d8ded0e590739ca
Author: Ivar Lazzaro <email address hidden>
Date: Thu Jun 11 12:30:26 2015 -0700

    fix external segment deletion

    - Adds InUseError for external segment;
    - Removes the implicit workflow on model update.

    Change-Id: I2ca4fbae342137e19b9874203e1ceb5bffc9fbe3
    Closes-bug: 1463207

Changed in group-based-policy:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/194274

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy (stable/juno)

Reviewed: https://review.openstack.org/194274
Committed: https://git.openstack.org/cgit/stackforge/group-based-policy/commit/?id=6e562e535282591dbfb426cb4af228ef8325c018
Submitter: Jenkins
Branch: stable/juno

commit 6e562e535282591dbfb426cb4af228ef8325c018
Author: Ivar Lazzaro <email address hidden>
Date: Thu Jun 11 12:30:26 2015 -0700

    fix external segment deletion

    - Adds InUseError for external segment;
    - Removes the implicit workflow on model update.

    Change-Id: I2ca4fbae342137e19b9874203e1ceb5bffc9fbe3
    Closes-bug: 1463207
    (cherry picked from commit 18923a681caeaedc621152969d8ded0e590739ca)

tags: added: in-stable-juno
Changed in group-based-policy:
status: Fix Committed → Fix Released
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.