forked from juju/juju
-
Notifications
You must be signed in to change notification settings - Fork 0
/
uniter-model.txt
48 lines (37 loc) · 1.48 KB
/
uniter-model.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
@startuml
state ModeInstalling
state ModeUpgrading
state ModeHookError
state ModeTerminating
state ModeAbide
state ModeConflicted
[*] -> ModeContinue
ModeContinue : determines next \n action based \n on persistent \n uniter state
ModeContinue -> ModeContinue
ModeContinue -> ModeInstalling
ModeContinue -> ModeUpgrading
ModeContinue -> ModeAbide
ModeContinue --> ModeHookError
ModeContinue --> ModeConflicted
ModeContinue --> ModeTerminating
ModeContinue --> unexpectedError
ModeInstalling : responsible for \n initial charm deployment
ModeInstalling --> ModeContinue
ModeInstalling --> unexpectedError
ModeUpgrading : responsible for \n upgrading the charm
ModeUpgrading --> ModeContinue
ModeUpgrading --> unexpectedError
ModeConflicted : charm specific conflict mode \n responds to - \n * user resolution of \n charm upgrade conflicts \n * forced charm upgrade
ModeConflicted --> ModeContinue
ModeConflicted --> unexpectedError
ModeHookError : responsible for watching and \n responding to \n * user resolution of hook errors \n * forced charm upgrade requests
ModeHookError --> ModeUpgrading
ModeHookError --> ModeContinue
ModeHookError --> unexpectedError
ModeAbide : uniters usual steady state
ModeAbide --> ModeAbide
ModeAbide --> ModeUpgrading
ModeAbide --> unexpectedError
unexpectedError --> [*] : error
ModeTerminating --> [*] : normal exit
@enduml