install hook run after juju upgrade-model 2.7.8 to 2.9.4

Bug #1931708 reported by Heather Lanigan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Heather Lanigan

Bug Description

Bootstrap with juju 2.7.8. Deploy mysql and Wordpress, add relation between them. Once settled, upgrade the controller then the model to 2.9.4. The Wordpress unit goes into an error state because the install hook failed.

unit-wordpress-0: 21:22:03 INFO juju.worker.uniter.operation ran "install" hook
unit-wordpress-0: 21:22:25 INFO juju.worker.uniter.operation ran "start" hook
unit-wordpress-0: 21:22:57 INFO juju.worker.uniter.operation ran "db-relation-changed" hook

machine-4: 21:25:21 INFO juju.cmd running jujud [2.9.5.1 0 gc go1.14.15]
machine-4: 21:25:24 INFO juju.worker.upgradesteps upgrade to 2.9.4 completed successfully.

unit-wordpress-0: 21:25:26 INFO juju.worker.uniter found queued "install" hook
unit-wordpress-0: 21:25:30 ERROR juju.worker.uniter.operation hook "install" (via explicit, bespoke hook script) failed: exit status 128

Does not occur upgrading from 2.7.8 to 2.8.11, nor from 2.8.10 to 2.9.4

description: updated
Changed in juju:
assignee: nobody → Heather Lanigan (hmlanigan)
Changed in juju:
milestone: 2.9.5 → 2.9.6
Changed in juju:
status: Triaged → In Progress
Changed in juju:
milestone: 2.9.6 → 2.9.7
Revision history for this message
Heather Lanigan (hmlanigan) wrote :
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.