Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

HP Cloud has a new cloud service out based on Open Stack. How can I configure my environments.yaml to connect to the new service?

share|improve this question
up vote 9 down vote accepted

If you have juju-quickstart installed, you can do juju quickstart -i; this will give you a form to fill out for your cloud provider.

Here are the full instructions:

Official docs:

share|improve this answer
Make sure you're not using ppa:juju/devel. The public-bucket on HP Cloud doesn't have images that correspond to the version of juju the ppa provides. So you can't even bootstrap an instance. It took me quite awhile to figure out what was going wrong. – andrewsomething Aug 4 '13 at 18:36

You will also need to set your access-key and secret-key information as an environment variable or in the environments.yaml file.

Adding to your environments.yaml file should make it look like this:

    juju-origin: ppa
    control-bucket: juju-hpc-az1-cb
    admin-secret: [any-unique-string-shared-among-admins-u-like]
    default-image-id: [8419]
    region: az-1.region-a.geo-1
    project-name: []
    default-instance-type: standard.small
    auth-mode: keypair
    type: openstack
    default-series: precise
    authorized-keys: [CONTENTS (not path) to your ~/.ssh/ key]
    access-key: [PUT YOUR ACCESS-KEY HERE] 
    secret-key: [PUT YOUR SECRET-KEY HERE]'

You can find the access-key and secret-key by logging into your HP cloud control panel and displaying your API keys.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.