Skip to content

Commit 26729d7

Browse files
authored
2.5 Creating Flight Control troubleshooting section (#2853) (#2872)
* Creating Flight Control troubleshooting section [Docs] Flight Control - Troubleshooting https://issues.redhat.com/browse/AAP-39628 Affects `titles/flight-control-user-guide`
1 parent 26dae4d commit 26729d7

File tree

9 files changed

+56
-8
lines changed

9 files changed

+56
-8
lines changed

downstream/assemblies/flight-control/flight-control

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[id="assembly-flight-control-troubleshooting"]
2+
3+
= Troubleshooting {RedHatEdge}
4+
5+
When working with devices in {RedHatEdge}, you might see issues related to configuration, connectivity, or deployment.
6+
Troubleshooting these issues requires understanding how device configurations are applied, how to check logs, and how to verify communication between the device and the service.
7+
8+
include::platform/proc-flight-control-view-device-config.adoc[leveloffset=+1]
9+
include::platform/proc-flight-control-generate-device-log.adoc[leveloffset=+1]

downstream/attributes/attributes.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@
103103
:ControllerAG: Configuring automation execution
104104
:Analytics: Automation Analytics
105105

106-
106+
// Red Hat Edge Manager
107+
:RedHatEdge: Red Hat Edge Manager
107108

108109
// Execution environments
109110
:ExecEnvNameStart: Automation execution environments
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[id="flight-control-generate-device-log"]
2+
3+
= Generating a device log bundle
4+
5+
The device includes a script that generates a bundle of logs necessary to debug the agent.
6+
7+
.Procedure
8+
9+
* Run the following command on the device and include the .tar file in the bug report.
10+
+
11+
[NOTE]
12+
====
13+
This depends on an SSH connection to extract the .tar file.
14+
====
15+
+
16+
[literal, options="nowrap" subs="+attributes"]
17+
----
18+
sudo flightctl-must-gather
19+
----
20+
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[id="proc-flight-control-view-device-config"]
2+
3+
= Viewing a device's effective target configuration
4+
5+
The device manifest returned by the `flightctl get device` command still only has references to external configuration and secret objects.
6+
Only when the device agent queries the service, the service replaces the references with the actual configuration and secret data.
7+
While this better protects potentially sensitive data, it also makes troubleshooting faulty configurations hard.
8+
This is why a user can be authorized to query the effective configuration as rendered by the service to the agent.
9+
10+
.Procedure
11+
12+
* To query the effective configuration, use the following command:
13+
+
14+
[literal, options="nowrap" subs="+attributes"]
15+
----
16+
flightctl get device/${device_name} --rendered | jq
17+
----

downstream/titles/flight-control/flight-control-user-guide/docinfo.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<title>Flight Control</title>
22
<productname>Red Hat Ansible Automation Platform</productname>
33
<productnumber>2.5</productnumber>
4-
<subtitle>Install and configure Flight Control</subtitle>
4+
<subtitle>Enable Red Hat Edge Manager</subtitle>
55
<abstract>
6-
<para>This guide shows you how to install, configure, and use Flight Control to manage individual and fleets of devices.</para>
6+
<para>This guide shows you how to install, configure, and use {RedHatEdge} to manage individual and fleets of devices.</para>
77
</abstract>
88
<authorgroup>
99
<orgname>Red Hat Customer Content Services </orgname>

downstream/titles/flight-control/flight-control-user-guide/flight-control

Lines changed: 0 additions & 1 deletion
This file was deleted.

downstream/titles/flight-control/flight-control-user-guide/master.adoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66
include::attributes/attributes.adoc[]
77

88
// Book Title
9-
= Installing and configuring Flight Control
9+
= Enabling Red Hat Edge Manager
1010

11-
Flight Control aims to give simple, scalable, and secure management of edge devices and applications.
11+
{RedHatEdge} aims to give simple, scalable, and secure management of edge devices and applications.
1212
You can declare the operating system version, host configuration, and set of applications that you want to run on an individual device or a whole fleet of devices.
13-
Flight Control rolls out the target configuration to devices where a device agent automatically applies them and report progress and health status back up.
13+
{RedHatEdge} rolls out the target configuration to devices where a device agent automatically applies them and report progress and health status back up.
1414

1515
include::{Boilerplate}[]
16+
17+
include::platform/assembly-flight-control-troubleshooting.adoc[leveloffset=+1]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../assemblies/platform

0 commit comments

Comments
 (0)