Skip to content

Instantly share code, notes, and snippets.

View ccollicutt's full-sized avatar

curtis ccollicutt

View GitHub Profile
#
# 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.
#
[root@swift-proxy-01 log]# tail messages
Apr 9 15:06:23 swift-proxy-01 proxy-server: Retrying on HTTP connection exception: [Errno 1] _ssl.c:492: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Apr 9 15:06:25 swift-proxy-01 proxy-server: HTTP connection exception: [Errno 1] _ssl.c:492: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Apr 9 15:06:25 swift-proxy-01 proxy-server: Authorization failed for token bceaeee1abfd47578c3103d76ef66c4e
Apr 9 15:06:25 swift-proxy-01 proxy-server: Invalid user token - deferring reject downstream
Apr 9 15:06:26 swift-proxy-01 proxy-server: Retrying on HTTP connection exception: [Errno 1] _ssl.c:492: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Apr 9 15:06:27 swift-proxy-01 proxy-server: Retrying on HTTP connection exception: [Errno 1] _ssl.c:492: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Apr 9 15:06:28 swift-proxy-01 proxy-ser
REQ: curl -i 'http://127.0.0.1:8774/v1.1/flavors/' -X GET -H "X-Auth-Project-Id: serverascode" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: 0011223344556677"
RESP: [200] {'date': 'Mon, 07 Jul 2014 15:38:48 GMT', 'content-length': '758', 'content-type': 'application/json', 'x-powered-by': 'go-json-rest'}
RESP BODY: {
"flavors": [
{
"flavor": {
"id": 1,
"name": "m1",
"ram": 512,
015-06-09 13:29:48.151 TRACE oslo.messaging._drivers.impl_rabbit File "/usr/local/lib/python2.7/dist-packages/amqp/channel.py", line 1258, in queue_declare
2015-06-09 13:29:48.151 TRACE oslo.messaging._drivers.impl_rabbit (50, 11), # Channel.queue_declare_ok
2015-06-09 13:29:48.151 TRACE oslo.messaging._drivers.impl_rabbit File "/usr/local/lib/python2.7/dist-packages/amqp/abstract_channel.py", line 69, in wait
2015-06-09 13:29:48.151 TRACE oslo.messaging._drivers.impl_rabbit return self.dispatch_method(method_sig, args, content)
2015-06-09 13:29:48.151 TRACE oslo.messaging._drivers.impl_rabbit File "/usr/local/lib/python2.7/dist-packages/amqp/abstract_channel.py", line 87, in dispatch_method
2015-06-09 13:29:48.151 TRACE oslo.messaging._drivers.impl_rabbit return amqp_method(self, args)
2015-06-09 13:29:48.151 TRACE oslo.messaging._drivers.impl_rabbit File "/usr/local/lib/python2.7/dist-packages/amqp/channel.py", line 241, in _close
2015-06-09 13:29:48.151 TRACE oslo.messaging._drivers.im
@ccollicutt
ccollicutt / sysbench-install.yml
Last active November 18, 2019 13:32
Quick Ansible playbook to deploy newest sysbench to an Ubuntu Trusty 14.04 server
---
- hosts:
- mysql-client
vars:
- sysbench_source_location: "/usr/local/src/sysbench"
tasks:
- name: install percona apt key
apt_key:
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 | |