OpenStack API - Common Questions

OpenStack API access is available through the API Users tab in the Cloud Control Panel. The API can be used for a variety of server management tasks.

Get started by reviewing OpenStack API documentation here. We will add some common API-related issues/questions to this page.

Common Issues:

What is the API URL?

  • Once you create an API User, you will see a link to download the openrc file. That file contains the relevant URL on the OS_AUTH_URL line.

Security Groups

  • You need to specify a security group when launching an instance from API, otherwise it will not have connectivity. The default security group is named "firewall", so the parameter would look like:
    --security-group firewall
 

SSH Keys

  • API users have a separate keystore from your Cloud Control Panel user. Add your SSH keys via API in order to access them with your API user.

Metrics

  • You can monitor instance metrics via API with:
    • openstack metric resource show [instance-uuid]
  • You can view metrics data for each value under the metrics field with:
    • openstack metric measures show [metrics-value-uuid]
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I add users to my cloud account?

The ability for cloud customers to create teams / manage users is under development. For now, you...

How to Fix an Empty System Log

The System Log tab in the cloud control panel displays console output from your instance. It...

Do you have a test IP I can ping?

For more information, please see our Looking Glasses.New York City: IPv4: 107.191.96.26IPv6:...

Do you have a download file/speed test?

Please use our Looking Glass test files.

How to Create and Use Private Networks

Our OpenStack Cloud allows you to create your own Private Networks. You can use private IPs for...