Skip to content

Commit e6a15a1

Browse files
committed
Revised Getting logs from the UI
Signed-off-by: RichardHoch <[email protected]>
1 parent a031ca7 commit e6a15a1

File tree

2 files changed

+42
-19
lines changed

2 files changed

+42
-19
lines changed

documentation/modules/migration-plan-options-ui.adoc

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,32 @@
88

99
On the *Plans for virtualization* page of the {ocp} web console, you can click the {kebab} beside a migration plan to access the following options:
1010

11-
* *Get logs*: Retrieves the logs of a migration. When you click *Get logs*, a confirmation window opens. After you click *Get logs* in the window, wait until *Get logs* changes to *Download logs* and then click the button to download the logs.
12-
* *Edit*: Edit the details of a migration plan. You cannot edit a migration plan while it is running or after it has completed successfully.
13-
* *Duplicate*: Create a new migration plan with the same virtual machines (VMs), parameters, mappings, and hooks as an existing plan. You can use this feature for the following tasks:
11+
* *Edit Plan*: Edit the details of a migration plan. You cannot edit a migration plan while it is running or after it has completed successfully.
12+
* *Start migration*: Active only if relevant.
13+
* *Restart migration* Restarts a migration that was interrupted. Before choosing this option, make sure there are no error messages. If there are, you need to edit the plan.
14+
* *Cutover*: Warm migrations only. Active only if relevant.
15+
* *Cancel scheduled cutover*: Cancel a scheduled cutover migration for a warm migration plan. Active only if relevant.
16+
17+
* *Duplicate Plan*: Create a new migration plan with the same virtual machines (VMs), parameters, mappings, and hooks as an existing plan. You can use this feature for the following tasks:
1418
1519
** Migrate VMs to a different namespace.
1620
** Edit an archived migration plan.
1721
** Edit a migration plan with a different status, for example, failed, canceled, running, critical, or ready.
1822

19-
* *Archive*: Delete the logs, history, and metadata of a migration plan. The plan cannot be edited or restarted. It can only be viewed.
23+
* *Archive Plan*: Delete the logs, history, and metadata of a migration plan. The plan cannot be edited or restarted. It can only be viewed.
2024
+
2125
[NOTE]
2226
====
23-
The *Archive* option is irreversible. However, you can duplicate an archived plan.
27+
*Archive Plan* is irreversible. However, you can duplicate an archived plan.
2428
====
2529
26-
* *Delete*: Permanently remove a migration plan. You cannot delete a running migration plan.
30+
* *Delete Plan*: Permanently remove a migration plan. You cannot delete a running migration plan.
2731
+
2832
[NOTE]
2933
====
30-
The *Delete* option is irreversible.
34+
*Delete Plan* is irreversible.
3135
32-
Deleting a migration plan does not remove temporary resources such as `importer` pods, `conversion` pods, config maps, secrets, failed VMs, and data volumes. (link:https://bugzilla.redhat.com/show_bug.cgi?id=2018974[*BZ#2018974*]) You must archive a migration plan before deleting it in order to clean up the temporary resources.
36+
Deleting a migration plan does not remove temporary resources. It is recommended to archive the plan first before deleting it, in order to remove temporary resources.
3337
====
3438

35-
* *View details*: Display the details of a migration plan.
36-
* *Restart*: Restart a failed or canceled migration plan.
37-
* *Cancel scheduled cutover*: Cancel a scheduled cutover migration for a warm migration plan.
39+

documentation/modules/running-migration-plan.adoc

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,40 @@ The *Plans* list displays the source and target providers, the number of virtual
2121
. Click *Start* beside a migration plan to start the migration.
2222
. Click *Start* in the confirmation window that opens.
2323
+
24-
The *Migration details by VM* screen opens, displaying the migration's progress
24+
The plan's *Status* changes to *Running* and migration's progress is displayed.
2525
+
2626
Warm migration only:
2727

2828
* The precopy stage starts.
2929
* Click *Cutover* to complete the migration.
3030
31-
. If the migration fails:
32-
.. Click *Get logs* to retrieve the migration logs.
33-
.. Click *Get logs* in the confirmation window that opens.
34-
.. Wait until *Get logs* changes to *Download logs* and then click the button to download the logs.
31+
. Click the links in the migration's *Status* to see its overall status and the status of each VM:
3532

36-
. Click a migration's *Status*, whether it failed or succeeded or is still ongoing, to view the details of the migration.
33+
** The link on the left indicates whether the migration failed, succeeded, or is ongoing and reports the number of VMs whose migration succeeded, failed, or was canceled.
34+
** The link on the right opens the *Virtual Machines* tab of the *Plan Details* page. For each VM, the tab displays the name of the VM, the start and end times of the migration, the amount of data copied, and a progress pipeline for its migration.
35+
36+
. To view your migration's logs, either as it is running or after it is completed:
37+
38+
.. Click the *Virtual Machines* tab.
39+
.. Click the arrow (*>*) to the left of the virtual machine whose migration progress you want to check.
40+
+
41+
The VM's details are displayed.
42+
+
43+
.. In the *Pods* section, in the *Pod links* column, click the *Logs* link.
44+
+
45+
The *Logs* tab opens.
3746
+
38-
The *Migration details by VM* screen opens, displaying the start and end times of the migration, the amount of data copied, and a progress pipeline for each VM being migrated.
39-
. Expand an individual VM to view its steps and the elapsed time and state of each step.
47+
[NOTE]
48+
====
49+
Logs are not always available. The most common reasons for this are:
50+
51+
* The migration is from {virt} to {virt}. In this case, `virt-v2v` is not involved, so no pod is required.
52+
* No pod was created.
53+
* The pod was deleted.
54+
* The migration failed prior to running the pod.
55+
====
56+
57+
.. To see the raw logs, click the *Raw* link.
58+
.. To download the logs, click the *Download* link.
59+
60+

0 commit comments

Comments
 (0)