【问题标题】:Openstack devstack installation stalls with git call failureOpenstack devstack 安装因 git 调用失败而停止
【发布时间】:2014-09-16 10:39:47
【问题描述】:

所以我的 Openstack Devstack 安装因以下错误而停止:

./stack.sh:686:install_infra /home/mycloud/devstack/lib/infra:45:git_clone /home/mycloud/devstack/functions-common:545:git_timed /home/mycloud/devstack/functions-common:599:die [错误] /home/mycloud/devstack/functions-common:599 git 调用失败:[git clone git://git.openstack.org/openstack/requirements.git /opt/stack/requirements]

经过一番谷歌搜索后的解决方案在这里找到:Installing Openstack errors ...而且它有效。

我的问题是,如果安装了 git 并且与存储库(以及 Internet 的其余部分)的连接存在,什么会导致“git”调用失败而“https”调用失败?

【问题讨论】:

    标签: git openstack devstack


    【解决方案1】:

    如果 GIT 端口在防火墙上被阻止,您还可以通过修改 devstack 中的 stackrc 文件来更改安装。你可以换行:

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

    到:

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

    或者你也可以试试http:

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

    【讨论】:

      【解决方案2】:

      可能是防火墙问题。 git:// 协议运行在 9418 端口,而 https:// 使用 443 端口。80 和 443 端口在防火墙中通常是开放的,其他端口可能需要配置。

      欲了解更多信息:http://git-scm.com/book/en/Git-on-the-Server-The-Protocols#The-Git-Protocol

      【讨论】:

        猜你喜欢
        • 2023-03-14
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多