Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

This tutorial is based on Ubuntu 20.04. At the end of the tutorial, you will have a machine that can control your cloud project using OpenStack CLI.



Install clients

1.

Install python, pip and openstackclient

# Ubuntu apt
sudo apt install python-dev python3-pip python3-openstackclient
Log-in with Openstack CLI
2.in Project -> API Access
3.Press DOWNLOAD OPENSTACK RC FILE drop-down
4.

Download the Openstack RC FILE

5.

Run

source <path-to-openstack-rc-file>
Verify connection
6.

Run and check if you can see the instances

$ openstack server list
+--------------------------------------+--------------------------+--------+----------------------------------------+---------------------------------------------------------+--------------+
| ID                                   | Name                     | Status | Networks                               | Image                                                   | Flavor       |
+--------------------------------------+--------------------------+--------+----------------------------------------+---------------------------------------------------------+--------------+
| 6b2bedc4-9d8e-4bf3-be63-1dd49bc2e188 | test-resize-rebuild      | ACTIVE | Internal=172.16.102.207                | ubuntu-focal-20.04-gui                                  | c3.small     |
+--------------------------------------+--------------------------+--------+----------------------------------------+---------------------------------------------------------+--------------+
  • No labels