If you are installing OpenStack on a machine, running on Virtual Box, which is connected to a private network (lets say, to company wifi), you might get the following error.
Resolving cdn.download.cirros-cloud.net (cdn.download.cirros-cloud.net)... failed: Name or service not known.
wget: unable to resolve host address 'cdn.download.cirros-cloud.net'
+ exit_trap
+ local r=4
++ jobs -p
+ jobs=
+ [[ -n '' ]]
+ kill_spinner
+ '[' '!' -z '' ']'
+ [[ 4 -ne 0 ]]
+ echo 'Error on exit'
Error on exit
+ ./tools/worlddump.py -d
usage: worlddump.py [-h] [-d DIR]
worlddump.py: error: argument -d/--dir: expected one argument
It is trying to download Cirros OS image. As you can see in the error message, reason might be either the server is down or you are not allowed to access the server.
I tried to install OpenStack on a virtual machine running on virtual box using my company wifi. Installation failed several times with above message. PING is also not working.
Resolving cdn.download.cirros-cloud.net (cdn.download.cirros-cloud.net)... failed: Name or service not known.
wget: unable to resolve host address 'cdn.download.cirros-cloud.net'
+ exit_trap
+ local r=4
++ jobs -p
+ jobs=
+ [[ -n '' ]]
+ kill_spinner
+ '[' '!' -z '' ']'
+ [[ 4 -ne 0 ]]
+ echo 'Error on exit'
Error on exit
+ ./tools/worlddump.py -d
usage: worlddump.py [-h] [-d DIR]
worlddump.py: error: argument -d/--dir: expected one argument
It is trying to download Cirros OS image. As you can see in the error message, reason might be either the server is down or you are not allowed to access the server.
I tried to install OpenStack on a virtual machine running on virtual box using my company wifi. Installation failed several times with above message. PING is also not working.
OR... SOLUTION 3:
ReplyDeleteAdd following to your /etc/hosts file:
124.124.201.153 cdn.download.cirros-cloud.net