| Summary: | a non-existing plugin (directoryserver) was specified in the command line | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Viktor Ashirov <vashirov> |
| Component: | sos | Assignee: | Pavel Moravec <pmoravec> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.2 | CC: | agk, bmr, gavin, plambri, sbradley |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://github.com/sosreport/sos/issues/811 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-08 20:32:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Viktor Ashirov
2016-04-28 07:32:15 UTC
Regression due to an incomplete name cleanup:
commit fbbb6ace22fe97928f78d0058559defeccc472cc
Author: Bryn M. Reeves <bmr>
Date: Fri Apr 26 15:21:23 2013 +0100
Clean up plug-in naming and set plugin_name for all plugin classes
Clean up some plug-ins with non-conforming or undescriptive names,
set plugin_name in all base plug-in classes to avoid <dist><plug>
names appearing in reports and remove the obsolete amd plug-in.
Rename several plug-ins:
- rhn -> satellite (also spacewalk)
- i18n -> internationalization
- qpidd -> qpid
- ftp -> vsftpd
Enforce pep8 style class names for all plug-in classes.
Signed-off-by: Bryn M. Reeves <bmr>
The intent was to rename the plugin from 'ds' (a bit cryptic) to 'directoryserver', however the file name was not changed as required by the sos class loader.
Since we have been shipping with the 'ds' name all along I'd be open to fixing this by reverting the 'directoryserver' changes and going back to 'ds' - it's still a bit overly short but it keeps consistency with what we've been doing. Alternately we can just rename the file and the new name will work correctly.
> Since we have been shipping with the 'ds' name all along I'd be open to
> fixing this by reverting the 'directoryserver' changes and going back to
> 'ds' - it's still a bit overly short but it keeps consistency with what
> we've been doing. Alternately we can just rename the file and the new name
> will work correctly.
I'm leaning towards 'ds' since it's shorter to type and there is an explanatory description.
Btw. same error was spotted for some other plugins as well: sos/plugins/cs.py: plugin_name = 'certificatesystem' sos/plugins/ds.py: plugin_name = 'directoryserver' sos/plugins/hts.py: plugin_name = 'hardwaretestsuite' sos/plugins/subscription_manager.py: plugin_name = 'subscription-manager' I suggest changing plugin_name according to the filename (same change like directoryserver -> ds). See upstream https://github.com/sosreport/sos/issues/811 This has been fixed in RHEL7.3 / sos errata [1] due to sos rebase [2]. I am closing the bugzilla - please test it and if some problem with the fix is found, reopen the BZ. [1] https://rhn.redhat.com/errata/RHBA-2016-2380.html [2] https://bugzilla.redhat.com/show_bug.cgi?id=1293044 |