From nobody Thu Jun 6 16:16:17 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vw8b63gQCz5N69k for ; Thu, 06 Jun 2024 16:16:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vw8b56sfMz4XPv for ; Thu, 6 Jun 2024 16:16:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717690578; a=rsa-sha256; cv=none; b=lUNNmJaFD/je12SWpsLXvht6niMIZnyOmztoT6+3DlchSxmmedxkJY6GcLjULrKPmPuFQK ZYSRBo31B+tpooDwcWH9m9f1ZaPpZhC520wl9DpeYwIY+Hp+O4T0gACQxnLn8X+WVIQzUy 2uCRrxdD32yk+b7ujv2+KBjdOQ4dVtEa4NMTkMhxrJeW22a1EjNle21gmWIcNRMinTr0JC 6dGAEBvBUxtPIeaa+poz6xTSpnx2dAPqsgkNiaRwy8KwoA+6daSygAZiJgbsyJpXEK2aXR p3BDhmY/7NYuNfRUS9BLgRy4vGNQJFL/5oyHxRef1j9gL6vBu08pcuGUb07EVQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717690578; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Wvr4piogmjg0y3RTlhJrXuSzMKOaQDddn2TyzOmnlbo=; b=UdIBn+KucIRB7i5kq57yN0I+6X4aynbzlcGdRvnMlKwtLhfa5yOy6PAVEP1rFLyENAd492 hQ1PBrgWP4t7lijuTqbTfradtHsJRaLPWkyVTJKeqnlMIAOgnjXLf0VNsuTKhWfRsKmQMp EukB4dsZkxbF3oJDY9788fHtA0K/5RWYORx1TaSKR/refm9Wxy7gYro4FQ65r03ZQDE5T4 IR3/uWz0kyejqY1TQ9akiOELdxQTwVNTtfjSKdfFEEP/FpoVa1KO4i6kBVS4gd/XUdPfYB pxOVIgU6d8A0RpmsIuRk7/YK+nkA2bnhY5OQZ0EmwXQnkXTp5Gs2gNPwHGsZNA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Vw8b55JNwzscW for ; Thu, 6 Jun 2024 16:16:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 456GGHpT038372 for ; Thu, 6 Jun 2024 16:16:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 456GGHMG038368 for bugs@FreeBSD.org; Thu, 6 Jun 2024 16:16:17 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 271460] ctld ports become inaccessible due to concurrent service restarts Date: Thu, 06 Jun 2024 16:16:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271460 Alan Somers changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress --- Comment #1 from Alan Somers --- I've discovered a highly undocumented command that can allow one to recover from this situation without a reboot. First shutdown ctld, then remove each iSCSI target port with the undocumented command, and then restart ctld. The command is: ctladm port -d iscsi -r -p DONTCARE -O cfiscsi_portal_group_tag=3DTAG -O cfiscsi_target=3DTARGET Where "DONTCARE" must be an integer but otherwise its value does not matter, "TAG" can be found via "ctladm portlist -v" and is typically 257 or greater, and TARGET can also be found via "ctladm portlist -v". I'll update the man page to document this syntax and also add ATF tests for= it. --=20 You are receiving this mail because: You are the assignee for the bug.=