From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 2F6802563CF7 for ; Mon, 9 Sep 2024 13:36:08 -0400 (EDT) (envelope-from prvs=198290ab0b=illumos@fiddaman.net) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id A19CD7A385E; Mon, 9 Sep 2024 13:36:07 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1725903366; b=PhJ0oPDAO9Xg0j/Ii+fllOaCH8WDK7HRIwaPa6wAtgz9+NixhM tSBxhdtL9SCMJEEXFYXAaEVIWJITU4wDtpNXttztQiS2q6fDxlqvbAeCavES6lL4 QI2l8sgle3Gkm5W2e7E6p63tNqm92Am8wwykHGN6ec+MTlFOkb25teFh7l7QgIGl YVCx/dobBWlmU7WkH5KD4NjUGP07MUluB3l5IAGSc/PoPj9LmH6UFLlXD0PAx5p6 JSou1dSU/YopW4BVfeViNT3YK5K5l0iguUTkyoHsBBttPMbHl3Z1AY1AzuA65dOu l0HHchK/uu3b2DlKa69FnyYQ9xTd8tOkiLEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:subject:in-reply-to:message-id :references:mime-version:content-type; s=arcseal; t=1725903366; bh=cbpg5VP+o9APb/82UJX4rN0zX4fbzwxa8/JVca4esGE=; b=Kr5xNp/pVSTy elIdds7HhabtcHSiQhmCDOG5QiT1F755V5D9hIOp1/MgQIOqAyEDTdsteWG+Yr82 Qq3PUZRi/gzNT9r6FVS+v2lzudS807d1DeBCQ3qBoselYI+rIPySt/SLHsMIpKYH FGFBZRtLDBtABDKyqyvAQgPv0707uzB+J434criKoQMjMGpaxEjANd8zr147wXk0 EJIZlDQIJ8s51dtRP12jXitqsluc3pfD26IOBfcjVrgyZse22mOE8yFqvfh+kbPF 3n9xUCzo6cGwf7JlMI3fyOQU0IrlqK/zCCII4GCa4hFWGgeq7XqnBaedI1RP/YoE fsK2JbXxNw== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=pass (1024-bit rsa key sha256) header.d=fiddaman.net header.i=@fiddaman.net header.b=RtWSWSOf header.a=rsa-sha256 header.s=boomer x-bits=1024; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=fiddaman.net; iprev=pass smtp.remote-ip=89.248.55.103 (mail.citrus-it.net); spf=pass smtp.mailfrom="prvs=198290ab0b=illumos@fiddaman.net" smtp.helo=mail.citrus-it.net; x-aligned-from=domain_pass (Domain match); x-me-sender=none; x-ptr=pass smtp.helo=mail.citrus-it.net policy.ptr=mail.citrus-it.net; x-return-mx=pass header.domain=fiddaman.net policy.is_org=yes (MX Records found: mail21.citrus-it.net,mail30.citrus-it.net,mail98.citrus-it.net,mail99.citrus-it.net); x-return-mx=pass smtp.domain=fiddaman.net policy.is_org=yes (MX Records found: mail21.citrus-it.net,mail30.citrus-it.net,mail98.citrus-it.net,mail99.citrus-it.net); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=pass (1024-bit rsa key sha256) header.d=fiddaman.net header.i=@fiddaman.net header.b=RtWSWSOf header.a=rsa-sha256 header.s=boomer x-bits=1024; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=fiddaman.net; iprev=pass smtp.remote-ip=89.248.55.103 (mail.citrus-it.net); spf=pass smtp.mailfrom="prvs=198290ab0b=illumos@fiddaman.net" smtp.helo=mail.citrus-it.net; x-aligned-from=domain_pass (Domain match); x-me-sender=none; x-ptr=pass smtp.helo=mail.citrus-it.net policy.ptr=mail.citrus-it.net; x-return-mx=pass header.domain=fiddaman.net policy.is_org=yes (MX Records found: mail21.citrus-it.net,mail30.citrus-it.net,mail98.citrus-it.net,mail99.citrus-it.net); x-return-mx=pass smtp.domain=fiddaman.net policy.is_org=yes (MX Records found: mail21.citrus-it.net,mail30.citrus-it.net,mail98.citrus-it.net,mail99.citrus-it.net); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeeftddrudeijedgleekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepfffhvffujgfkfhggtgesthdtredttddtvdenucfh rhhomheptehnugihucfhihguuggrmhgrnhcuoehilhhluhhmohhssehfihguuggrmhgrnh drnhgvtheqnecuggftrfgrthhtvghrnhephedvhefhvdeuveethefftdehkeeifeehudef leefveekuedvgedtfeeuhfeugefhnecuffhomhgrihhnpehilhhluhhmohhsrdhorhhgne cukfhppeekledrvdegkedrheehrddutdefpdekledrvdegkedrheehrdejleenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeekledrvdegkedrheehrddutd efpdhhvghlohepmhgrihhlrdgtihhtrhhushdqihhtrdhnvghtpdhmrghilhhfrhhomhep oehprhhvshepudelkedvledtrggstdgspehilhhluhhmohhssehfihguuggrmhgrnhdrnh gvtheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepoeguvghvvghlohhpvghrsehl ihhsthhsrdhilhhluhhmohhsrdhorhhgqe X-ME-VSScore: -100 X-ME-VSCategory: clean Received-SPF: pass (fiddaman.net: 89.248.55.103 is authorized to use 'prvs=198290ab0b=illumos@fiddaman.net' in 'mfrom' identity (mechanism 'ip4:89.248.55.64/26' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="prvs=198290ab0b=illumos@fiddaman.net"; helo=mail.citrus-it.net; client-ip=89.248.55.103 Received: from mail.citrus-it.net (mail.citrus-it.net [89.248.55.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for ; Mon, 9 Sep 2024 13:36:04 -0400 (EDT) (envelope-from prvs=198290ab0b=illumos@fiddaman.net) Authentication-Results: citrusmail; dkim=pass header.i=@fiddaman.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fiddaman.net; s=boomer; t=1725903363; bh=G0Apn8GzFdvoTa/8S7O3KtFaejza+vm/GCQBgOQeXqc=; h=Date:From:To:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=RtWSWSOfusTIK2ySCQnQD6jVviYquLncGUZHxtjNjSdk/f46oiNMNq0s3eYZxQN8S blJEpa6pqt/sNiIbcgRxJThLDzsK/2gYB5PwqZOmQcT+S6VKctu5jMUg8txGD31w8G gYAIw+OlZUQRKHRaZkQdjYqIK18bZp1pKFmCPyCU= Received: from reaper.citrus-it.net (reaper.citrus-it.net [89.248.55.79]) by mail.citrus-it.net with ESMTP id 489Ha3IX007782 for ; Mon, 9 Sep 2024 17:36:03 GMT Date: Mon, 9 Sep 2024 17:36:02 +0000 (UTC) From: Andy Fiddaman To: illumos-developer Subject: Re: [developer] Review - 15665 svc:/network/loopback exits successfully even if it fails In-Reply-To: Message-ID: <9c0ae5cf-6187-4904-b662-1d81c48a71e1@fiddaman.net> References: <20240726082032.GA10040@reaper.citrus-it.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Citrus-Version: 6.0.3ba253c X-Citrus-ID: 5489Ha3IX007782 X-Citrus-Virus-Scanned: Clean X-Citrus-Spam: Whitelisted X-Citrus-Trust: Trusted Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 0294ffa0-6ed2-11ef-b24e-4491018c7b06 On Wed, 7 Aug 2024, Andy Fiddaman wrote: > > On Fri, 26 Jul 2024, Peter Tribble wrote: > > > As I mentioned in my other reply, it seems that what we're after is some > > way to mark > > a service as having generated an error without bringing the system down by > > going > > into maintenance. Some sort of degraded mode. > > > > We have a couple of SMF exit codes that look interesting - > > SMF_EXIT_MON_DEGRADE > > and SMF_EXIT_MON_OFFLINE, but I'm sure they were never implemented. There's > > even an issue in this area - https://www.illumos.org/issues/7711 (which > > refers back to 8891 > > which is another case of something dropping into maintenance breaking the > > entire system). > > I have put up https://code.illumos.org/c/illumos-gate/+/3621 which is > resurrecting work by Andy Stormont to add the missing pieces to support > degraded services, and then re-worked > https://code.illumos.org/c/illumos-gate/+/3610/ > on top of that. > > This does seem like the best solution - the service does what it can and > doesn't block others from coming up, yet it shows up as degraded in > `svcs -x` and co. > > My testing's going well so I'll get that sent out for review in the next > couple of days. > > Thanks for all the discussion and feedback on this change! Now that https://www.illumos.org/issues/7711 has integrated, I am planning to send the latest version of this for RTI: 15665 svc:/network/loopback exits successfully even if it fails https://www.illumos.org/issues/15665 https://code.illumos.org/c/illumos-gate/+/3610 This now uses the SMF degraded state rather than maintenance as the original change did. I think this should address the concerns that were raised and, again, thanks for the discussions around this. Andy