From owner-freebsd-bugs@freebsd.org Thu Jun 28 10:07:44 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 256DB102906A for ; Thu, 28 Jun 2018 10:07:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AEDC97478E for ; Thu, 28 Jun 2018 10:07:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6DB0C1029069; Thu, 28 Jun 2018 10:07:43 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 309461029068 for ; Thu, 28 Jun 2018 10:07:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C17BF7478D for ; Thu, 28 Jun 2018 10:07:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 1B2DA16399 for ; Thu, 28 Jun 2018 10:07:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w5SA7fgO041584 for ; Thu, 28 Jun 2018 10:07:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w5SA7f93041583 for bugs@FreeBSD.org; Thu, 28 Jun 2018 10:07:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 229384] Can't remove address from carp Date: Thu, 28 Jun 2018 10:07:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vegeta@tuxpowered.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2018 10:07:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229384 Bug ID: 229384 Summary: Can't remove address from carp Product: Base System Version: 11.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: vegeta@tuxpowered.net I have systems running FreeBSD 11.1 where I noticed that carp goes MASTER on both routers. Those systems get their carp addresses changed very often, th= ey are Load Balancers used in testing environment where multiple changes happen every minute or so. A few times I've seen both routers on MASTER state with same IP addresses configured, or at least shown in ifconfig. Today I've seen ifconfig clearly showing different IP addresses. Router 2 shows more of them than Router 1. = When trying to add missing IP addresses to Rotuer 1 I got this error: # sudo ifconfig internal4021 inet6 2a00:X::1407/128 alias vhid 211 ifconfig: ioctl (SIOCAIFADDR): File exists Let's try to remove it then: # sudo ifconfig internal4021 inet6 2a00:X::1407/128 -alias vhid 211 ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address I'm also wondering if we really need carps to compare configured addresses.= In scenarios where routers are reconfigured often by some external tool there = is a chance for a short period of config being different on master and slave rou= ters which at this moment might cause them to go MASTER/MASTER conflict. It woul= d be really useful to have this behaviour tunable. I am unsure if the bug happens also on 11.2. --=20 You are receiving this mail because: You are the assignee for the bug.=