Installing Openstack errors

前端 未结 7 1895
一个人的身影
一个人的身影 2021-02-06 01:18

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

相关标签:
7条回答
  • 2021-02-06 01:24

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

    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}
    

    Modified setting that should bypass git restrictions:

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

    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

    0 讨论(0)
  • 2021-02-06 01:30

    Sorry, can't help you with your particular error, but in general, the easiest way to install openstack is http://devstack.org/

    Here are a few notes to install it on virgin Ubuntu 12.04 x64 server:

    https://gist.github.com/max-lobur/7786074

    This manual is about OpenStack together with Ironic project, but it won't affect you anyway. And you can omit "Install ironic client" step.

    0 讨论(0)
  • 2021-02-06 01:31

    This is my custom bash script to install openstack ocata. It covers the installation of openstack core projects which includes keystone, nova, glance, nova, neutron and horizon dashboard.

    Please follow the instructions in the document and execute the script in your environment. We can add additional compute node with this script.

    https://github.com/techbhashya/openstack-ocata

    0 讨论(0)
  • 2021-02-06 01:32

    Changing to "http" worked for me.

    0 讨论(0)
  • 2021-02-06 01:32

    Sometimes git:// urls won't work. In such scenario you can use https instead of git. use the following command:

    git config --global url."https://".insteadOf git://
    
    0 讨论(0)
  • 2021-02-06 01:34

    Make change in stackrc :

    -GIT_BASE=${GIT_BASE:-git://git.openstack.org}
    
    +GIT_BASE=${GIT_BASE:-https://www.github.com}
    

    This would solve problem for you.

    0 讨论(0)
提交回复
热议问题