Init problems after install for the proof-of-concept scenario - Missing Step?

Hi All,
I’m having problems with install for the proof-of-concept scenario, with all MAAS components installed on a single host.

I’m getting stuck when I attempt to initial maas in new Ubuntu Environment and 3.2 fresh install.

Any ideas? I feel there is a step missing here.

Command:
sudo snap install --channel=3.2/beta maas
sudo snap install maas maas-test-db
sudo maas init region+rack --database-uri maas-test-db:/// **** FAILS HERE

snap list
core18 20220309 2344 latest/stable canonical✓ base
core20 20220318 1405 latest/stable canonical✓ base
lxd 4.0.9-8e2046b 22753 4.0/stable/… canonical✓ -
maas 3.2.0~beta1-11298-g.b74133ead 19262 3.2/beta canonical✓ -
maas-cli 0.6.5 13 latest/stable canonical✓ -
maas-test-db 12.4-22-g.aed1dfe 91 3.1/stable canonical✓ -

Confirm that the DB is running:
Command
maas-test-db.psql
\l

maasdb=# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------±---------±---------±--------±------±----------------------
maasdb | maas | UTF8 | C | C |
postgres | postgres | UTF8 | C | C |
template0 | postgres | UTF8 | C | C | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | C | C | =c/postgres +
| | | | | postgres=CTc/postgres


Problems start here, all commands fail, never prompts me for a MAAS URL:

Command
sudo maas init region+rack --database-uri maas-test-db:///
OR
sudo maas init region+rack --database-uri maas-test-db:-#,

Error Message —>
usage: maas [-h] COMMAND …

optional arguments:
-h, --help show this help message and exit

drill down:
COMMAND
login Log in to a remote API, and remember its description and credentials.
logout Log out of a remote API, purging any stored credentials.
list List remote APIs that have been logged-in to.
refresh Refresh the API descriptions of all profiles.
init Initialize controller.
apikey Used to manage a user’s API keys. Shows existing keys unless --generate or
–delete is passed.
configauth Configure external authentication.
createadmin Create a MAAS administrator account.
changepassword
Change a MAAS user’s password.

unrecognized arguments: region+rack --database-uri maas-test-db:///

command
sudo maas init

Configuring authentication
No such group: maas
No such group: maas

*** UPDATE***
Hello All,

I’m reinstalled the Ubuntu and began the MAAS install, I’ve now been able to to make it beyond the following steps:

Command:
sudo snap install --channel=3.2/beta maas
sudo snap install maas maas-test-db
sudo maas init region+rack --database-uri maas-test-db:///

Hi, welcome to the MAAS community :slight_smile:

I see you are using 3.2/beta - just remember that it is not ready for production. If you are doing proof of concept work, maybe it is better to use 3.1?

Cheers,
Anton

@nnagreg, did you ever completely resolve this issue?