Comment 1 for bug 1518652

Revision history for this message
David Moreau Simard (dmsimard) wrote :

It looks like the culprit is sudo:
https://github.com/openstack/kolla/blob/00b7794f3ef463cd40f1fbabefd0e3180fd7c325/tox.ini#L45

Surely the virutalenv settings are lost in the process.
Removing sudo from the command in an environment where the user is member of the docker group yields a successful build.

In the gate setup, instead of adding jenkins as a sudoers for the docker group, couldn't we add him to the docker group outright instead and drop the sudo from tox ?