[2.0a4] Installing maas-region-api fails with missing maascli module

Bug #1563859 reported by Andres Rodriguez on 2016-03-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Critical
Andres Rodriguez

Bug Description

130 roaksoax@unleashed:/etc/apt/sources.list.d⟫ sudo maas-region local_config_set
Traceback (most recent call last):
  File "/usr/sbin/maas-region", line 67, in <module>
    main()
  File "/usr/sbin/maas-region", line 63, in main
    run()
  File "/usr/sbin/maas-region", line 51, in run
    management.execute_from_command_line()
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 346, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 190, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 40, in load_command_class
    module = import_module('%s.management.commands.%s' % (app_name, name))
  File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 662, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/maasserver/management/commands/local_config_set.py", line 10, in <module>
    from maasserver.management.commands._config import SetCommand as Command
  File "/usr/lib/python3/dist-packages/maasserver/management/commands/_config.py", line 18, in <module>
    from maascli.utils import parse_docstring
ImportError: No module named 'maascli'

Related branches

Changed in maas:
milestone: none → 2.0.0
assignee: nobody → Andres Rodriguez (andreserl)
importance: Undecided → Critical
Changed in maas:
status: New → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers