Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="ForceHttps" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>
New python executable in virtualenv/bin/python
Installing Setuptools..............................................................................................................................................................................................................................done.
Installing Pip.....................................................................................................................................................................................................................................................................................................................................done.
Downloading/unpacking wheel
Downloading wheel-0.24.0.tar.gz (50kB): 50kB downloaded
Running setup.py egg_info for package wheel
no previously-included directories found matching 'wheel/test/*/dist'
no previously-included directories found matching 'wheel/test/*/build'
Installing collected packages: wheel
@remitaffin
remitaffin / gist:6b424e7eeaeb811a6079
Created April 22, 2015 20:04
syncall - Apr 22, 2015 - No module named nose.plugins
vagrant@ubuntu-14:~$ syncall
>>> Logging in to the Docker registry.
Username (remitaffin):
Login Succeeded
>>> Pulling Docker images.
@remitaffin
remitaffin / gist:7b7d85b99a2988e4bfc4
Created April 20, 2015 22:41
ReplicaSet status()
MongoDB shell version: 2.6.5
connecting to: production
NoodleRS:PRIMARY> rs.status()
{
"set" : "NoodleRS",
"date" : ISODate("2015-04-20T22:41:12Z"),
"myState" : 1,
"members" : [
{
"_id" : 0,
@remitaffin
remitaffin / gist:24a0ead469ae8f0955c2
Created April 20, 2015 22:38
sudo service datadog-agent info
===================
Collector (v 5.2.2)
===================
Status date: 2015-04-20 22:39:31 (13s ago)
Pid: 13470
Platform: Linux-3.2.0-61-virtual-x86_64-with-debian-wheezy-sid
Python Version: 2.7.9
Logs: <stderr>, /var/log/datadog/collector.log, syslog:/dev/log
@remitaffin
remitaffin / gist:cfea9a4f79061f86392e
Created April 20, 2015 22:37
Last 300 lines of prod_mongo_primary (this server has replication on)
File "/opt/datadog-agent/agent/util.py", line 326, in get_tags
iam_role = urllib2.urlopen(EC2.URL + "/iam/security-credentials").read().strip()
File "/opt/datadog-agent/embedded/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/opt/datadog-agent/embedded/lib/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/opt/datadog-agent/embedded/lib/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/opt/datadog-agent/embedded/lib/python2.7/urllib2.py", line 475, in error
return self._call_chain(*args)
vagrant@ubuntu-14:/noodle/dbor_wip$ sudo apt-get install libffi-dev libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssl-dev is already the newest version.
libssl-dev set to manually installed.
The following NEW packages will be installed:
libffi-dev
0 upgraded, 1 newly installed, 0 to remove and 167 not upgraded.
Need to get 99.8 kB of archives.
jenkins@ip-10-178-152-180:~/jobs/11_run_noodleapi_tests/workspace/jenkins$ fig run -T noodleapi bash -c "sleep 2 && python /usr/local/lib/python2.7/dist-packages/pytest.py --ds=settings.test -n 6 -s -m 'not mongotest' --maxfail=1"
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.26 -- pytest-2.6.4
plugins: xdist, django
gw0 I / gw1 I / gw2 I / gw3 I / gw4 I / gw5 I
gw0 [816] / gw1 [816] / gw2 [816] / gw3 [816] / gw4 [816] / gw5 [816]
scheduling tests via LoadScheduling
..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F
jenkins@ip-10-225-132-11:~/jobs/run_noodleapi_tests/workspace/jenkins$ fig run -T noodleapi bash -c "sleep 2 && python /usr/local/lib/python2.7/dist-packages/pytest.py --ds=settings.test -n 6 -s -m 'not mongotest' --maxfail 1"
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.26 -- pytest-2.6.4
plugins: xdist, django
gw0 I / gw1 I / gw2 I / gw3 I / gw4 I / gw5 I
gw0 [815] / gw1 [815] / gw2 [815] / gw3 [815] / gw4 [815] / gw5 [815]
scheduling tests via LoadScheduling
................................................................................................................................................................................................................................................................................................................................................FINTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File "/usr/local/lib/python2.7/dist-packages/_pytest/main.py", line 84, in
jenkins@ip-10-225-132-11:~/jobs/run_noodleapi_tests/workspace/jenkins$ fig run -T noodleapi bash -c "sleep 2 && python /usr/local/lib/python2.7/dist-packages/pytest.py --ds=settings.test -n 6 -s -m 'not mongotest' --maxfail 1"
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.26 -- pytest-2.6.4
plugins: xdist, django
gw0 I / gw1 I / gw2 I / gw3 I / gw4 I / gw5 I
gw0 [371] / gw1 [371] / gw2 [371] / gw3 [371] / gw4 [371] / gw5 [371]
scheduling tests via LoadScheduling
............................................................................................................................................................................................................................................................................................................................................................FINTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File "/usr/local/lib/python2.7/dist-packages/_pytest/main.py",