Introducing `jhack utils this-is-fine`

Hey there! This is not as breaking-news as it sounds, but I’ve just had a colleague try this out live and not only it worked, but also it sort of helped, so I thought: it’s time to let the world know.

Jhack has had for a while a new little command, nested under the utils category: this-is-fine.

The command’s task is to watch in the background for juju units that go to error state, and when that happens, run juju resolve {unit-in-error}. Simple, but powerful.

Juju be like:

image

PS: there’s a --no-retry flag that does exactly what you think it should do.

Abuse responsibly.

GitHub - canonical/jhack: Chock-full of Juju hackery.

3 Likes