[2.4] python3-maas-client doesn't depend on macaroonbakery
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Alberto Donato |
Bug Description
Good day to you all !
After proceeding successfully to an OS upgrade from 16.04.4 LTS to 18.04 LST the maas CLI refuses to work, pointing to a missing python module:
maas-region:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
maas-region:~# uname -a
Linux maas-region 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
maas-region:~# apt install maas-cli
Reading package lists... Done
Building dependency tree
Reading state information... Done
maas-cli is already the newest version (2.4.0~
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
maas-region:~# maas login -k dsi-maas https:/
Traceback (most recent call last):
File "/usr/bin/maas", line 4, in <module>
import maascli
File "/usr/lib/
from maascli.parser import prepare_parser
File "/usr/lib/
from maascli.cli import register_
File "/usr/lib/
from maascli.auth import (
File "/usr/lib/
from macaroonbakery import httpbakery
ModuleNotFoundE
Related branches
- Andres Rodriguez (community): Approve
- MAAS Lander: Pending (unittests) requested
-
Diff: 12 lines (+1/-0)1 file modifieddebian/control (+1/-0)
description: | updated |
Changed in maas: | |
milestone: | none → 2.4.0rc1 |
assignee: | nobody → Alberto Donato (ack) |
summary: |
- [2.3.2 -> 2.4.0~beta2] MAAS missing 'macaroonbakery' import after snap - refresh + [2.4] python3-maas-client doesn't depend on macaroonbakery |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
There's a missing dependency on python3- macaroonbakery in python3- maas-client.
A workaround until the fix lands is to install python3- macaroonbakery manually