This file contains 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 characters
$ cat install-chocolatey.bat | |
REM goto a temp directory | |
cd %SystemDrive%\windows\temp | |
cmd /c bitsadmin /transfer InstallChocolateyPS1 /download /priority normal https://raw.github.com/ferventcoder/chocolatey/master/chocolateyInstall/InstallChocolatey.ps1 %SystemDrive%\windows\temp\InstallChocolatey.ps1 | |
cmd /c %windir%\System32\WindowsPowerShell\v1.0\powershell.exe -InputFormat none -NoProfile -ExecutionPolicy unrestricted -Command "& '%SystemDrive%\windows\temp\InstallChocolatey.ps1' %*" |
This file contains 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 characters
$ cat Vagrantfile | |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
#config.vm.provision :shell, :inline => "echo Hello" | |
config.vm.define :web do |web| | |
web.vm.box = "centos65fusion" |
This file contains 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 characters
# follwing this: http://blog.aaronorosen.com/building-a-multi-tier-application-with-openstack/ | |
vagrant@precise64:/etc/quantum$ quantum net-list | |
+--------------------------------------+---------+--------------------------------------------------+ | |
| id | name | subnets | | |
+--------------------------------------+---------+--------------------------------------------------+ | |
| 1583e72d-2ab1-4746-9d72-fea6cca16d41 | private | 93765661-e07e-4a6d-bb67-fe9a46d77849 10.0.0.0/24 | | |
| cfba85ab-0cb0-496e-82b5-bdb008e584e4 | public | 1c95411d-a5ba-44e0-9a46-98e342a3f331 | | |
+--------------------------------------+---------+--------------------------------------------------+ |
This file contains 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 characters
# | |
# accidentally added a second IP range that is the same as an existing one, so am trying to remove it | |
# | |
vagrant@precise64:~$ alias q | |
alias q='quantum' | |
vagrant@precise64:~$ q router-delete router2 | |
Router 3a411220-530d-4a5e-828c-8063233540da still has active ports | |
vagrant@precise64:~$ q port-list |
This file contains 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 characters
$ vagrant up apis --provider=vmware_fusion | |
Bringing machine 'apis' up with 'vmware_fusion' provider... | |
[apis] Verifying vmnet devices are healthy... | |
The VMware network device 'vmnet2' can't be started because | |
its routes collide with another device: 'vboxnet'. Please | |
either fix the settings of the VMware network device or stop the | |
colliding device. Your machine can't be started while VMware | |
networking is broken. | |
# |
This file contains 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 characters
nova01 | |
keystone01 | |
mysql01 | |
neutron01 | |
nova-compute-ironic01 | |
nova-compute-kvm01 | |
glance01 | |
haproxy01 | |
horizon01 | |
rabbitmq01 |
This file contains 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 characters
SNIP! | |
Target: pre-install.d | |
Script Seconds | |
--------------------------------------- ---------- | |
00-disable-apt-recommends 0.004 | |
00-remove-apt-xapian-index 1.807 | |
00-remove-grub 0.018 | |
01-dib-python 0.003 |
This file contains 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 characters
SNIP! | |
exec(code, globals, locals) | |
File "/tmp/easy_install-hnt0j3m_/urllib3-1.18/setup.py", line 67, in <module> | |
File "/usr/lib64/python3.4/distutils/core.py", line 114, in setup | |
(attrs['name'], msg)) | |
SystemExit: error in urllib3 setup command: Invalid environment marker: python_version <= "2.7" |
This file contains 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 characters
(venv)[curtis@ash oodle]$ ./bin/vxlan-network.sh t4 | |
INFO: network name is t4-net | |
INFO: subnet name is t4-subnet | |
Created a new network: | |
+---------------------------+--------------------------------------+ | |
| Field | Value | | |
+---------------------------+--------------------------------------+ | |
| admin_state_up | True | | |
| availability_zone_hints | | | |
| availability_zones | | |
This file contains 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 characters
# This is an example octavia.conf from a devstack install | |
[DEFAULT] | |
transport_url = rabbit://stackrabbit:secretrabbit@10.101.0.144:5672/ | |
api_handler = queue_producer | |
bind_host = 10.101.0.144 | |
[api_settings] | |
[database] | |
connection = mysql+pymysql://root:secretdatabase@127.0.0.1:3306/octavia | |
[health_manager] | |
bind_port = 5555 |