Upgrade charm without python3-pip installed fails

Bug #1882641 reported by Xav Paice
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MongoDB Charm
Fix Released
High
Zachary Zehring

Bug Description

On an older Trusty based unit with cs:mongodb-52, upgrading to cs:mongodb-55 failed with:

2020-06-09 03:37:22 ERROR juju.worker.uniter.operation runhook.go:132 hook "upgrade-charm" failed: exit status 1
2020-06-09 03:42:22 DEBUG upgrade-charm Traceback (most recent call last):
2020-06-09 03:42:22 DEBUG upgrade-charm File "/var/lib/juju/agents/unit-mongodb-0/charm/hooks/upgrade-charm", line 12, in <module>
2020-06-09 03:42:22 DEBUG upgrade-charm import pip
2020-06-09 03:42:22 DEBUG upgrade-charm ImportError: No module named 'pip'

Workaround: installed python3-pip manually.

Note that python-pip was installed.

Related branches

Revision history for this message
Aurelien Lourot (aurelien-lourot) wrote :

Hitting us (OpenStack team) on OSCI in our weekly test validating upgrades from trusty-mitaka to xenial:

http://10.245.162.58:8080/view/MojoMatrix/job/mojo_runner/22860/console

Changed in charm-mongodb:
status: New → Confirmed
Edin S (exsdev)
Changed in charm-mongodb:
importance: Undecided → High
Changed in charm-mongodb:
assignee: nobody → Zachary Zehring (zzehring)
Changed in charm-mongodb:
status: Confirmed → In Progress
Celia Wang (ziyiwang)
Changed in charm-mongodb:
status: In Progress → 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.