Milestone 9 - OpenStack Tutorials

Services Commands:

Display services:

microstack.openstack catalog list

Display users:

microstack.openstack user list

Display images:

microstack.openstack image list

Display networks:

microstack.openstack network list

Display hypervisors:

microstack.openstack hypervisor list

Dashboard Navigation:

Themes:

Users:

Access users:

Change user password:

Project Menu:

Project drop down:

The Project menu on the left is grouped into three sections:

  • API Access provides information about API endpoints of OpenStack services.

  • Compute provides access to project compute resources, such as instances.

  • Network provides access to project network resources, such as virtual networks.

List images for a project:

Admin Menu:

The Admin menu on the left is grouped into five sections:

  • Overview displays usage metrics across all projects.

  • Compute provides access to global compute resources, such as hypervisors.

  • Network provides access to global network resources, such as RBAC policies.

  • System provides access to various system information.

  • Optimization currently not used

Identity Menu:

The Identity menu on the left is grouped into six sections:

  • Domains provides acces to domains.

  • Projects provides access to project accounts.

  • Users provides access to user accounts.

  • Groups provides access to user groups.

  • Roles provides access to user roles.

  • Application Credentials provides access to application credentials.

Templates:

Create Image:

List images:

Manage through dashboard:

Example upload:

  • Image Name - Type ubuntu-focal

  • File - Click Browse and find the focal-server-cloudimg-amd64-disk-kvm.img file in your Downloads directory

  • Format - Select QCOW2 - QEMU Emulator

  • Minimum Disk (GB) - Type 8

  • Minimum RAM (MB) - Type 512

  • Visibility - Choose Private

Manage flavors:

Create a flavor:

List flavors:

Manage flavors in dashboard:

To create the flavor, fill in the form as follows:

  • Name - Type paul-flavor

  • VCPUS - Type 1

  • RAM (MB) - Type 1024

  • Root Disk (GB) - Type 10

Identities:

Manage Domains:

Create domain:

List domain:

Create domain user:

Oliver added the following code to enable domains:

add the following to "/var/snap/microstack/common/etc/horizon/local_settings.d/_05_snap_tweaks.py" to enable domains:

Additions seen added to _05_snap_tweaks.py:

Then ran:

To login with domain user:

Domains:

Manage Roles:

Create role:

List roles:

Project management:

Create project:

List project in domain:

User and group management:

Create new user:

Create a new group:

List groups:

Membership and assignment management:

Add user to group:

Assign group to project:

Multi-tenancy:

Setup:

Keypair:

Networking:

Network:

Create network:

List networks:

Subnet:

Create subnet:

List subnets:

Routers:

Create:

List:

Set external network:

Add subnet:

Floating IPs:

Create:

list:

Security Groups:

Create:

list:

All 22 to my security group:

List rules:

Instances:

Launch instance:

launch:

Server list:

Floating IP to instance:

Attach security to instance:

Attach security group:

Delete Instance:

Last updated