Upgrade charm without python3-pip installed fails
Bug #1882641 reported by
Xav Paice
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.
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/
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
~afreiberger/charm-mongodb:add-py3pip-to-install-hook
- Xav Paice (community): Approve
- Giuseppe Petralia: Approve
- BootStack Reviewers: Pending requested
-
Diff: 70 lines (+16/-11)2 files modifiedhooks/hooks.py (+15/-10)
hooks/install (+1/-1)
~zzehring/charm-mongodb:bugfix/lp1882641-trusty-charm-upgrade-fails-import-pip
Rejected
for merging
into
charm-mongodb:master
- Xav Paice (community): Approve
- Drew Freiberger (community): Approve
-
Diff: 44 lines (+12/-7)1 file modifiedhooks/hooks.py (+12/-7)
Changed in charm-mongodb: | |
importance: | Undecided → High |
Changed in charm-mongodb: | |
assignee: | nobody → Zachary Zehring (zzehring) |
Changed in charm-mongodb: | |
status: | Confirmed → In Progress |
Changed in charm-mongodb: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
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