2016-10-02 251 views
4

error message麻烦通过

我面临的一个问题,同时通过devstack脚本在我的Ubuntu LTS 15 OpenStack的安装脚本devstack安装OpenStack的。

它说:

sorry, but this version only supports 100 named groups" AssertionError: sorry, but this version only supports 100 named groups ---------------------------------------- Rolling back uninstall of cryptography

+0

[加密Asse田:对不起,这个版本只支持100个指定团体]的可能的复制(http://stackoverflow.com/questions/39829473/cryptography-assertionerror-sorry-but-this-version -only-supports-100-named-gro) –

回答

3

这是一个与蟒蛇pycparser lib中的问题,通过在requirements.txt文件或通过PIP设置pycparser == 2.13安装以前的版本。

7

嗨,这是由于pypi今天pycparser 2.14包更新。更多细节可以在[1]和[2]中找到。

[1] http://lists.openstack.org/pipermail/openstack-dev/2016-October/104909.html
[2] https://github.com/eliben/pycparser/issues/147

解决方法,以/opt/stack/requirements/upper-constraints.txt到“pycparser修复它是改变 “pycparser === 2.14” == = 2.13“

使用pip更改版本将不起作用,因为DevStack将卸载2.13版本并将其更新到2.14,如上述文件中所要求的那样。

============================================== ========================== 10/4(JST)更新: 根据[2]中的更新,此错误已被解决。 :)

1

我有同样的问题,我删除“pycparser”包后解决此问题,使用下面的命令:

pip uninstall pycparser 
+0

在Debian 8上安装[cryptography](https://cryptography.io/en/latest/)时,这对我有效 – bennos

0

pycparser源包不存在这个问题,只是车轮似乎失败。 在您的安装命令或需求文件中使用--no-binary也应该使其工作。

我在我的需求文件末尾添加了--no-binary pycparser,它完成了这项工作。

0

只需添加这使得它可以帮助别人......

我们Devstack也失败了,因为这个pycparser错误的。我们刚刚在requirements.txt/upper_requirement.txt中将pycparser降级到2.13,并在local.conf中禁用'tempest'服务(该服务将安装cryptography和pycparser)。在此之后,我们的Devstack安装成功。

注意:在local.conf文件中注释'RECLONE = yes'行。

感谢