MAAS server startup fails: machine-resources/amd64 returns error "failed to retrieve GPU information"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Alexsander de Souza |
Bug Description
Snap-installed MAAS 3.1 on local machine (Ubuntu 20.04) using these steps, as listed on MAAS webpage:
sudo snap install maas
sudo snap install maas-test-db
snap list maas
Name Version Rev Tracking Publisher Notes
maas 3.1.0-10901-
and then initialised it:
sudo maas init region+rack --database-uri maas-test-db:///
IP of the machine in the local network: 192.168.1.136
The web interface at http://
This returns "This site can’t be reached" error.
Checked the error logs for the Region controller at /var/snap/
This prints an error every 4 seconds, as follows:
2022-04-26 13:36:09 maasserver.
Traceback (most recent call last):
File "/snap/
yield deferToDatabase
File "/snap/
result = inContext.theWork()
File "/snap/
inContext.
File "/snap/
return self.currentCon
File "/snap/
return func(*args,**kw)
File "/snap/
return func(*args, **kwargs)
File "/snap/
result = func(*args, **kwargs)
File "/snap/
return func(*args, **kwargs)
File "/snap/
return func(*args, **kwargs)
File "/snap/
return func_outside_
File "/snap/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/snap/
node = RegionControlle
File "/snap/
node = self._find_
File "/snap/
node = self._find_
File "/snap/
filter_macs = Q(interface_
File "/snap/
ip_addr = get_ip_addr()
File "/snap/
output = call_and_
File "/snap/
raise ExternalProcess
provisioningser
ERROR: Failed to retrieve GPU information: Failed to add device information for "/sys/class/
Seems like the command /snap/maas/
ls -la /sys/class/
total 0
drwxr-xr-x 5 root root 0 Apr 26 13:33 .
drwxr-xr-x 31 root root 0 Apr 26 13:32 ..
lrwxrwxrwx 1 root root 0 Apr 26 13:33 device -> ../../pci0000:
lrwxrwxrwx 1 root root 0 Apr 26 13:33 driver -> ../../.
-rw-r--r-- 1 root root 4096 Apr 26 14:06 driver_override
drwxr-xr-x 3 root root 0 Apr 26 13:33 drm
drwxr-xr-x 4 root root 0 Apr 26 13:33 i2c-6
-r--r--r-- 1 root root 4096 Apr 26 14:06 modalias
drwxr-xr-x 2 root root 0 Apr 26 14:06 power
lrwxrwxrwx 1 root root 0 Apr 26 13:33 subsystem -> ../../.
-rw-r--r-- 1 root root 4096 Apr 26 13:33 uevent
Since the error message says "failed to retrieve GPU information", here is system info on the GPU card (I believe):
*-pci:2
bus info: pci@0000:00:03.1
width: 32 bits
clock: 33MHz
bus info: pci@0000:0a:00.0
SIDE NOTE: (Could this be an issue with the EVDI module? - just an idea) In case this might be related, I have the DisplayLink driver installed on the system, to support two monitors. Link to this driver is at:
https:/
Latest instructions on installation of this driver is at https:/
Related branches
- Alberto Donato (community): Approve
- MAAS Lander: Approve
-
Diff: 129 lines (+44/-37)3 files modifiedsrc/host-info/Makefile (+3/-1)
src/host-info/go.mod (+13/-9)
src/host-info/go.sum (+28/-27)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Medium |
importance: | Medium → Undecided |
Changed in maas: | |
milestone: | next → 3.2.0 |
assignee: | nobody → Alexsander de Souza (alexsander-souza) |
status: | Triaged → In Progress |
Changed in maas: | |
milestone: | 3.2.0 → next |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | next → 3.2.0 |
Changed in maas: | |
milestone: | 3.2.0 → 3.2.0-beta5 |
status: | Fix Committed → Fix Released |
Can you please run /snap/maas/ 19835/usr/ share/maas/ machine- resources/ amd64 as root and see it that gives the same problem?