Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

We are currently have a ( mostly ) working OpenStack infrastructure running ( just missing Swift ) and would like to try using juju to deploy our applications to it.

We just can't find documentation to help support us in that endeavor.

We use keystone ( and horizon ) as our front end and it works. We're not sure how the environments file should be built using the keystone username / password.

We still have nova-objectstore running. We're not ready to go to Swift just yet.

Any help or guidance would be appreciated.

share|improve this question
    
Have you finally made it work? I've found the correct parameters in horizon but juju bootstrap won't work. I've asked on serverfault : serverfault.com/questions/409222/… –  Olivier Jul 19 '12 at 14:41
add comment

2 Answers

up vote 5 down vote accepted
+350

I think this is basically answered here:

How can I configure multiple deployment environments for juju?

You just need to explicitly set the right keys in environments.yaml, specifically ec2-uri, s3-uri, access-key, default-image-id and secret-key.

Your keystone bits should be producing the access key ID and secret key that will be used to populate those fields.

share|improve this answer
    
Thank you. How do you get keystone to provide you the access and secret key? –  bbrietzke Jan 18 '12 at 14:19
    
That sounds like a good question for askubuntu or even serverfault. –  SpamapS Jan 18 '12 at 16:31
    
@bbrietzke He means you might want to repost your new question as a new post. –  Jorge Castro Jan 24 '12 at 1:12
add comment

Your environments.yaml is basically the same as it was without keystone. The only difference is where you're getting your access-key and secret-key from. Using the deprecated auth system, the 'nova-manage project zipfile' spat out a zip archive that contained all of this per project. Now, you need to create the EC2 credentials in keystone for specific user:

keystone-manage credentials add somekeystoneuser EC2 heraccesskey hersecretkey

These get set in the environments.yaml as usual:

juju: environments
  openstack:
    type: ec2
    control-bucket: openstack-bucket
    admin-secret: fooooooo
    access-key: heraccesskey
    secret-key: hersecretkey
    ec2-uri:  http://nova.api.server:8773/services/Cloud
    s3-uri: http://nova.api.server:3333
    ec2-key-name: keypairname
    default-image-id: ami-00000004
    default-series: precise
share|improve this answer
add comment

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.