Red Hat Bugzilla – Bug 753204
Discovery --full should be the default
Last modified: 2016-03-28 18:47:43 EDT
People are running at the agent prompt
which prints a list of stuff that it found,but that stuff does not end up in the AD portlet.
TO get it up there, they need to run
> discovery --full
Which is not what is expected.
We should change the behavior to
doing what --full is doing today.
And add an option
> discovery --dry-run
to do what discovery does today.
Agreed. Other potential names for the option would be --disable-reporting-to-server or --offline. I think we should also add an equivalent option to the "avail" command.
I think it would also be nice if the reporting and non-reporting modes accepted all the same options. Right now the --plugin, --resourceType, and --resourceId options are only valid for the non-reporting mode, which is not intuitive. I'd also think a --show-new-only option would be useful for both modes. Right now the reporting mode tells you how many new resources were discovered, but no details about the Resources (I think it should show details, at least for servers), and the non-reporting mode always shows all resources that were discovered, includes already-committed resources.
Finally, currently the non-reporting mode always does only a server scan, and the reporting mode always does both a server and a service scan. I think both modes should support options for specifying which type of scan(s) should be run, e.g.:
discovery --server/-S --service/-s
May as well support --platform/-P too.
Resetting for triage in RHQ project.
Made Discovery --full to be the default: https://github.com/rhq-project/rhq/pull/190
Date: Mon Oct 26 12:37:27 2015 -0600
Bug 753204 - Discovery --full should be the default
The new default is --full
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see email@example.com with any questions