at some point in the recent past, the maas cli (not maas-cli which is, confusingly an entirely different tool) has started throwing a traceback:
$ maas --help
Traceback (most recent call last):
File "/usr/bin/maas", line 11, in <module>
load_entry_point('maas==3.2.1', 'console_scripts', 'maas')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 490, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2854, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2445, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2451, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3/dist-packages/maascli/__init__.py", line 10, in <module>
from maascli.parser import get_deepest_subparser, prepare_parser
File "/usr/lib/python3/dist-packages/maascli/parser.py", line 12, in <module>
from maascli.cli import register_cli_commands
File "/usr/lib/python3/dist-packages/maascli/cli.py", line 30, in <module>
from provisioningserver.certificates import check_certificate
ModuleNotFoundError: No module named 'provisioningserver'
at some point in the recent past, the maas cli (not maas-cli which is, confusingly an entirely different tool) has started throwing a traceback:
$ maas --help entry_point( 'maas== 3.2.1', 'console_scripts', 'maas')() python3/ dist-packages/ pkg_resources/ __init_ _.py", line 490, in load_entry_point n(dist) .load_entry_ point(group, name) python3/ dist-packages/ pkg_resources/ __init_ _.py", line 2854, in load_entry_point python3/ dist-packages/ pkg_resources/ __init_ _.py", line 2445, in load python3/ dist-packages/ pkg_resources/ __init_ _.py", line 2451, in resolve _(self. module_ name, fromlist= ['__name_ _'], level=0) python3/ dist-packages/ maascli/ __init_ _.py", line 10, in <module> subparser, prepare_parser python3/ dist-packages/ maascli/ parser. py", line 12, in <module> cli_commands python3/ dist-packages/ maascli/ cli.py" , line 30, in <module> ver.certificate s import check_certificate rror: No module named 'provisioningse rver'
Traceback (most recent call last):
File "/usr/bin/maas", line 11, in <module>
load_
File "/usr/lib/
return get_distributio
File "/usr/lib/
return ep.load()
File "/usr/lib/
return self.resolve()
File "/usr/lib/
module = __import_
File "/usr/lib/
from maascli.parser import get_deepest_
File "/usr/lib/
from maascli.cli import register_
File "/usr/lib/
from provisioningser
ModuleNotFoundE
I'm unable to use the maas cli tool now.