Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Sorin Sbarnea ssbarnea

🏠
Working from home
Block or report user

Report or block ssbarnea

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View change.diff
diff --git a/.travis.yml b/.travis.yml
index 7f4d3d8c..974e7496 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,587 +9,586 @@ cache:
bundler: true
pip: true
directories:
- - $HOME/.cache/pre-commit
- - $HOME/.pre-commit
View tox-ssl-failure.log
$ tox -e lower-constraints [17:42:24]
lower-constraints recreate: /Users/ssbarnea/rdo/python-tripleoclient/.tox/lower-constraints
lower-constraints installdeps: -c/Users/ssbarnea/rdo/python-tripleoclient/lower-constraints.txt, -r/Users/ssbarnea/rdo/python-tripleoclient/test-requirements.txt, -r/Users/ssbarnea/rdo/python-tripleoclient/requirements.txt
ERROR: invocation failed (exit code 1), logfile: /Users/ssbarnea/rdo/python-tripleoclient/.tox/lower-constraints/log/lower-constraints-1.log
ERROR: actionid: lower-constraints
msg: getenv
cmdargs: '/Users/ssbarnea/rdo/python-tripleoclient/.tox/lower-constraints/bin/pip install -c/Users/ssbarnea/rdo/python-tripleoclient/lower-constraints.txt -r/Users/ssbarnea/rdo/python-tripleoclient/test-requirements.txt -r/Users/ssbarnea/rdo/python-
View molecule-fedora-rawhide-error.log
TASK [Build an Ansible compatible image] ***************************************
task path: /Users/ssbarnea/rdo/tripleo-quickstart/.tox/molecule/lib/python2.7/site-packages/molecule/provisioner/ansible/playbooks/docker/create.yml:37
Wednesday 02 January 2019 15:10:35 +0000 (0:00:01.447) 0:00:03.463 *****
Using module file /Users/ssbarnea/rdo/tripleo-quickstart/.tox/molecule/lib/python2.7/site-packages/ansible/modules/cloud/docker/docker_image.py
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: ssbarnea
<127.0.0.1> EXEC /bin/sh -c 'echo ~ssbarnea && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441835.99-136952034710328 `" && echo ansible-tmp-1546441835.99-136952034710328="` echo /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441835.99-136952034710328 `" ) && sleep 0'
<127.0.0.1> PUT /Users/ssbarnea/.ansible/tmp/ansible-local-23710Fpfs2n/tmp3n2BMz TO /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441835.99-13
View ssl-request-transparent-proxy.txt
Summary.
It seems that request does not work with HTTPS proxies because it fails to load the REQUEST_CA_BUNDLE (or fails to validate the certificates from the proxy).
I am sure that the proxy signs correctly because the same bundle is configured because both SSL_CERT_FILE and REQUEST_CA_BUNDLE point to the same file and curl works file.
## Expected Result
View pyenv-repro.sh
#!/usr/bin/env bash
set -exo pipefail
export PIP_INSTALL_UPDATE_CHECK=0
pyenv local 3.7.0
pip3 uninstall -y pycrypto
pip3 install pycrypto
python3 -c """
import sysconfig;
import json;
print(json.dumps(sysconfig.get_config_vars(), indent=2));
@ssbarnea
ssbarnea / acme_issuecert.log
Created Oct 6, 2018
netgate acme cert failure
View acme_issuecert.log
cat /tmp/acme/example.com/acme_issuecert.log
readlink exists=0
dirname exists=0
Lets find script dir.
_SCRIPT_='/usr/local/pkg/acme/acme.sh'
_script='/usr/local/pkg/acme/acme.sh'
_script_home='/usr/local/pkg/acme'
Using config home:/tmp/acme/example.com/
APP
View ansible-silenced-sync.yaml
#!/usr/bin/env ansible-playbook
- hosts: localhost
tasks:
- synchronize:
src: ~/bin
dest: ~/out
register: result
no_log: result is success
- copy:
View output-reproducer-cr-581788.log
ssbarnea@leno: ~/rdo/581788 $ ./reproducer-quickstart.sh [12:09:15]
+ [[ singlenode-featureset003 == *\o\v\b\-\f\a\k\e\h\a\-\c\a\s\e\r\v\e\r* ]]
+ [[ singlenode-featureset003 == *\o\v\b* ]]
+ set -x
+ export WORKSPACE
+ export ZUUL_CHANGES
+ mkdir -p /tmp/reproduce-tmp.GmSwJ
+ cd /tmp/reproduce-tmp.GmSwJ
+ rm -rf tripleo-quickstart tripleo-quickstart-extras
+ git clone https://github.com/openstack/tripleo-quickstart
View keybase.md

Keybase proof

I hereby claim:

  • I am ssbarnea on github.
  • I am ssbarnea (https://keybase.io/ssbarnea) on keybase.
  • I have a public key ASBVkV5mwSqEyQFwAkaBKEjRb13aNIIUqRNVP70dX5QWTwo

To claim this, I am signing this object:

You can’t perform that action at this time.