Traceback (most recent call last):
File “/snap/maas/10507/bin/maas”, line 8, in
sys.exit(main())
File “/snap/maas/10507/lib/python3.8/site-packages/maascli/init.py”, line 44, in main
options.execute(options)
File “/snap/maas/10507/lib/python3.8/site-packages/maascli/snappy.py”, line 433, in call
raise exc
File “/snap/maas/10507/lib/python3.8/site-packages/maascli/snappy.py”, line 430, in call
self.handle(options)
File “/snap/maas/10507/lib/python3.8/site-packages/maascli/snappy.py”, line 608, in handle
default=get_default_url(),
File “/snap/maas/10507/lib/python3.8/site-packages/maascli/snappy.py”, line 141, in get_default_url
gateway_ip = get_default_gateway_ip()
File “/snap/maas/10507/lib/python3.8/site-packages/maascli/snappy.py”, line 123, in get_default_gateway_ip
gateways = netifaces.gateways()
PermissionError: [Errno 1] Operation not permitted
I’m stuck, not sure what to do. All instruction paths on maas.io followed for both 2.8 and 2.9 with no success.
@reggiecarey, probably a silly question, but can you confirm that your maas db username is “maas” and your maas db name is “maas”? just starting with the basics and working up from there…
Yes I resolved the issue but I’m not sure if @reggiecarey resolved his issue.
I am attempting to install maas 3.2 and the issue I initially experienced has occurred due to the version of database.
PostgreSQL 14 is installed by default when installing maas 3.2 in Ubuntu 22.04 which means the Installation Document needs to be amended or the user will need to choose which version of PostgreSQL they install to avoid database errors.