-
-
Save banzo/9ce67ec1425173f4dd67dcbae91844d9 to your computer and use it in GitHub Desktop.
Revisions
-
banzo revised this gist
Jun 27, 2017 . 1 changed file with 4 additions and 24 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,20 +1,13 @@ # Boxing [devstack](http://docs.openstack.org/developer/devstack/) with ... The simplest way is to install the latest version of [Vagrant](http://www.vagrantup.com/) ## To install a specific branch of devstack These are the steps I followed to install the Newton branch of devstack into a Vagrant controlled VM ```bash vagrant init bento/ubuntu-16.04 nano Vagrantfile ``` Then in the resultant edit window alter the Vagrant file to be as follows: @@ -23,7 +16,7 @@ VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # Every Vagrant virtual environment requires a box to build off of. config.vm.box = "bento/ubuntu-16.04" # set up the the network config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1" @@ -51,22 +44,9 @@ git clone git://git.openstack.org/openstack-dev/devstack && cd devstack ``` Switch to the icehouse branch ```bash git checkout stable/newton ``` Then fire up devstack ```bash ./stack.sh -
MartinPaulo revised this gist
Dec 11, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # Boxing [devstack](http://docs.openstack.org/developer/devstack/) with ... The simplest way is to install the latest version of [Vagrant](http://www.vagrantup.com/) Then just follow the instructions given by Christian Berendt in his blog entry: <http://www.cberendt.de/2014/04/an-other-vagrant-box-with-devstack-and-ubuntu-14-04/> (you might want to reduce the memory and the number of CPU's, dependent on your hardware - also, don't forget the warning about waiting for 10+ minutes once you have fired the whole thing up) -
MartinPaulo revised this gist
Dec 11, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # Boxing [devstack](http://docs.openstack.org/developer/devstack/_images/logo-blue.png) with ... The simplest way is to install the latest version of [Vagrant](http://www.vagrantup.com/) Then just follow the instructions given by Christian Berendt in his blog entry: <http://www.cberendt.de/2014/04/an-other-vagrant-box-with-devstack-and-ubuntu-14-04/> (you might want to reduce the memory and the number of CPU's, dependent on your hardware - also, don't forget the warning about waiting for 10+ minutes once you have fired the whole thing up) -
MartinPaulo revised this gist
Dec 11, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # Boxing  with ... The simplest way is to install the latest version of [Vagrant](http://www.vagrantup.com/) Then just follow the instructions given by Christian Berendt in his blog entry: <http://www.cberendt.de/2014/04/an-other-vagrant-box-with-devstack-and-ubuntu-14-04/> (you might want to reduce the memory and the number of CPU's, dependent on your hardware - also, don't forget the warning about waiting for 10+ minutes once you have fired the whole thing up) -
MartinPaulo revised this gist
Dec 11, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # Boxing [devstack](http://devstack.org/) with ... The simplest way is to install the latest version of [Vagrant](http://www.vagrantup.com/) Then just follow the instructions given by Christian Berendt in his blog entry: <http://www.cberendt.de/2014/04/an-other-vagrant-box-with-devstack-and-ubuntu-14-04/> (you might want to reduce the memory and the number of CPU's, dependent on your hardware - also, don't forget the warning about waiting for 10+ minutes once you have fired the whole thing up) -
MartinPaulo revised this gist
Sep 5, 2014 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -105,4 +105,7 @@ chmod 600 heat_key.priv ``` If you start devstack, sign in via the dashboard, then restart devstack, you might find that your browser still is associated with the old session, hence you get a big django exception when you return to the dashboard. Simply visit <http://localhost:8080/auth/logout> to clear the old session... The above is a little out of date when talking about localrc. For more on setting the conf files, see: - http://hackstack.org/x/blog/2013/09/07/devstack-local-config/ - http://devstack.org/configuration.html -
MartinPaulo revised this gist
Sep 4, 2014 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -103,5 +103,6 @@ And if using the command line tools, once you've sourced openrc you can generate nova keypair-add heat_key > heat_key.priv chmod 600 heat_key.priv ``` If you start devstack, sign in via the dashboard, then restart devstack, you might find that your browser still is associated with the old session, hence you get a big django exception when you return to the dashboard. Simply visit <http://localhost:8080/auth/logout> to clear the old session... For more on setting the conf files, see: http://hackstack.org/x/blog/2013/09/07/devstack-local-config/ -
MartinPaulo revised this gist
Sep 4, 2014 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -93,6 +93,10 @@ To run devstack off line, in `openrc` add the line (but note that devstack must ```bash OFFLINE=True ``` To force devstack to update all of the repositories when it runs, in `openrc` add the line ```bash RECLONE=yes ``` And if using the command line tools, once you've sourced openrc you can generate a keypair to use as follows ```bash #to generate a keypair to use... -
MartinPaulo revised this gist
Aug 26, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -53,7 +53,7 @@ Switch to the icehouse branch ```bash git checkout stable/icehouse ``` Create a file named `localrc` and add the following lines to it: ```bash # if you want a specific distro, then uncomment the line below and add it.. # IMAGE_URLS+=",http://cloud.fedoraproject.org/fedora-20.x86_64.qcow2" -
MartinPaulo revised this gist
Aug 26, 2014 . 1 changed file with 8 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -58,7 +58,14 @@ Create a file named `localrc` # if you want a specific distro, then uncomment the line below and add it.. # IMAGE_URLS+=",http://cloud.fedoraproject.org/fedora-20.x86_64.qcow2" # I wanted ceilomter enabled, hence the following lines # Enable the ceilometer metering services enable_service ceilometer-acompute ceilometer-acentral ceilometer-anotification ceilometer-collector # Enable the ceilometer alarming services enable_service ceilometer-alarm-evaluator,ceilometer-alarm-notifier # Enable the ceilometer api services enable_service ceilometer-api ``` Then fire up devstack ```bash -
MartinPaulo revised this gist
Jul 9, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -93,4 +93,4 @@ nova keypair-add heat_key > heat_key.priv chmod 600 heat_key.priv ``` If you start devstack, sign in via the dashboard, then restart devstack, you might find that your browser still is associated with the old session, hence you get a big django exception when you return to the dashboard. Simply visit <http://localhost:8080/auth/logout> to clear the old session... -
MartinPaulo revised this gist
Jul 9, 2014 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -91,4 +91,6 @@ And if using the command line tools, once you've sourced openrc you can generate #to generate a keypair to use... nova keypair-add heat_key > heat_key.priv chmod 600 heat_key.priv ``` If you start devstack, sign in via the dashboard, then restart devstack, you might find that your browser still is associated with the old session, hence you get a big django exception when you return to the dashboard. Simply visit `http://localhost:8080/auth/logout` to clear the old session... -
MartinPaulo revised this gist
Jun 4, 2014 . 1 changed file with 0 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -69,12 +69,6 @@ Provide the requested passwords, etc.. Once up, the dashboard is available from the host computer at <http://localhost:8080/>. Your users are 'admin' and 'demo', and the password is the one that you provided when answering the stack.sh questions... In the VM you can source the openrc file to enable credentials for command line tools as the demo user. ```bash source ~devstack/openrc -
MartinPaulo revised this gist
May 27, 2014 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -37,11 +37,11 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| end ``` Bring the VM up and ssh into it... ```bash vagrant up && vagrant ssh ``` Once in the VM bring it up to date and install git ```bash sudo apt-get update && sudo apt-get -y install git ``` @@ -66,20 +66,20 @@ Then fire up devstack ``` Provide the requested passwords, etc.. Once up, the dashboard is available from the host computer at <http://localhost:8080/>. Your users are 'admin' and 'demo', and the password is the one that you provided when answering the stack.sh questions... As Christian mentioned, add: ```bash 127.0.0.1 openstack.site ``` to /etc/hosts if you want to use the VNC sessions. In the VM you can source the openrc file to enable credentials for command line tools as the demo user. ```bash source ~devstack/openrc ``` NB: If you want to be the admin user on the command line, source with 'admin' as an argument ```bash source ~devstack/openrc admin ``` -
MartinPaulo revised this gist
May 27, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -69,7 +69,7 @@ Provide the requested passwords, etc.. Once up, you can the dashboard is available from the host computer at <http://localhost:8080/>. Your users are 'admin' and 'demo', and use the password that you provided when answering the stack.sh questions... As Christian mentioned, add: ```bash 127.0.0.1 openstack.site ``` -
MartinPaulo revised this gist
May 27, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ # Boxing [devstack](http://devstack.org/) with Vagrant... The simplest way is to install the latest version of [Vagrant](http://www.vagrantup.com/) Then just follow the instructions given by Christian Berendt in his blog entry: <http://www.cberendt.de/2014/04/an-other-vagrant-box-with-devstack-and-ubuntu-14-04/> (you might want to reduce the memory and the number of CPU's, dependent on your hardware - also, don't forget the warning about waiting for 10+ minutes once you have fired the whole thing up) ## To install a specific branch of devstack -
MartinPaulo revised this gist
May 27, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Then to follow the instructions given by Christian Berendt in his blog entry: <h ## To install a specific branch of devstack These are the steps I followed to install the icehouse branch of devstack into a Vagrant controlled VM ```bash # create directory to work in. -
MartinPaulo revised this gist
May 27, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ # Boxing [devstack](http://devstack.org/) with Vagrant... The simplest way is to install the latest version of [Vagrant](http://www.vagrantup.com/) Then to follow the instructions given by Christian Berendt in his blog entry: <http://www.cberendt.de/2014/04/an-other-vagrant-box-with-devstack-and-ubuntu-14-04/> (you might want to reduce the memory and the number of CPU's, dependent on your hardware - also, don't forget the warning about waiting for 10+ minutes once you have fired the whole thing up) ## To install a specific branch of devstack -
MartinPaulo revised this gist
May 27, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ # Boxing [devstack](http://devstack.org/) with Vagrant... The simplest way is to install the latest version of [Vagrant](http://www.vagrantup.com/) Then to follow the instructions given this blog entry: [Christian Berendt](http://www.cberendt.de/2014/04/an-other-vagrant-box-with-devstack-and-ubuntu-14-04/) (you might want to reduce the memory and the number of CPU's, dependent on your hardware - also, don't forget the warning about waiting for 10+ minutes once you have fired the whole thing up) ## To install a specific branch of devstack -
MartinPaulo revised this gist
May 27, 2014 . 1 changed file with 20 additions and 11 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,19 @@ # Boxing [devstack](http://devstack.org/) with Vagrant... The simplest way is to install the latest version of [Vagrant](http://www.vagrantup.com/) Then to follow the instructions given this blog entry: [](http://www.cberendt.de/2014/04/an-other-vagrant-box-with-devstack-and-ubuntu-14-04/) (you might want to reduce the memory and the number of CPU's, dependent on your hardware - also, don't forget the warning about waiting for 10+ minutes once you have fired the whole thing up) ## To install a specific branch of devstack These are the steps I followed to install the icehouse branch of devstack ```bash # create directory to work in. mkdir DevStackIceHouse cd DevStackIceHouse # add a vagrant box vagrant box add trusty64 https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box # set up the Vagrantfile vagrant init trusty64 nano Vagrantfile ``` @@ -15,14 +25,11 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # Every Vagrant virtual environment requires a box to build off of. config.vm.box = "trusty64" # set up the the network config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1" config.vm.network "forwarded_port", guest: 6080, host: 8081, host_ip: "127.0.0.1" # and the amount of memory and cpu's to use config.vm.provider "virtualbox" do |vb| vb.customize ["modifyvm", :id, "--memory", "4096"] vb.customize ["modifyvm", :id, "--cpus", "2"] @@ -46,12 +53,14 @@ Switch to the icehouse branch ```bash git checkout stable/icehouse ``` Create a file named `localrc` ```bash # if you want a specific distro, then uncomment the line below and add it.. # IMAGE_URLS+=",http://cloud.fedoraproject.org/fedora-20.x86_64.qcow2" # I wanted ceilomter enabled, hence the following lines enable_service ceilometer-acentral,ceilometer-collector,ceilometer-api,ceilometer-acompute,ceilometer-alarm-singleton,ceilometer-alarm-notifier ``` Then fire up devstack ```bash ./stack.sh ``` @@ -83,9 +92,9 @@ To run devstack off line, in `openrc` add the line (but note that devstack must ```bash OFFLINE=True ``` And if using the command line tools, once you've sourced openrc you can generate a keypair to use as follows ```bash #to generate a keypair to use... nova keypair-add heat_key > heat_key.priv chmod 600 heat_key.priv ``` -
MartinPaulo revised this gist
May 25, 2014 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -84,3 +84,8 @@ To run devstack off line, in `openrc` add the line (but note that devstack must OFFLINE=True ``` ```bash #to generate a keypair to use... nova keypair-add heat_key > heat_key.priv chmod 600 heat_key.priv ``` -
MartinPaulo revised this gist
May 25, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -46,7 +46,7 @@ Switch to the icehouse branch ```bash git checkout stable/icehouse ``` create a file named `localrc` ```bash IMAGE_URLS+=",http://cloud.fedoraproject.org/fedora-20.x86_64.qcow2" enable_service ceilometer-acentral,ceilometer-collector,ceilometer-api,ceilometer-acompute,ceilometer-alarm-singleton,ceilometer-alarm-notifier @@ -79,7 +79,7 @@ To stop devstack, ./unstack.sh ``` To run devstack off line, in `openrc` add the line (but note that devstack must have been run successfully with Internet access prior to doing this) ```bash OFFLINE=True ``` -
MartinPaulo revised this gist
May 25, 2014 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -79,4 +79,8 @@ To stop devstack, ./unstack.sh ``` To run devstack off line, in `openrc` add the line ```bash OFFLINE=True ``` -
MartinPaulo revised this gist
May 23, 2014 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -48,6 +48,7 @@ git checkout stable/icehouse ``` create a file named localrc ```bash IMAGE_URLS+=",http://cloud.fedoraproject.org/fedora-20.x86_64.qcow2" enable_service ceilometer-acentral,ceilometer-collector,ceilometer-api,ceilometer-acompute,ceilometer-alarm-singleton,ceilometer-alarm-notifier ``` Then fire up -
MartinPaulo revised this gist
May 23, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -48,7 +48,7 @@ git checkout stable/icehouse ``` create a file named localrc ```bash enable_service ceilometer-acentral,ceilometer-collector,ceilometer-api,ceilometer-acompute,ceilometer-alarm-singleton,ceilometer-alarm-notifier ``` Then fire up ```bash -
MartinPaulo revised this gist
May 23, 2014 . 1 changed file with 8 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -42,9 +42,16 @@ Then fetch devstack and change into its directory... ```bash git clone git://git.openstack.org/openstack-dev/devstack && cd devstack ``` Switch to the icehouse branch ```bash git checkout stable/icehouse ``` create a file named localrc ```bash enable_service ceilometer-acompute,ceilometer-acentral,ceilometer-collector,ceilometer-api ``` Then fire up ```bash ./stack.sh ``` Provide the requested passwords, etc.. -
MartinPaulo revised this gist
May 23, 2014 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -49,7 +49,9 @@ git checkout stable/icehouse ``` Provide the requested passwords, etc.. Once up, you can the dashboard is available from the host computer at <http://localhost:8080/>. Your users are 'admin' and 'demo', and use the password that you provided when answering the stack.sh questions... Add: ```bash 127.0.0.1 openstack.site -
MartinPaulo revised this gist
May 23, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -49,7 +49,7 @@ git checkout stable/icehouse ``` Provide the requested passwords, etc.. Once up, you can the dashboard is available from the host computer at <http://localhost:8080/> . Add: ```bash 127.0.0.1 openstack.site -
MartinPaulo revised this gist
May 23, 2014 . 1 changed file with 25 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -28,8 +28,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| vb.customize ["modifyvm", :id, "--cpus", "2"] end end ``` Bring the box up and ssh into it... @@ -44,8 +42,31 @@ Then fetch devstack and change into its directory... ```bash git clone git://git.openstack.org/openstack-dev/devstack && cd devstack ``` Switch to the icehouse branch & fire it up ```bash git checkout stable/icehouse ./stack.sh ``` Provide the requested passwords, etc.. Once up, you can the dashboard is available from the host computer at http://localhost:8080/ . Add: ```bash 127.0.0.1 openstack.site ``` to /etc/hosts if you want to use the VNC sessions. In the VM you cansource the openrc file to enable credentials for command line tools as the demo user. ```bash source ~devstack/openrc ``` NB: If you want to be the admin user, source with 'admin' as an argument ```bash source ~devstack/openrc admin ``` To stop devstack, ```bash ./unstack.sh ``` -
MartinPaulo revised this gist
May 23, 2014 . 1 changed file with 13 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -28,12 +28,24 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| vb.customize ["modifyvm", :id, "--cpus", "2"] end #config.vm.provision "shell", privileged: false, inline: "/home/vagrant/devstack/stack.sh" end ``` Bring the box up and ssh into it... ```bash vagrant up && vagrant ssh ``` Inside the box bring it up to date and install git ```bash sudo apt-get update && sudo apt-get -y install git ``` Then fetch devstack and change into its directory... ```bash git clone git://git.openstack.org/openstack-dev/devstack && cd devstack ``` Switch to the icehouse branch ```bash git checkout stable/diablo ```
NewerOlder