This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
juju-openstack [2014/04/24 05:29] gsamfira created |
juju-openstack [2014/04/24 05:53] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Set up environment for Openstack ====== | ====== Set up environment for Openstack ====== | ||
| - | Edit: | + | {{: |
| + | |||
| + | * Upload images to glance. Names must be exactly as the " | ||
| + | |||
| + | glance image-create --name win2012r2 --is-public True --disk-format qcow2 --container-format bare --file ~/ | ||
| + | |||
| + | * Get ubuntu images from: | ||
| + | |||
| + | http:// | ||
| + | |||
| + | |||
| + | * Edit: | ||
| ~/ | ~/ | ||
| - | and add: | + | * and add: |
| openstack: | openstack: | ||
| Line 35: | Line 46: | ||
| region: RegionOne | region: RegionOne | ||
| network: private | network: private | ||
| + | |||
| + | |||
| + | * sync tools to Openstack: | ||
| + | |||
| + | glance image-list # we need the image ID for each " | ||
| + | juju-metadata generate-image -e openstack -i 01225b3c-7249-4e1e-baef-aac122b3d9f8 -s win2012r2 # image ID and serie name | ||
| + | #you should get two files: com.ubuntu.cloud: | ||
| + | juju sync-tools -e openstack --source=/ | ||
| + | # juju-09c98b2249a0e5021afaa076916c112d is the bucket name from ~/ | ||
| + | swift upload juju-09c98b2249a0e5021afaa076916c112d/ | ||
| + | juju bootstrap -e openstack --debug | ||
| + | |||