[2.0] maas login yields "ImportError: No module named 'maasserver'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Unassigned | ||
2.0 |
Fix Released
|
Critical
|
Unassigned |
Bug Description
$ lsb_release -cs
xenial
$ maas login
The program 'maas' is currently not installed. You can install it by typing:
sudo apt install maas-cli
$ sudo apt-cache madison maas-cli
maas-cli | 2.0.0~rc2+
maas-cli | 2.0.0~rc2+
maas-cli | 2.0.0~beta3+
maas-cli | 2.0.0~beta3+
maas | 2.0.0~beta3+
maas | 2.0.0~rc2+
$ sudo apt-get -q install maas-cli
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed
maas-cli
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
Need to get 0 B/2,588 B of archives.
After this operation, 37.9 kB of additional disk space will be used.
Selecting previously unselected package maas-cli.
(Reading database ... 559431 files and directories currently installed.)
Preparing to unpack .../maas-
Unpacking maas-cli (2.0.0~
Setting up maas-cli (2.0.0~
$ maas login
Traceback (most recent call last):
File "/usr/bin/maas", line 12, in <module>
sys.
File "/usr/lib/
parser = prepare_
File "/usr/lib/
register_
File "/usr/lib/
load_
File "/usr/lib/
klass = management.
File "/usr/lib/
module = import_
File "/usr/lib/
return _bootstrap.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
ImportError: No module named 'maasserver'
$ dpkg -l |grep maas
ii maas-cli 2.0.0~rc2+
ii python3-maas-client 2.0.0~rc2+
Related branches
- Gavin Panella (community): Approve
-
Diff: 78 lines (+33/-10)2 files modifiedsrc/maascli/cli.py (+7/-1)
src/maascli/tests/test_cli.py (+26/-9)
- Andres Rodriguez (community): Approve
-
Diff: 91 lines (+35/-10)3 files modifieddocs/changelog.rst (+2/-0)
src/maascli/cli.py (+7/-1)
src/maascli/tests/test_cli.py (+26/-9)
- Andres Rodriguez (community): Approve
-
Diff: 90 lines (+54/-6)2 files modifieddebian/changelog (+44/-0)
debian/maas-region-controller.postinst (+10/-6)
Changed in maas: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
milestone: | none → 2.0.0 |
Changed in maas: | |
status: | Confirmed → Fix Committed |
summary: |
- maas login yields "ImportError: No module named 'maasserver'" + [2.0] maas login yields "ImportError: No module named 'maasserver'" |
Changed in maas: | |
status: | Fix Committed → Fix Released |