← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1645652] Re: Vlan aware VM- trunk is not delted when it is in admin-state-up False

 

Allowing trunk deletion while a trunk is disabled would not be difficult
to fix, in that it's a matter of skipping check [1]. That said, this is
a matter of consistency, IMO: since the meaning of a disabled admin
state is to prevent management actions on a trunk, this will include
add/remove subports as well as trunk deletion (which as a result causes
a cascade deletion of subports).

[1]
https://github.com/openstack/neutron/blob/master/neutron/services/trunk/plugin.py#L257

** Changed in: neutron
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1645652

Title:
  Vlan aware VM- trunk is not delted when it is in admin-state-up False

Status in neutron:
  Won't Fix

Bug description:
  [stack@undercloud-0 ~]$ openstack network trunk delete trunk1
  Failed to delete trunk with name or ID 'trunk1': Trunk 3b5c8493-7832-4501-a93f-65c5131512bb is currently disabled.
  Neutron server returns request_ids: ['req-2ee037a3-6d2f-49fe-babb-cc9a4b2ce9dd']
  1 of 1 trunks failed to delete.

  
  [stack@undercloud-0 ~]$  openstack network trunk set trunk1 --enable
  [stack@undercloud-0 ~]$ 
  [stack@undercloud-0 ~]$ 
  [stack@undercloud-0 ~]$ 
  [stack@undercloud-0 ~]$ openstack network trunk delete trunk1
  [stack@undercloud-0 ~]$ 

  
  I think that the admin state is not relevant when we want to delete the trunk

  
  newton, 
  [root@controller-0 ~]# rpm -qa | grep openstack | grep neutron
  openstack-neutron-lbaas-9.1.0-1.el7ost.noarch
  openstack-neutron-bigswitch-lldp-9.40.0-1.1.el7ost.noarch
  openstack-neutron-metering-agent-9.1.0-6.el7ost.noarch
  openstack-neutron-sriov-nic-agent-9.1.0-6.el7ost.noarch
  openstack-neutron-ml2-9.1.0-6.el7ost.noarch
  openstack-neutron-bigswitch-agent-9.40.0-1.1.el7ost.noarch
  openstack-neutron-openvswitch-9.1.0-6.el7ost.noarch
  openstack-neutron-common-9.1.0-6.el7ost.noarch
  openstack-neutron-9.1.0-6.el7ost.noarch

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


References