-
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 all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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. 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. |
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}"] | ||||||||
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. |
||||||||
= Configuring Tracer on a host | ||||||||
|
||||||||
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. | ||||||||
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
|
||||||||
Tracer displays a list of services and applications that are outdated and need to be restarted. | ||||||||
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. | ||||||||
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. |
||||||||
. Upload the Tracer data to the {ProjectName} server: | ||||||||
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.
Is there any particular reason to change the context for this procedure?
Unless it's absolutely necessary to change the context, I would avoid it. Generally, it prevents problems with broken links in the web UI.