Public bug reported:

$ snap info maas
name:      maas
summary:   Metal as a Service
publisher: maas
contact:   maas-de...@lists.ubuntu.com
description: |
  Total automation of you physical servers for amazing data center
  operational efficiency.
snap-id:     shY22YTZ3RhJJDOj0MfmShTNZTEb1Jiq
channels:
  stable:    2.3.0-6434-gd354690-snap        (1349) 101MB -
  candidate: 2.3.0-6434-gd354690-snap        (1349) 101MB -
  beta:      2.3.0-6434-gd354690-snap        (1349) 101MB -
  edge:      2.4.0~alpha2-6599-g02a034b-snap (1753) 95MB  -

$ sudo snap install --devmode --stable maas
maas 2.3.0-6434-gd354690-snap from 'maas' installed
ubuntu@OrangeBox104:/srv/obinstall$ snap list
Name     Version                   Rev   Developer  Notes
core     16-2.30                   3887  canonical  core
kubectl  1.9.3                     328   canonical  classic
maas     2.3.0-6434-gd354690-snap  1349  maas       devmode

## WORKING --mode all

$ sudo maas init --mode all
MAAS URL [default=http://172.27.104.1:5240/MAAS]:
Create first admin account:
Username: admin
Password:
Again:
Email: maas-ad...@example.com
Import SSH keys [] (lp:user-id or gh:user-id):

## BROKEN --mode region
$ sudo maas init --mode region
MAAS URL [default=http://172.27.104.1:5240/MAAS]:
Traceback (most recent call last):
  File "/snap/maas/1349/bin/maas", line 24, in <module>
    sys.exit(run())
  File "/snap/maas/1349/bin/maas", line 21, in run
    return maascli.main()
  File "/snap/maas/1349/lib/python3.5/site-packages/maascli/__init__.py", line 
29, in main
    options.execute(options)
  File "/snap/maas/1349/lib/python3.5/site-packages/maascli/snappy.py", line 
582, in __call__
    raise exc
  File "/snap/maas/1349/lib/python3.5/site-packages/maascli/snappy.py", line 
579, in __call__
    self.handle(options)
  File "/snap/maas/1349/lib/python3.5/site-packages/maascli/snappy.py", line 
679, in handle
    help_text=ARGUMENTS['database_host']['help'])
KeyError: 'database_host'

** Affects: ubuntu-snappy (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1750371

Title:
  sudo maas init --mode region fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-snappy/+bug/1750371/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to