User Tools

Site Tools


juju-openstack

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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:+{{:history.txt.tgz|History file}} <-- Search for Juju-metadata 
 + 
 +  * Upload images to glance. Names must be exactly as the "series" names in MaaS (precise, trusty, win2012, etc): 
 + 
 +  glance image-create --name win2012r2 --is-public True --disk-format qcow2 --container-format bare --file ~/windows_server_2012_r2_standard_eval_kvm_20131117.qcow2 
 + 
 +  * Get ubuntu images from: 
 + 
 +  http://cloud-images.ubuntu.com/ 
 + 
 + 
 +  * Edit:
  
   ~/.juju/environments.yaml   ~/.juju/environments.yaml
  
  
-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 "serie"
 +  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:released:imagemetadata.json AND index.json
 +  juju sync-tools -e openstack --source=/home/ubuntu/.juju/ --debug
 +  # juju-09c98b2249a0e5021afaa076916c112d is the bucket name from ~/.juju/environments.yaml
 +  swift upload juju-09c98b2249a0e5021afaa076916c112d/images/streams/v1 com.ubuntu.cloud\:released\:imagemetadata.json index.json
 +  juju bootstrap -e openstack --debug
 +
  
juju-openstack.1398306579.txt.gz · Last modified: 2014/04/24 05:29 (external edit)