Skip to content

Instantly share code, notes, and snippets.

View ccollicutt's full-sized avatar

curtis ccollicutt

View GitHub Profile
$ 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' %*"
@ccollicutt
ccollicutt / Vagrantfile
Last active December 15, 2015 10:49
Vagrant + vmware fusion errors
$ 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"
@ccollicutt
ccollicutt / quantum!
Last active December 15, 2015 19:38
working with quantum in openstack grizzly
# 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 |
+--------------------------------------+---------+--------------------------------------------------+
#
# 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
$ 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.
#
nova01
keystone01
mysql01
neutron01
nova-compute-ironic01
nova-compute-kvm01
glance01
haproxy01
horizon01
rabbitmq01
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
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"
@ccollicutt
ccollicutt / karaf.log
Last active January 4, 2017 20:49
When adding a vxlan I get these results
(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 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