Recent NSX-T NSGroup API change cause error in NSGroup cleanup

Bug #1523659 reported by Tong Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vmware-nsx
New
Undecided
Unassigned

Bug Description

We call nsxt_cleanup during unstack to cleanup the backend resources created from our neutron plugin. However, the recent API change in NSGroup causes exception in Firewall Section cleanup.

stack@htb-1n-eng-dhcp8:~/devstack$ ./unstack.sh
Overriding Configuration Defaults
Loading plugin settings
Number of OS Firewall Sections to be deleted: 0
Traceback (most recent call last):
  File "/opt/stack/vmware-nsx/devstack/tools/nsxt_cleanup.py", line 402, in <module>
    nsx_client.cleanup_all()
  File "/opt/stack/vmware-nsx/devstack/tools/nsxt_cleanup.py", line 381, in cleanup_all
    self.cleanup_os_ns_groups()
  File "/opt/stack/vmware-nsx/devstack/tools/nsxt_cleanup.py", line 298, in cleanup_os_ns_groups
    ns_groups = self.get_os_ns_groups()
  File "/opt/stack/vmware-nsx/devstack/tools/nsxt_cleanup.py", line 291, in get_os_ns_groups
    ns_groups = self.get_ns_groups()
  File "/opt/stack/vmware-nsx/devstack/tools/nsxt_cleanup.py", line 285, in get_ns_groups
    return response.json()['results']
KeyError: 'results'

Revision history for this message
Tong Liu (liutong) wrote :

Actually this is caused by backend NSX NSGroup bug. Waiting for that fix to see if the problem has been resolved or not.

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.