Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I would like to test juju charms on trystack.org, however I have not found any docu, how to configure juju for the openstack API?

share|improve this question

1 Answer

up vote 4 down vote accepted

First off you need juju and charm-tools, ensure you have backports enabled (they are enabled by default) to get the latest Juju:

sudo apt-get install juju-core charm-tools

Do a juju generate-config -w to generate a config for OpenStack that you can customize for your needs.

Here's an example OpenStack configuration for ~/.juju/environments.yaml:

  openstack:
    type: openstack_s3
    control-bucket: <user specific>
    admin-secret: <user specific>
    auth-url: https://yourkeystoneurl:443/v2.0/
    default-series: precise
    juju-origin: ppa
    ssl-hostname-verification: True
    default-image-id: bb636e4f-79d7-4d6b-b13b-c7d53419fd5a
    default-instance-type: m1.small

References:

Other OpenStack Based Clouds:

This answer is for generic upstream OpenStack support, if you're using an OpenStack-based provider check these questions out for provider-specific information:

share|improve this answer
Thanks Jorge.. but I have not found a way to configure environments.yaml work with trystack.org yet – txwikinger Jul 29 '12 at 15:46
@txwikinger Trystack doesn't expose any Storage, only compute. You need both Swift and Compute to use Juju. – Marco Ceppi Jul 31 '12 at 20:07

Your Answer

 
discard

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.