Re: [Anima] red/yellow/green lights for bootstrap and ACP feedback

"Max Pritikin (pritikin)" <pritikin@cisco.com> Fri, 18 November 2016 16:00 UTC

Return-Path: <pritikin@cisco.com>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B6C9A12969E for <anima@ietfa.amsl.com>; Fri, 18 Nov 2016 08:00:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -16.018
X-Spam-Level:
X-Spam-Status: No, score=-16.018 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.497, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x-LxuuRCCuJF for <anima@ietfa.amsl.com>; Fri, 18 Nov 2016 08:00:20 -0800 (PST)
Received: from rcdn-iport-9.cisco.com (rcdn-iport-9.cisco.com [173.37.86.80]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BAC1B1295CA for <anima@ietf.org>; Fri, 18 Nov 2016 08:00:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4250; q=dns/txt; s=iport; t=1479484820; x=1480694420; h=from:to:subject:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=SFikRyuufUHX58ocjQE9wIcltg4HZ+RAF37M0UKdcGU=; b=GQ98HfFCYpNjmQiY5p57HQ/ce9RIPg1V/NGvuFsDwaudYAqeUNy4XD8X AXxVZJ1eblTvaDvo7rdhY3ijOttaJz1bhhHH9pGZBR2a+nEgXGKAzmzOY SVG7fYrLlWYqNYeG5MLoBFBEKWQkTIxl+K0c0ZnWu5spaxsyRzge2eS8c s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AfAQD4JC9Y/5BdJa1VCRkBAQEBAQEBAQEBAQcBAQEBAYM3AQEBAQEfWIEAB404lw+UZoIHHQuCQ4M2AhqBcD8UAQIBAQEBAQEBYiiEaAEBAQMBAQEBIBETJxALAgEIGAICJgICAiULFRACBAESH4hFCA6sD4Ipg0CIDQEBAQEBAQEBAQEBAQEBAQEBAQEBARcFgQmHMIJdhCKDKy2CMAWITodchA6GEwGJTocjkCeNW4QKAR43gQsdhSFyhz6BDAEBAQ
X-IronPort-AV: E=Sophos;i="5.31,510,1473120000"; d="scan'208";a="170732509"
Received: from rcdn-core-8.cisco.com ([173.37.93.144]) by rcdn-iport-9.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Nov 2016 16:00:19 +0000
Received: from XCH-ALN-015.cisco.com (xch-aln-015.cisco.com [173.36.7.25]) by rcdn-core-8.cisco.com (8.14.5/8.14.5) with ESMTP id uAIG0JZ0009800 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 18 Nov 2016 16:00:19 GMT
Received: from xch-aln-013.cisco.com (173.36.7.23) by XCH-ALN-015.cisco.com (173.36.7.25) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 18 Nov 2016 10:00:19 -0600
Received: from xch-aln-013.cisco.com ([173.36.7.23]) by XCH-ALN-013.cisco.com ([173.36.7.23]) with mapi id 15.00.1210.000; Fri, 18 Nov 2016 10:00:19 -0600
From: "Max Pritikin (pritikin)" <pritikin@cisco.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>, anima <anima@ietf.org>
Thread-Topic: [Anima] red/yellow/green lights for bootstrap and ACP feedback
Thread-Index: AQHSQTncqxhC0If76Eqc3haUhlyRW6DfS9mA
Date: Fri, 18 Nov 2016 16:00:19 +0000
Message-ID: <5626B645-B742-4CFA-A42D-47FBBB310668@cisco.com>
References: <29627.1479431967@dooku.sandelman.ca>
In-Reply-To: <29627.1479431967@dooku.sandelman.ca>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.99.106.5]
Content-Type: text/plain; charset="utf-8"
Content-ID: <1D38AE9FDBBB824DB707141AB787B201@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/sGp8KMA3Re6CLFcqEjYcRnA0V3Y>
Subject: Re: [Anima] red/yellow/green lights for bootstrap and ACP feedback
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Autonomic Networking Integrated Model and Approach <anima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima>, <mailto:anima-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima/>
List-Post: <mailto:anima@ietf.org>
List-Help: <mailto:anima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima>, <mailto:anima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Nov 2016 16:00:23 -0000

The current text around error cases includes:

Section 3.1.1. Discovery
Supports a backoff mechanisms but on review I’m thinking the language about final failure to be vague:
   "Once all discovered services are attempted the device SHOULD return
   to Multicast DNS.  It should periodically retry the vendor specific
   mechanisms.  The Pledge may prioritize selection order as appropriate
   for the anticipated environment."

Section 5.1 Request Voucher from the Registrar
  "As detailed in Section 3.1.1 if no suitable Registrar is found the Pledge restarts
   the state machine and tries again.  So a Registrar that is unable to
   complete the transaction the first time will have future chances.” 

Section 5.4 Voucher Status Telemetry
This is currently worded as feedback directly to the Registrar (through the proxy of course) of failure. 

Section 5.7.4.  Enrollment Status Telemetry
This adds an enrollment status telemetry option as EST feedback has indicated this will be important for headless devices. 

Improvements could include:

A flood telemetry status indicator in addition to direct feedback to the Registrar. This would enable any local equipment to better report the Pledge’s state. I suppose this SHOULD be signed but may be unsigned to avoid extra processing overhead on the Pledge.  This would leak the Pledge’s identity information so there are privacy/security concerns but it does provide feedback. 

Normative text indicating physical indicators such as a blinking LED associated with each discovery state could be RECOMMENDED for capable devices. Obviously some devices simply won’t have such things so this can’t be required. Doing this would help clarify the discovery states. Although keep in mind the existing s3.1.1.1 recommendation that "Methods SHOULD be run in parallel to avoid head of queue problems”; meaning that the states indicated might be a generic “discovery”. 

- max

> On Nov 17, 2016, at 6:19 PM, Michael Richardson <mcr+ietf@sandelman.ca> wrote:
> 
> 
> We discussed today in the meeting that the bootstrap (and overall
> anima-reference-model state machine) should indicate in it's failure
> transitions whether the failure is permanent, "red light", and
> whether it is a "yellow light" (try again).
> 
> We may also need an "orange light" which means, "failed, but requires NMS intervention"
> 
> We didn't have time to get a sense from the room whether or not this kind of
> feedback (which may ideally, be real physical feedback to the installer) is
> valuable.  Of course, devices with bigger displays might want to provide more
> details about the process...
>  {I recall the three-digit display on the RS/6000, and the mystery that
>  ensued when I had a code come up that IBM support couldn't explain....}
> 
> 
> 
> -- 
> Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
> -= IPv6 IoT consulting =-
> 
> 
> 
> _______________________________________________
> Anima mailing list
> Anima@ietf.org
> https://www.ietf.org/mailman/listinfo/anima