Regardless of whether you use Unbunt 14 or Ubuntu 15, or CentOS 7.1, when you run the stack.sh script to generate Devstack, each time the error is returned in a step similar to the following, only different versions, each time the package is not the same
2015-12-10 22:38:18.381 | Collecting requests===2.8.1 (from-c/opt/stack/requirements/upper-constraints.txt (line 292))
2015-12-10 22:38:18.769 | Using Cached REQUESTS-2.8.1-PY2.PY3-NONE-ANY.WHL
2015-12-10 22:38:18.771 | Hash of the package https://pypi.python.org/packages/2.7/r/requests/requests-2.8.1-py2.py3-none-any.whl#md5= 46f1d621daa3ab38958a42f51478b1ee (from https://pypi.python.org/simple/requests/) ( 5d5ef94a1326de1ca405c3f791c09165) doesn ' t match the expected hash 46f1d621daa3ab38958a42f51478b1ee!
2015-12-10 22:38:18.804 | Bad MD5 hash for package https://pypi.python.org/packages/2.7/r/requests/requests-2.8.1-py2.py3-none-any.whl#md5= 46f1d621daa3ab38958a42f51478b1ee (from https://pypi.python.org/simple/requests/)
Also checked the TMP under the cache good package MD5 really wrong, online check is to use PIP Isntall alone install this bag, but this method tried also not, or not.
See the PIP command has a--no-cache-dir option, so find a stack.sh call pip install this command script, add this option to try
[[email protected] devstack]$ Find/-type f |xargs grep pip_install
Binary file./.git/objects/pack/pack-80e40171dd403496ca97e8059d45d050ed4a79da.pack matches
./inc/python:# Pip_install_gr PackageName
./inc/python:function Pip_install_gr {
./inc/python:pip_install $clean _name
./inc/python:# Pip_install Package [package ...]
./inc/python:function Pip_install {
Functions in the VI ~/devstack/inc/python file
function Pip_install
Locate the PIP Install command and add the "--no-cache-dir" option
cmd_pip= "$cmd _pip install--no-cache-dir"
Save exit, stack.sh smooth execution completed
This article is from the "Zhoulibo" blog, make sure to keep this source http://zhoulibo.blog.51cto.com/684914/1721724
OpenStack Devstack bad MD5 hash for package