安装Openstack错误 [英] Installing Openstack errors

查看:986
本文介绍了安装Openstack错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我没有OpenStack的经验,希望任何能帮助和指导我解决这个问题的人。我在虚拟环境(Ubuntu 12.04)中安装openstack,这样就出来了:
$ b

I have no experience in openstack and would appreciate anyone who can help and guide me with this issue. I'm installing openstack in virtual environment (Ubuntu 12.04) and this came out:



  • git clone git / /git.openstack.org/openstack/requirements.git/opt/stack/reqiurements
    克隆到'/ opt / stack / requirements'中...致命:无法连接到
    git.openstack.org :git.openstack.org [0:192.237.223.224]:
    errno =连接被拒绝git.openstack.org [1:
    2001:4800:7813:516:3bc3:d7f6:ff04:aacb] :errno = Network is
    unreachable


推荐答案

我有同样的问题,git协议在我的测试环境中被阻止。

I had the same problem, the git protocol is blocked in my testing environment.

解决方案是修改devstack中的 sourcerc 文件安装文件夹以使用 https 而不是 git 。你必须寻找那条线并改变它。该文件也被称为 local.conf 文件。

The solution is to modify the sourcerc file in the devstack installation folder to use https instead of git. You have to look for that line and change it. This file is also known as the local.conf file.

源文件中的默认设置:

Default setting in sourcerc file:

GIT_BASE=${GIT_BASE:-git://git.openstack.org}

应该绕过git限制的修改设置:

Modified setting that should bypass git restrictions:

GIT_BASE=${GIT_BASE:-https://git.openstack.org}

只需将此修改后的行添加到DevStack目录中的 local.conf 文件的local / localrc部分,它应该使用HTTPS协议而不是Git协议!有关 local.conf 文件的详细信息 - http://devstack.org/configuration。 HTML

Simply add this modified line to the local/localrc section of your local.conf file in the DevStack directory and it should use the HTTPS protocol instead of the Git protocol! More info on the local.conf file here - http://devstack.org/configuration.html

这篇关于安装Openstack错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆