Activity log for bug #1580777

Date Who What changed Old value New value Message
2016-05-11 20:44:08 Stephane Miller bug added bug
2016-05-12 18:06:37 Stephane Miller summary Gate is broken due to missing pycrypto dependency We are maintaining ansible dependencies in requirements.txt
2016-05-12 18:24:10 Stephane Miller description We're seeing the following error in our gate checks: + ansible-playbook -vvvv -i inventory/localhost test-bifrost-create-vm.yaml --syntax-check --list-tasks Unexpected Exception: The 'pycrypto>=2.6' distribution was not found and is required by ansible This is because pycrypto needs to be added to bifrost's dependencies. We're seeing the following error in our gate checks: + ansible-playbook -vvvv -i inventory/localhost test-bifrost-create-vm.yaml --syntax-check --list-tasks Unexpected Exception: The 'pycrypto>=2.6' distribution was not found and is required by ansible This is a side effect of how we install ansible by default. Currently, we clone the ansible repository, and use its hacking/env-setup script to set up the environment to run ansible from the checkout. This means that ansible's dependencies do not get installed, as they would if we installed ansible from pip. This also preserves the user's existing ansible installation on the system - useful if they have a different version they wish to keep, etc. We have been maintaining ansible's dependencies in our requirements.txt but this is perhaps not an ideal way to proceed, particularly as ansible continues to add dependencies. However, in the short term, we don't want to change things abruptly for the user. We should address this in the short term by adding the pycrypto dependency, but revisit this and opt either to pip install ansible for the user if a suitable version is not present, handle dependency installation in our env-setup.sh bootstrapping script, or another solution TBD.
2016-05-12 21:55:19 Stephane Miller bifrost: importance Critical High
2016-06-08 19:02:01 Stephane Miller bifrost: status New Won't Fix