Files, Command Line and Troubleshooting

OpenStackManager User Guide / Files, Command Line and Troubleshooting

Files, Command Line and Troubleshooting

Where things are stored

What Linux Windows
Settings (osm.conf), layout (layout.json), profiles (profiles/*.json) ~/.config/openstackmanager/ %APPDATA%\OpenStackManager\
History samples ~/.local/share/openstackmanager/ %APPDATA%\OpenStackManager\

Set OSM_HOME to a directory to keep everything there instead (a USB stick, a test setup). Profiles are readable by you only; a stored secret is encrypted (see Connecting to a Cloud).

Command line

osm [-v level] [--env] [--open view] [-h]
Option Meaning
-v level log level: 0 errors, 1 notices (default), 2 info, 3 debug
--env connect at once with the OS_* environment (a sourced openrc), or with the cloud of clouds.yaml that OS_CLOUD names
--open view open a view at start: overview, history, topology, usage, or a resource such as compute.server, network.port, volume.volume
-h the help

Examples:

source ~/my-project-openrc.sh && osm --env --open compute.server
OS_CLOUD=prod osm --env --open topology

Environment variables

Variable Used for
OS_AUTH_URL, OS_USERNAME, OS_PASSWORD, OS_PROJECT_NAME… From environment and --env
OS_CLOUD, OS_CLIENT_CONFIG_FILE the cloud of clouds.yaml, and where that file is
https_proxy, http_proxy, no_proxy (either case) the proxy
SSL_CERT_FILE the CA bundle that replaces the system store
OSM_HOME one directory for every file of OSM

Troubleshooting

“certificate verify failed”: the cloud’s certificate is signed by a CA your system does not know. Get the CA file from the cloud’s operator and set it as the profile’s CA bundle. On Windows, check that ca-bundle.pem is next to osm.exe.

A view fails after 15 seconds: the service’s endpoint is not reachable from your network (some clouds publish internal addresses for a service). Try another Interface in the profile, or ask the operator.

Orange status, “your roles do not allow”: the cloud answered 403. The operation needs a role you do not have in this project.

A service is missing from the sidebar: it is not in the catalog of this cloud and Show services this cloud does not offer is off. Turn it on to see it greyed.

Behind a proxy, nothing connects: check https_proxy (an http:// address) and no_proxy. A proxy password with @ or : must be written %40 / %3A. A 407 in the status bar means the proxy refused the credentials.

The console does not open: the console proxy of the cloud must be reachable from your machine (its address is shown in the error); through an HTTP proxy it needs CONNECT to be allowed to that port.

Reporting a problem: start OSM with -v 3 from a terminal and keep the log. It holds the requests and the answers’ statuses, never a password or a token.