Unable to delete network subnets must be specified for connected segment
search cancel

Unable to delete network subnets must be specified for connected segment

book

Article ID: 375690

calendar_today

Updated On:

Products

VMware Integrated OpenStack VMware vSphere ESXi VMware Telco Cloud Platform

Issue/Introduction

  • When deleting a network you get an error similar to:
    Request failed due to: Segment path=[/infra/segments/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee] has invalid input: subnets must be specified for connected segment.: vmware_nsxlib.v3.exceptions.ManagerError: Segment path=[/infra/segments/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee] has invalid input: subnets must be specified for connected segment.

Environment

7.x

Cause

When VIO attempts to clear DHCP configuration prior to segment deletion (an operation required by NSX) NSX fails the operation because the segment is still connected to a router.

Resolution

Create a support case with Broadcom support for review of the error(s) so we can determine exact steps to resolve.  Please capture VIO and NSX logs to upload with the case.

Additional Information

Below workaround would help resolving the issue

openstack subnet list | grep -i <subnet>
neutron subnet-update <subnet> --disable-dhcp