juju-check-wait can return immediately with juju 2.3+

Bug #1759794 reported by Tom Haddon on 2018-03-29
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Tom Haddon

Bug Description

Since juju no longer considers update-status as a mutating hook, which means the juju-check-wait phase will return immediately more frequently.

This can be problematic if you run a charm upgrade and then a juju-check-wait phase immediately as the charm upgrade may not have started, so juju-check-wait is looking for what's happened in the previous 15 seconds in juju, and returning immediately.

Related branches

Barry Price (barryprice) wrote :

We probably want to add a delay here to give the upgrade time to kick off.

Worst case scenario just add a sleep for X seconds, after figuring out an acceptable value. But perhaps we can be a bit smarter than that here.

Changed in mojo:
importance: Undecided → Medium
status: New → Triaged
Tom Haddon (mthaddon) on 2018-08-03
Changed in mojo:
assignee: nobody → Tom Haddon (mthaddon)
Tom Haddon (mthaddon) on 2020-01-14
Changed in mojo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers