Skip to content

Instantly share code, notes, and snippets.

@kzap
Last active April 14, 2016 11:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kzap/38349c76dbe06c8c74a43c4b534eb4d7 to your computer and use it in GitHub Desktop.
Save kzap/38349c76dbe06c8c74a43c4b534eb4d7 to your computer and use it in GitHub Desktop.
How to use python-openstackclient with Dream Compute

Install python-novaclient 2.30.2 pip install -I python-novaclient==2.30.2

Install python-openstackclient pip install python-openstackclient

Create your config file: vi ~/.config/openstack/clouds.yaml

  dreamcompute:
    cloud: dreamcompute
    auth:
      project_id: TENANT_ID
      project_name: PROJECT_NAME
      username: DREAMCLOUD_COMPUTER_USERNAME
      password: DREAMCLOUD_COMPUTE_PASSWORD
    region_name: RegionOne
    interface: internal

Create a generic public cloud config file: vi ~/.config/openstack/clouds-public.yaml

  dreamcompute:
    auth:
      auth_url: 'https://iad2.dream.io:5000/v2.0'

To Test, Run openstack --os-cloud dreamcompute server list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment