Failure in IceHouse install

Asked by Bala Venkata

I tried to install IceHouse release on my Ubuntu/Virtualbox (saw the instructions here https://wiki.openstack.org/wiki/DevStackVirtualbox - decided to use IceHouse since that was the latest stable release)

-----------
bvenkata@openstack1:~/devstack$ pwd
/home/bvenkata/devstack
bvenkata@openstack1:~/devstack$ git clone https://github.com/openstack-dev/devstack.git -b stable/icehouse devstack/
-----------

It ends with this:

-----------
[Call Trace]
./stack.sh:686:install_infra
/home/bvenkata/devstack/lib/infra:45:git_clone
/home/bvenkata/devstack/functions-common:545:git_timed
/home/bvenkata/devstack/functions-common:599:die
[ERROR] /home/bvenkata/devstack/functions-common:599 git call failed: [git clone git://git.openstack.org/openstack/requirements.git /opt/stack/requirements]
-----------

More output from my terminal window (don't know if I can install the whole o/p):

--------------------------------------------
....
...
+ echo -e Installing OpenStack project source
Installing OpenStack project source
+ install_infra
+ git_clone git://git.openstack.org/openstack/requirements.git /opt/stack/requirements stable/icehouse
+ GIT_REMOTE=git://git.openstack.org/openstack/requirements.git
+ GIT_DEST=/opt/stack/requirements
+ GIT_REF=stable/icehouse
++ trueorfalse False
+++ set +o
+++ grep xtrace
++ local 'xtrace=set -o xtrace'
++ set +o xtrace
+ RECLONE=False
++ pwd
+ local orig_dir=/home/bvenkata/devstack
+ [[ False = \T\r\u\e ]]
+ echo stable/icehouse
+ egrep -q '^refs'
+ [[ ! -d /opt/stack/requirements ]]
+ [[ False = \T\r\u\e ]]
+ git_timed clone git://git.openstack.org/openstack/requirements.git /opt/stack/requirements
+ local count=0
+ local timeout=0
+ [[ -n 0 ]]
+ 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: 192.237.223.224]: errno=Connection timed out
git.openstack.org[1: 2001:4800:7813:516:3bc3:d7f6:ff04:aacb]: errno=Network is unreachable

+ [[ 128 -ne 124 ]]
+ die 599 '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:686:install_infra
/home/bvenkata/devstack/lib/infra:45:git_clone
/home/bvenkata/devstack/functions-common:545:git_timed
/home/bvenkata/devstack/functions-common:599:die
[ERROR] /home/bvenkata/devstack/functions-common:599 git call failed: [git clone git://git.openstack.org/openstack/requirements.git /opt/stack/requirements]
bvenkata@openstack1:~/devstack$
bvenkata@openstack1:~/devstack

--------------------------------------------

Question information

Language:
French (France) Edit question
Status:
Solved
For:
devstack Edit question
Assignee:
No assignee Edit question
Solved by:
Ashish Chandra
Solved:
Last query:
Last reply:
Revision history for this message
Ritesh (rmadapur-t) said :
#1

Bala,

Do check out if you have access to the internet within the Virtualbox VM.

Do a ping from VM to some external site.

Regards,
Ritesh M

Revision history for this message
Bala Venkata (balavenkata) said :
#2

I can access the internet, Ritesh (sending this message from the VM)...also did a successgul ping:

------------------------------------------------------------------------------------------------
bvenkata@openstack1:~$ ping www.google.com
PING www.google.com (74.125.200.99) 56(84) bytes of data.
64 bytes from sa-in-f99.1e100.net (74.125.200.99): icmp_req=1 ttl=45 time=66.3 ms
64 bytes from sa-in-f99.1e100.net (74.125.200.99): icmp_req=2 ttl=45 time=56.7 ms
64 bytes from sa-in-f99.1e100.net (74.125.200.99): icmp_req=3 ttl=45 time=58.4 ms
^C
--- www.google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 56.741/60.533/66.385/4.202 ms
bvenkata@openstack1:~$

Revision history for this message
Best Ashish Chandra (ashish-chandra) said :
#3

Bala, can you change in stackrc (line no:91 ):

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

This would solve problem for you.

Thanks and Regards
Ashish Chandra

Revision history for this message
Bala Venkata (balavenkata) said :
#4

Thanks Ashish. Problem was resolved. I also noticed that the same has been covered in stackoverflow - adding link for future reference:

http://stackoverflow.com/questions/20390267/installing-openstack-errors

Revision history for this message
Bala Venkata (balavenkata) said :
#5

Thanks Ashish Chandra, that solved my question.

Revision history for this message
maestropandy (maestropandy) said :
#6

if not u can use git instead of https, like

git config --global url."https://github.com/".insteadOf <email address hidden>:
git config --global url."https://".insteadOf git://

Revision history for this message
chico (chico7) said :
#7

thks Ashish Chandra, that solved my question, too.

Revision history for this message
Decardo (deo7) said :
#8

stable/ussuri
Cloning into '/opt/stack/heat'...
warning: redirecting to https://opendev.org/openstack/heat/
fatal: Remote branch stable/ussuri not found in upstream origin
+ functions-common:git_timed:642 : [[ 128 -ne 124 ]]
+ functions-common:git_timed:643 : die 643 'git call failed: [git clone' https://git.openstack.org/openstack/heat /opt/stack/heat --branch 'stable/ussuri]'
+ functions-common:die:198 : local exitcode=0
[Call Trace]
./stack.sh:565:fetch_plugins
/home/stack/devstack/functions-common:1678:git_clone_by_name
/home/stack/devstack/functions-common:619:git_clone
/home/stack/devstack/functions-common:567:git_timed
/home/stack/devstack/functions-common:643:die
[ERROR] /home/stack/devstack/functions-common:643 git call failed: [git clone https://git.openstack.org/openstack/heat /opt/stack/heat --branch stable/ussuri]
Error on exit
ebtables v1.8.4 (nf_tables): table `broute' is incompatible, use 'nft' tool.