Skip to content

Commit 485af32

Browse files
authored
Merge pull request #37226 from stevsmit/BZ1893593
Adds sudo to two commands
2 parents 9521744 + 9c581e3 commit 485af32

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

modules/ipi-install-troubleshooting-bootstrap-vm-inspecting-logs.adoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,47 +22,47 @@ The `ipa-downloader` and `coreos-downloader` containers download resources from
2222

2323
. Log in to the bootstrap VM:
2424
+
25-
[source,bash]
25+
[source,terminal]
2626
----
2727
2828
----
2929

3030
. Check the status of the `ipa-downloader` and `coreos-downloader` containers within the bootstrap VM:
3131
+
32-
[source,bash]
32+
[source,terminal]
3333
----
34-
[core@localhost ~]$ podman logs -f ipa-downloader
34+
[core@localhost ~]$ sudo podman logs -f ipa-downloader
3535
----
3636
+
37-
[source,bash]
37+
[source,terminal]
3838
----
39-
[core@localhost ~]$ podman logs -f coreos-downloader
39+
[core@localhost ~]$ sudo podman logs -f coreos-downloader
4040
----
4141
+
4242
If the bootstrap VM cannot access the URL to the images, use the `curl` command to verify that the VM can access the images.
4343

4444
. To inspect the `bootkube` logs that indicate if all the containers launched during the deployment phase, execute the following:
4545
+
46-
[source,bash]
46+
[source,terminal]
4747
----
4848
[core@localhost ~]$ journalctl -xe
4949
----
5050
+
51-
[source,bash]
51+
[source,terminal]
5252
----
5353
[core@localhost ~]$ journalctl -b -f -u bootkube.service
5454
----
5555

5656
. Verify all the pods, including `dnsmasq`, `mariadb`, `httpd`, and `ironic`, are running:
5757
+
58-
[source,bash]
58+
[source,terminal]
5959
----
6060
[core@localhost ~]$ sudo podman ps
6161
----
6262

6363
. If there are issues with the pods, check the logs of the containers with issues. To check the log of the `ironic-api`, execute the following:
6464
+
65-
[source,bash]
65+
[source,terminal]
6666
----
6767
[core@localhost ~]$ sudo podman logs <ironic-api>
6868
----

0 commit comments

Comments
 (0)