Jump to: navigation, search

Difference between revisions of "OpenStack Upstream Training/Setup DevStack"

(Deploy OpenStack DevStack on a VM with a cloud-init script)
 
Line 1: Line 1:
* Download and save the [https://github.com/cloudwatt/openstack-cloudinit-templates/blob/master/OpenStack/devstack/deploy_devstack_all-in-one.yaml clud-init script] in $HOME/devstack_cloudinit.yaml
+
* Download and save the [https://github.com/cloudwatt/openstack-cloudinit-templates/blob/master/OpenStack/devstack/deploy_devstack_all-in-one.yaml cloud-init script] in $HOME/devstack_cloudinit.yaml
 
* nova boot --flavor 4GB-ram-10GB-disk --image "Ubuntu 14.04" --nic net-id=$NET_ID --key-name mykey --user-data $HOME/devstack_cloudinit.yaml test_devstack
 
* nova boot --flavor 4GB-ram-10GB-disk --image "Ubuntu 14.04" --nic net-id=$NET_ID --key-name mykey --user-data $HOME/devstack_cloudinit.yaml test_devstack
 
* When the VM started and the cloud-init script ran, the devstack script was running into a [http://tmux.sourceforge.net/ tmux] session with user 'stack' rights. Log onto that VM with SSH client and the user 'stack' (password 'stack') ''ssh -i mykey stack@<VM_PUBLIC_IP>'' and attach your session to the tmux with the command 'tmux attach'. You could also reach the Horizon web UI though a web browser on the public VM IP on HTTP port 80.
 
* When the VM started and the cloud-init script ran, the devstack script was running into a [http://tmux.sourceforge.net/ tmux] session with user 'stack' rights. Log onto that VM with SSH client and the user 'stack' (password 'stack') ''ssh -i mykey stack@<VM_PUBLIC_IP>'' and attach your session to the tmux with the command 'tmux attach'. You could also reach the Horizon web UI though a web browser on the public VM IP on HTTP port 80.

Latest revision as of 08:40, 20 October 2014

  • Download and save the cloud-init script in $HOME/devstack_cloudinit.yaml
  • nova boot --flavor 4GB-ram-10GB-disk --image "Ubuntu 14.04" --nic net-id=$NET_ID --key-name mykey --user-data $HOME/devstack_cloudinit.yaml test_devstack
  • When the VM started and the cloud-init script ran, the devstack script was running into a tmux session with user 'stack' rights. Log onto that VM with SSH client and the user 'stack' (password 'stack') ssh -i mykey stack@<VM_PUBLIC_IP> and attach your session to the tmux with the command 'tmux attach'. You could also reach the Horizon web UI though a web browser on the public VM IP on HTTP port 80.