Ask Your Question
1

DevStack image pull hanging during ./stack.sh

asked 2015-03-21 11:53:18 -0500

jeffrey-olsen gravatar image

updated 2015-03-21 12:05:30 -0500

I'm running into an issue of images are hanging while being pulled into glance during the ./stack.sh build process. I'm using a Vagrant file (link to source on github) and was hoping someone would be able to see something in the logs that I seem to be missing. I know that I could comment them out of the conf. files but would like to see if I can fix the issue without having to go that route. See the code snippet below as a reference as well as the attached file to see the entire run process.

Link to full file

for image_url in '${IMAGE_URLS//,/ }'
2015-03-21 15:53:26.972 | + upload_image https://download.fedoraproject.org/pub/alt/openstack/20/x86_64/Fedora-x86_64-20-20140618-sda.qcow2 704c398727984e99b3c70a9b9e9a5af5
2015-03-21 15:53:26.972 | + local image_url=https://download.fedoraproject.org/pub/alt/openstack/20/x86_64/Fedora-x86_64-20-20140618-sda.qcow2
2015-03-21 15:53:26.973 | + local token=704c398727984e99b3c70a9b9e9a5af5
2015-03-21 15:53:26.973 | + local image image_fname image_name
2015-03-21 15:53:26.973 | + mkdir -p /opt/stack/devstack/files/images
2015-03-21 15:53:26.977 | ++ basename https://download.fedoraproject.org/pub/alt/openstack/20/x86_64/Fedora-x86_64-20-20140618-sda.qcow2
2015-03-21 15:53:26.979 | + image_fname=Fedora-x86_64-20-20140618-sda.qcow2
2015-03-21 15:53:26.979 | + [[ https://download.fedoraproject.org/pub/alt/openstack/20/x86_64/Fedora-x86_64-20-20140618-sda.qcow2 != file* ]]
2015-03-21 15:53:26.979 | + [[ ! -f /opt/stack/devstack/files/Fedora-x86_64-20-20140618-sda.qcow2 ]]
2015-03-21 15:53:26.979 | + wget --progress=dot:giga -c https://download.fedoraproject.org/pub/alt/openstack/20/x86_64/Fedora-x86_64-20-20140618-sda.qcow2 -O /opt/stack/devstack/files/Fedora-x86_64-20-20140618-sda.qcow2
2015-03-21 15:53:26.982 | --2015-03-21 15:53:26--  https://download.fedoraproject.org/pub/alt/openstack/20/x86_64/Fedora-x86_64-20-20140618-sda.qcow2
2015-03-21 15:53:32.150 | Resolving download.fedoraproject.org (download.fedoraproject.org)... 209.132.181.16, 66.35.62.162, 152.19.134.142, ...
2015-03-21 15:53:32.228 | Connecting to download.fedoraproject.org (download.fedoraproject.org)|209.132.181.16|:443... connected.
2015-03-21 15:53:32.586 | HTTP request sent, awaiting response... 302 Found
2015-03-21 15:53:32.586 | Location: http://mirrors.kernel.org/fedora-alt/openstack/20/x86_64/Fedora-x86_64-20-20140618-sda.qcow2 [following]
2015-03-21 15:53:32.587 | --2015-03-21 15:53:32--  http://mirrors.kernel.org/fedora-alt/openstack/20/x86_64/Fedora-x86_64-20-20140618-sda.qcow2
2015-03-21 15:53:32.731 | Resolving mirrors.kernel.org (mirrors.kernel.org)... 149.20.37.36, 198.145.20.143, 2001:4f8:4:6f:0:1994:3:14, ...
2015-03-21 15:53:32.810 | Connecting to mirrors.kernel.org (mirrors.kernel.org)|149.20.37.36|:80... connected.
2015-03-21 15:53:32.888 | HTTP request sent, awaiting response... 200 OK
2015-03-21 15:53:32.891 | Length: 209649664 (200M) [application/octet-stream]
2015-03-21 15:53:32.891 | Saving to: '/opt/stack/devstack/files/Fedora-x86_64-20-20140618-sda.qcow2'
2015-03-21 15:53:33.840 | 
2015-03-21 15:53:51.485 |      0K ........ ........ ........ ........ 16% 1.76M 95s
2015-03-21 15:54:04.573 |  32768K ........ ........ ........ ........ 32% 2.43M 67s
2015-03-21 15:54:18.970 |  65536K ........ ........ ........ ........ 48% 2.24M 49s
2015-03-21 15:54:34.555 |  98304K ........ ........ ........ ........ 64% 2.06M 34s
2015-03-21 15:54:49.338 | 131072K ........ ........ ........ ........ 80 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-03-23 17:01:50 -0500

echiu gravatar image

Try to see if you can download the images directly: wget http://mirrors.kernel.org/fedora-alt/...

It seem to be a network issue, there are many possible causes: 1. your ISP is throttling bandwidth 2. router configuration 3. network instability

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2015-03-21 11:53:18 -0500

Seen: 177 times

Last updated: Mar 23 '15