-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consolidate Tracer procedures #3442
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
@@ -1,18 +1,31 @@ | ||||||||
[id="enabling-tracer-on-a-host_{context}"] | ||||||||
= Enabling Tracer on a host | ||||||||
[id="Configuring_Tracer_on_a_host_{context}"] | ||||||||
= Configuring Tracer on a host | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
If we already change it, we could drop "context" too which we've not decided but done in the past regularly. Very much option/not blocking your PR. |
||||||||
|
||||||||
Use this procedure to enable Tracer on {Project} and access Traces. | ||||||||
Tracer displays a list of services and applications that need to be restarted. | ||||||||
You can install Tracer on {ProjectName} and access Traces. | ||||||||
Tracer displays a list of services and applications that are outdated and need to be restarted. | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
Traces is the output generated by Tracer in the {ProjectWebUI}. | ||||||||
|
||||||||
.Prerequisites | ||||||||
* The host is registered to {ProjectName}. | ||||||||
include::snip_prerequisite-project-client-repository-enabled.adoc[] | ||||||||
* Remote execution is enabled. | ||||||||
|
||||||||
.Procedure | ||||||||
|
||||||||
. In the {ProjectWebUI}, navigate to *Hosts* > *All Hosts*. | ||||||||
. Click the name of the host you want to modify. | ||||||||
. On the *Traces* tab, click *Enable Traces*. | ||||||||
. Select the provider to install `katello-host-tools-tracer` from the list. | ||||||||
+ | ||||||||
Alternatively, install Tracer using the CLI: | ||||||||
+ | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do we really want to document this? If so, it'd probably just be the same commands as the template. Also, "yum" only works for EL7+. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can, but then we should use the proper heading for a CLI procedure:
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But with ".CLI procedure", we generally refer to Foreman/Smart Proxies, not commands on hosts. I like that there's abstraction for the commands on hosts through the REX job templates. |
||||||||
---- | ||||||||
# yum install katello-host-tools-tracer | ||||||||
---- | ||||||||
. Click *Enable Tracer*. | ||||||||
You get a REX job notification after the remote execution job is complete. | ||||||||
. Upload the Tracer data to the {ProjectName} server: | ||||||||
Comment on lines
25
to
26
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This step looks like it doesn't belong to the CLI procedure. It should probably go above, together with the web UI procedure. |
||||||||
+ | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
---- | ||||||||
# katello-tracer-upload | ||||||||
---- |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice to have would be to find out on what operating systems Tracer can be installed if there are any apart from RHEL and add this info to the introduction of the procedure.