Skip to content

Openstack Usage and Examples

T20A02 edited this page Nov 3, 2023 · 10 revisions

Openstack Usage

This short guide will outline the usage of some simple commands for openstack/microstack. This includes service usage, dashboard settings, and more.

Services

To Check running services

microstack.openstack catalog list

Output Example:

image


List Microstack users

microstack.openstack user list

Output Example

image


List available images

``microstack.openstack image list```

Example Output:

image


List system networks

microstack.openstack network list

Example Output

image


List Hypervisor hosts

microstack.openstack hypervisor list

Example Output

image

Dashboard Settings

Configuring themes

Themes can be changed in the login menu from the webpage.

Example:

image


Changing User Password:

The User password for the Openstack dashboard can be changed if know, by going to Settings > Change Password.

Example

image

If the Password is not known, it can be retrieved from the CLI on the host:

sudo snap get microstack config.credentials.keystone-password

Example Output

image

Managing Templates

Managing templates can be done from the web dashboard, this includes managing images, and templates.

To create an image navigate to Admin > Compute > images

Here you can list and search images available to the system


Flavors

Flavors are a crucial part of your workflow with openstack, allowing you to create hardware templates to allow the quick creation of new guests

To create a new flavor, from cli run the following and replacing the resources respectively with what is needed

microstack.openstack flavor create --ram 1024 --disk 10 --vcpus 1 testflavor

Example Output

image


List the flavors on the system:

microstack.openstack flavor list

Example output

image

This can also be managed through the flavors tab of the dashboard at Admin > Compute > Flavors.

Here you can and remove flavors from the system dashboard

Clone this wiki locally