OSM has a terminal for the interactive consoles of the cloud:
| Console | Where | CLI equivalent |
|---|---|---|
| Attach to a container | Containers (Zun) > Containers > Actions > More > Attach | openstack appcontainer attach |
| Run a command interactively | Containers (Zun) > Containers > Actions > More | openstack appcontainer exec --interactive |
| Serial console of a server | Compute > Servers > Actions > More > Serial console | openstack console url show --serial |
OSM asks the service for the console address, then opens the console proxy’s WebSocket (ws:// or wss://, through your proxy when one is set). The graphical (noVNC) console of a server opens in your web browser instead.
Click the terminal screen to type into it. From then on every key goes to the console, ESC included, as in a terminal emulator: arrows, Home / End, Page Up / Down, function keys, Ctrl and Alt combinations. Click outside the screen, or wait for the session to end, and ESC closes the window again.
The terminal follows the size of its window: resize the window and the console is told the new number of columns and rows, so full-screen programs redraw to fit.
When the container closes the session (you typed exit),
a notice says so and the text stays readable until you close the window.
Disconnecting or switching project closes the open consoles.