sosreport does not correctly enable the maas plugin for a snap install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sosreport (Ubuntu) |
Fix Released
|
Medium
|
Eric Desrochers | ||
Xenial |
Fix Released
|
Low
|
Eric Desrochers | ||
Bionic |
Fix Released
|
Medium
|
Eric Desrochers | ||
Focal |
Fix Released
|
Medium
|
Eric Desrochers | ||
Groovy |
Fix Released
|
Medium
|
Eric Desrochers |
Bug Description
[Impact]
sosreport doesn't exercise the MAAS plugin if it is installed as a SNAP.
Only work if installed as a DEB package.
[Test Case]
* snap install maas
* sosreport -a
* Looking the sosreport archive content and validate that MAAS information haven't been collected (e.g. /path_to_
[Regression Potential]
No regression expected.
If a regression happens it will only be isolated to the plugin itself.
It won't affect/impact other plugin nor sosreport core functionalities.
Worst case scenario, the MAAS plugin won't be exercised as expected, and one would need to request MAAS information manually.
https:/
[Other Info]
Upstream commit:
- [maas] Add snap support to maas plugin
- https:/
[Original Description]
Installing maas via snap on a focal machine (in my case lxd container) following:
sudo snap install maas-test-db
sudo snap install maas
sudo maas init region --database-uri maas-test-db:///
Then running sosreport, sosreport does not correctly enable the maas plugin. I tested with version 3.9.1-1ubuntu0.
root@testing:/sos# dpkg -l | grep sosreport
ii sosreport 3.9.1-1ubuntu0.
root@testing:/sos# sosreport -l | grep maas
maas inactive Ubuntu Metal-As-A-Service
root@testing:/sos# ./bin/sosreport -l | grep maas
maas Ubuntu Metal-As-A-Service
maas.profile-name The name with which you will later refer to this remote
maas.url The URL of the remote API
maas.credentials The credentials, also known as the API key
As you can see the version of sosreport from the package lists the maas plugin as inactive but from source it is enabled.
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in sosreport (Ubuntu Focal): | |
importance: | Undecided → Medium |
Changed in sosreport (Ubuntu Bionic): | |
importance: | Undecided → Medium |
Changed in sosreport (Ubuntu Xenial): | |
importance: | Undecided → Low |
assignee: | nobody → Eric Desrochers (slashd) |
status: | New → In Progress |
Looks like the maas plugin in the package is old.