Project

General

Profile

Actions

Bug #13210

closed

Removing multiple links from aggr leaves last link dangling

Added by Paul Winder 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
networking
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

If you create an aggr

dladm create-aggr -l mlxcx0 -l mlxcx1 -l mlxcx2 -l mlxcx3 aggr0

and remove two of the links using one remove-aggr command
dladm remove-aggr -l mlxcx0 -l mlxcx1 aggr0

You end up with
dladm show-link aggr0
LINK        CLASS     MTU    STATE    BRIDGE     OVER
aggr0       aggr      1500   up       --         mlxcx1,mlxcx2,mlxcx3

and if you try and remove the dangling link
dladm remove-aggr  -l mlxcx1 aggr0
dladm: remove operation failed: invalid link

Actions #1

Updated by Electric Monk 7 months ago

  • Gerrit CR set to 964
Actions #2

Updated by Electric Monk 7 months ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

git commit 0a36db39c3cd88f4799ecd9db875f43d834d0a81

commit  0a36db39c3cd88f4799ecd9db875f43d834d0a81
Author: Paul Winder <paul@winder.uk.net>
Date:   2020-10-13T15:07:11.000Z

    13210 Removing multiple links from aggr leaves last link dangling
    Reviewed by: Garrett D'Amore <garrett@damore.org>
    Reviewed by: Ryan Zezeski <ryan@zinascii.com>
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Reviewed by: C Fraire <cfraire@me.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF