Custom Search

Monday, October 5, 2015

How To Install Stable OpenStack Liberty In Ubuntu Using Devstack

1)
$git clone https://github.com/openstack-dev/devstack.git -b stable/liberty

2)
$cd devsack
$./stack.sh


1 comment:

  1. Got error while installing:
    + timeout=0
    + timeout -s SIGINT 0 git clone git://git.openstack.org/openstack/requirements.git /opt/stack/requirements
    Cloning into '/opt/stack/requirements'...
    fatal: unable to connect to git.openstack.org:
    git.openstack.org[0: 104.130.246.128]: errno=Connection timed out
    git.openstack.org[1: 2001:4800:7819:103:be76:4eff:fe06:63c]: errno=Network is unreachable

    + [[ 128 -ne 124 ]]
    + die 578 'git call failed: [git clone' git://git.openstack.org/openstack/requirements.git '/opt/stack/requirements]'
    + local exitcode=0
    + set +o xtrace
    [Call Trace]
    ./stack.sh:680:git_clone
    /home/rajeev/devstack/functions-common:512:git_timed
    /home/rajeev/devstack/functions-common:578:die
    [ERROR] /home/rajeev/devstack/functions-common:578 git call failed: [git clone git://git.openstack.org/openstack/requirements.git /opt/stack/requirements]
    Error on exit
    World dumping... see /opt/stack/logs/worlddump-2015-12-04-091307.txt for details
    rajeev@bng-vhost235-dcbg:~/devstack$ cd /opt/stack/logs
    rajeev@bng-vhost235-dcbg:/opt/stack/logs$ ls
    error.log worlddump-2015-12-04-090600.txt worlddump-2015-12-04-091307.txt
    rajeev@bng-vhost235-dcbg:/opt/stack/logs$ vi worlddump-2015-12-04-091307.txt
    rajeev@bng-vhost235-dcbg:/opt/stack/logs$ ping 104.130.246.128
    PING 104.130.246.128 (104.130.246.128) 56(84) bytes of data.
    64 bytes from 104.130.246.128: icmp_seq=1 ttl=23 time=266 ms
    64 bytes from 104.130.246.128: icmp_seq=2 ttl=23 time=271 ms
    64 bytes from 104.130.246.128: icmp_seq=3 ttl=23 time=261 ms
    64 bytes from 104.130.246.128: icmp_seq=4 ttl=23 time=261 ms
    64 bytes from 104.130.246.128: icmp_seq=5 ttl=23 time=261 ms
    64 bytes from 104.130.246.128: icmp_seq=6 ttl=23 time=261 ms
    ^C
    --- 104.130.246.128 ping statistics ---
    6 packets transmitted, 6 received, 0% packet loss, time 5006ms
    rtt min/avg/max/mdev = 261.681/264.043/271.098/3.581 ms
    rajeev@bng-vhost235-dcbg:/opt/stack/logs$ ping git.openstack.org
    PING git.openstack.org (104.130.246.128) 56(84) bytes of data.
    64 bytes from git.openstack.org (104.130.246.128): icmp_seq=1 ttl=23 time=262 ms
    64 bytes from git.openstack.org (104.130.246.128): icmp_seq=2 ttl=23 time=263 ms
    64 bytes from git.openstack.org (104.130.246.128): icmp_seq=3 ttl=23 time=268 ms
    64 bytes from git.openstack.org (104.130.246.128): icmp_seq=4 ttl=23 time=269 ms
    ^C
    --- git.openstack.org ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3001ms
    rtt min/avg/max/mdev = 262.277/265.938/269.323/2.940 ms
    rajeev@bng-vhost235-dcbg:/opt/stack/logs$

    ReplyDelete