aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2016-03-26 10:11:32 -0700
committerSteven Dake <stdake@cisco.com>2016-03-26 22:23:35 -0700
commita78934672738ffc3a74495172534ed50c6f7f658 (patch)
treeff9cf911eca9bb7e01caec7542d0724475c2f947 /dev
parentbd5d38ef3c4514783231b15550ad4d02d066da35 (diff)
downloadkolla-a78934672738ffc3a74495172534ed50c6f7f658.tar.gz
kolla-a78934672738ffc3a74495172534ed50c6f7f658.zip
Fix gate to use world writeable docker socket
A recent change related to sudo securepath broke how sudo -E works. Now the PATH is reset by sudo as set by tox. As a result we can no longer rely on sudo -E anywhere in our gating system relating to path inheritence from the parent shell. This patch uses a shell operation in the setup_nodes.yml code to chmod the docker socket to 666 so docker containers can build properly. Now docker operations don't return a permission denied and we no longer require the sudo -E operation in any of our tox scripts. This isn't a security vulnerability because our gate scripts are only meant to be run in OpenStack infrastructure. To make this more clear I recommend moving these shell scripts to tests/gate. Change-Id: I5b3d6e280e3c12a25defedb14b5589ba642043fa Closes-Bug: #1562383
Diffstat (limited to 'dev')
0 files changed, 0 insertions, 0 deletions