Skip to content

Commit 979d561

Browse files
Merge pull request juju#1267 from mbruzek/auto-retry-2
Adding link to models-config document.
2 parents 133e461 + 8327a1b commit 979d561

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/en/developer-debugging.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,16 +148,20 @@ terminating.
148148

149149
Prior to version 2.0, hooks returning an error will block until the user
150150
takes an action to retry them manually, by issuing the command `juju resolved
151-
--retry unit-name/#` for the affected unit. Juju version 2.0 and up will
152-
automatically retry hooks in error periodically. However, the `juju resolved
153-
--retry` command may still be used to retry the hook immediately. After
154-
retrying, go back to the debug-hooks session to interact with he Juju
155-
environment.
151+
--retry unit-name/#` for the affected unit. After issuing the retry command,
152+
go back to the debug-hooks session to interact with the Juju environment.
156153

157154
```bash
158155
juju resolved --retry mysql/0
159156
```
160157

158+
Starting with Juju version 2.0 hooks returning errors will be automatically
159+
retried periodically. However, the `juju resolved --retry` command may still be
160+
used to retry the hook immediately. See the
161+
[General configuration options](./models-config#retrying-failed-hooks)
162+
for more information on the automatic retry feature and how to disable this
163+
behaviour.
164+
161165
## Debugging Reactive
162166

163167
Reactive charms can set states. It may be helpful to see these states for

0 commit comments

Comments
 (0)