group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #36369
[Bug 1886494] Re: sosreport does not correctly enable the maas plugin for a snap install
This bug was fixed in the package sosreport - 3.9.1-1ubuntu0.16.04.1
---------------
sosreport (3.9.1-1ubuntu0.16.04.1) xenial; urgency=medium
* New 3.9.1 upstream release. (LP: #1884293)
This maintenance release includes:
- New plugins: sos_extras, ovirt_engine_backup, console,
validation_framework.
- lxd plugin collections have been overhauled.
- Fixed handling of the namespace pattern for the networking
plugin.
- A basic path is now defined in Policy for all subclasses.
Plugin API Enhancements:
- Enablement checks have been extended to include architecture
constraints.
- SoSPredicate has been extended to include architecture constraints,
as well as negative constraints for all elements.
- Plugins will now capture service status information for all services
defined in the services class attr.
Further release information and tarballs are available at:
- https://github.com/sosreport/sos/releases/tag/3.9.1
* Former patches now fixed upstream:
- d/p/0001-unittest-py3-fix.patch
* Remaining patch:
- d/p/0001-lshw-command.patch
* Other specific modifications:
- d/p/0002-lds-substitute-oidc-conf.patch
- d/p/0003-kvm-change-trigger-to-dev-kvm.patch (LP: #1883320)
- d/p/0004-maas-add-snap-support.patch (LP: #1886494)
- Add simple.sh as part of the autopkgtest (LP: #1865212)
-- Eric Desrochers <eric.desrochers@xxxxxxxxxxxxx> Wed, 15 Jul 2020
13:06:39 +0000
** Changed in: sosreport (Ubuntu Xenial)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1886494
Title:
sosreport does not correctly enable the maas plugin for a snap install
Status in sosreport package in Ubuntu:
Fix Released
Status in sosreport source package in Xenial:
Fix Released
Status in sosreport source package in Bionic:
Fix Released
Status in sosreport source package in Focal:
Fix Released
Status in sosreport source package in Groovy:
Fix Released
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_sosreport/sos_commands/maas)
[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://wiki.ubuntu.com/SosreportUpdates
[Other Info]
Upstream commit:
- [maas] Add snap support to maas plugin
- https://github.com/sosreport/sos/commit/1417827a
[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.20.04.1 of sosreport and
also the upstream package from source. Here are the results:
root@testing:/sos# dpkg -l | grep sosreport
ii sosreport 3.9.1-1ubuntu0.20.04.1 amd64 Set of tools to gather troubleshooting data from a system
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1886494/+subscriptions