You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possible error cases during the different FEO life cycle states shall be handled as follows.
444
+
Possible error cases during the different FEO life cycle states shall be handled as follows. For now, the
445
+
descriptions are focussed on the intended implementation for S-CORE v0.5. Potential adaptations for
446
+
S-CORE v1.0 have been noted down, but shall be considered as drafts only.
445
447
446
448
* Independent of state
447
449
- If the primary process dies, the external lifecycle management shall kill all dependent processes.
@@ -450,31 +452,36 @@ Possible error cases during the different FEO life cycle states shall be handled
450
452
terminate itself.
451
453
452
454
* State: Lifecycle Manager creates all processes (primary & secondaries)
453
-
- If one or more processes cannot be created, the problem will be handled directly by the Lifecycle Manager
454
-
(e.g. system restart / retry)
455
-
- If not all secondaries connect to the primary in time, the primary shall report an error to the
456
-
lifecycle/health management. The startup functions shall not be triggered.
455
+
- If not all secondaries connect to the primary in time,
456
+
- S-CORE v0.5: the primary will terminate itself. The startup functions shall not be triggered.
457
+
- S-CORE v1.0: the primary will not terminate, but report an error to the lifecycle/health management.
458
+
The startup functions shall not be triggered.
457
459
458
460
* State: Lifecycle Manager has created all processes (primary & secondaries), all secondaries have connected to the primary
459
-
- If an error occurs during the execution of a startup function, the primary process shall abort calling
460
-
startup functions, report the issue to health management and terminate itself. For all of the activities
461
-
whose startup functions have already been called successfully, the corresponding shutdown functions shall be
462
-
executed in arbitrary sequence.
461
+
- If an error occurs during the execution of a startup function,
462
+
- S-CORE v0.5: the primary process shall abort calling startup functions
463
+
and terminate itself. For all of the activities whose startup functions have already been called successfully,
464
+
the corresponding shutdown functions shall be executed in arbitrary sequence.
465
+
- S-CORE v1.0: in addition, the primary process shall report the issue to health management.
463
466
- During initialization (i.e. in the startup function of an activity), activities shall check for resource allocation
464
467
and report an error to the executor in case of failure.
465
-
- If a timeout occurs during startup, stepping or shutdown of an activity, the issue shall be reported to
466
-
health-management. The primary process shall shutdown all successfully started activities in arbitrary sequence
467
-
and terminate itself.
468
+
- If a timeout occurs during startup, stepping or shutdown of an activity,
469
+
- S-CORE v0.5: the primary process shall shutdown all successfully started activities in arbitrary sequence
470
+
and terminate itself.
471
+
- S-CORE v1.0: In addition, the primary process shall report the issue to health management.
468
472
- If not all activities reach their initialized state within a certain period of time (startup timeout),
469
-
the issue shall be reported to health-management. The primary process shall shutdown all successfully
470
-
started activities in arbitrary sequence and terminate itself.
473
+
- S-CORE v0.5: the primary process shall shutdown all successfully
474
+
started activities in arbitrary sequence and terminate itself.
475
+
- S-CORE v1.0: In addition, the primary process shall report the issue to health management.
471
476
472
477
* State: Lifecycle Manager has created all processes (primary & secondaries), all secondaries have connected to the primary, all activities have been started up successfully
473
-
- If an activity fails in the step function, a logical waypoint error shall be reported to health management.
474
-
The primary process shall call shutdown for all activities in arbitrary sequence and terminate itself.
478
+
- If an activity fails in the step function,
479
+
- S-CORE v0.5: the primary process shall call shutdown for all activities in arbitrary sequence and terminate itself.
480
+
- S-CORE v1.0: In addition, a logical waypoint error shall be reported to health management.
475
481
- If activities do not meet their intermediate (time/memory/cpu-) budgets the issue shall be detected and handled
476
482
outside of FEO. (Resource supervision and quotas will be defined in a separate feature request, if needed.)
477
483
478
484
* State: Shutdown of activities
479
-
- If an activity fails in the shutdown function, a logical waypoint error shall be reported to health management.
480
-
The primary process shall shutdown all remaining activities and terminate itself.
485
+
- If an activity fails in the shutdown function,
486
+
- S-CORE v0.5: the primary process shall shutdown all remaining activities and terminate itself.
487
+
- S-CORE v1.0: In addition, a logical waypoint error shall be reported to health management.
0 commit comments