Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Code Block
languagebash
themeEmacs
# 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

Code Block
languagebash
themeEmacs
source <path-to-openstack-rc-file>


Verify connection
6.

Run and check if you can see the instances

Code Block
themeEmacs
$ 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     |
+--------------------------------------+--------------------------+--------+----------------------------------------+---------------------------------------------------------+--------------+