Skip to content

Commit 794058d

Browse files
committed
docs: add user guide
1 parent 37c3282 commit 794058d

File tree

2 files changed

+73
-0
lines changed

2 files changed

+73
-0
lines changed
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# Graphical Console
2+
3+
Accessing physical server's baremetal console may be required in case of emergencies.
4+
Here is how to access it.
5+
6+
## Pre-requisites
7+
8+
1. Knowledge of **Baremetal node UUID** - the console is for a physical
9+
baremetal node rather than a server (aka Nova instance).
10+
2. `openstack` CLI with baremetal plugin
11+
3. Web Browser
12+
13+
## Steps
14+
15+
1. Obtain the baremetal node UUID. Example:
16+
17+
```text
18+
❯ openstack server list
19+
+--------------------------------------+---------------+--------+-------------------------------+-----------------+-----------+
20+
| ID | Name | Status | Networks | Image | Flavor |
21+
+--------------------------------------+---------------+--------+-------------------------------+-----------------+-----------+
22+
| de556585-8710-4ec3-b9d7-daef148f2102 | test-server-5 | ACTIVE | mareks-svm-test4=192.168.0.14 | My-Ubuntu-24.04 | gp2.small |
23+
+--------------------------------------+---------------+--------+-------------------------------+-----------------+-----------+
24+
25+
❯ openstack server show test-server-5 -c OS-EXT-SRV-ATTR:hypervisor_hostname
26+
+-------------------------------------+--------------------------------------+
27+
| Field | Value |
28+
+-------------------------------------+--------------------------------------+
29+
| OS-EXT-SRV-ATTR:hypervisor_hostname | 2fb79bdb-c925-4701-b304-b3768deeb85e |
30+
+-------------------------------------+--------------------------------------+
31+
```
32+
33+
In the above output, the `2fb79bdb-c925-4701-b304-b3768deeb85e` is the one we
34+
are interested in.
35+
36+
1. Enable the console
37+
38+
```text
39+
❯ openstack baremetal node console enable 2fb79bdb-c925-4701-b304-b3768deeb85e
40+
```
41+
42+
1. Obtain the console address
43+
44+
```text
45+
❯ openstack baremetal node console show 2fb79bdb-c925-4701-b304-b3768deeb85e
46+
+-----------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
47+
| Field | Value |
48+
+-----------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
49+
| console_enabled | True |
50+
| console_info | {'type': 'vnc', 'url': 'https://console-0.dev.undercloud.rackspace.net/vnc.html?path=websockify%3Fnode%3D055818eb-7de7-43f5-b747-e8704ad7db45%26token%3DSBSyV8pUQoFaAPESACOskV2IwmZo9fqQOWPf3GmP3pQ'} |
51+
+-----------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
52+
```
53+
54+
If the console is not ready, you may receive following output:
55+
56+
```text
57+
❯ openstack baremetal node console show Dell-J2GSW04
58+
+-----------------+-------+
59+
| Field | Value |
60+
+-----------------+-------+
61+
| console_enabled | False |
62+
| console_info | None |
63+
+-----------------+-------+
64+
```
65+
66+
Just wait few seconds and try again. If the issue is persistent, contact support.
67+
68+
> [!INFO] URL can be extracted with:
69+
> `openstack baremetal node console show <ID> -c console_info -f json | jq -r .console_info.url`
70+
71+
1. Open the provided URL in your browser.
72+
1. Click "connect" and you should be presented with a console within few seconds.

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,4 +194,5 @@ nav:
194194
- user-guide/openstack-cli.md
195195
- user-guide/openstack-image.md
196196
- user-guide/openstack-resource-controller.md
197+
- user-guide/openstack-console.md
197198
- Workflows: workflows/

0 commit comments

Comments
 (0)