2018-05-03 10:04:12 |
Florian Guitton |
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_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04 LTS"
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~beta2-6865-gec43e47e6-0ubuntu1).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
maas-region:~# maas login -k dsi-maas https://maas.dsi.ic.ac.uk/MAAS/
Traceback (most recent call last):
File "/usr/bin/maas", line 4, in <module>
import maascli
File "/usr/lib/python3/dist-packages/maascli/__init__.py", line 12, in <module>
from maascli.parser import prepare_parser
File "/usr/lib/python3/dist-packages/maascli/parser.py", line 15, in <module>
from maascli.cli import register_cli_commands
File "/usr/lib/python3/dist-packages/maascli/cli.py", line 18, in <module>
from maascli.auth import (
File "/usr/lib/python3/dist-packages/maascli/auth.py", line 20, in <module>
from macaroonbakery import httpbakery
ModuleNotFoundError: No module named 'macaroonbakery' |
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_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04 LTS"
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~beta2-6865-gec43e47e6-0ubuntu1).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
maas-region:~# maas login -k dsi-maas https://maas.cip.dsi.ic.ac.uk/MAAS/
Traceback (most recent call last):
File "/usr/bin/maas", line 4, in <module>
import maascli
File "/usr/lib/python3/dist-packages/maascli/__init__.py", line 12, in <module>
from maascli.parser import prepare_parser
File "/usr/lib/python3/dist-packages/maascli/parser.py", line 15, in <module>
from maascli.cli import register_cli_commands
File "/usr/lib/python3/dist-packages/maascli/cli.py", line 18, in <module>
from maascli.auth import (
File "/usr/lib/python3/dist-packages/maascli/auth.py", line 20, in <module>
from macaroonbakery import httpbakery
ModuleNotFoundError: No module named 'macaroonbakery' |
|