Creating Trusty cloud images with diskimage-builder causes metadata connection problems [closed]

asked 2015-04-08 04:05:48 -0500

ogzy gravatar image

I am trying to build an Ubuntu image with murano-agent and Docker elements. Somehow the regular cloud image at the Ubuntu site works without errors on my devstack though when i build the custom image with murano-agent and Docker, i get http://169.254.269..254 connection errors.

Here is what i did

$ export GITDIR=~/git $ mkdir -p $GITDIR $ cd $GITDIR $ git clone https://github.com/stackforge/murano $ git clone https://github.com/stachforge/murano-... $ git clone https://github.com/openstack/diskimag... $ cd $GITDIR/diskimage-builder $ git fetch https://review.openstack.org/openstac... refs/changes/02/168002/2 && git checkout FETCH_HEAD $ sudo apt-get install qemu-utils curl python-tox $ export ELEMENTS_PATH=$GITDIR/murano/contrib/elements:$GITDIR/murano-agent/contrib/elements $ cd $GITDIR/diskimage-builder $ tox -e venv -- disk-image-create -a amd64 vm ubuntu docker murano-agent -o ../murano-agent.qcow2

and here is the nova console-log part

ci-info: +-------+-------------+----------+---------------+-----------+-------+ ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags | ci-info: +-------+-------------+----------+---------------+-----------+-------+ ci-info: | 0 | 0.0.0.0 | 10.0.0.1 | 0.0.0.0 | eth0 | UG | ci-info: | 1 | 10.0.0.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U | ci-info: +-------+-------------+----------+---------------+-----------+-------+ 2015-04-08 08:55:33,834 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [50/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7fb5873ef550="">, 'Connection to 169.254.169.254 timed out. (connect timeout=50.0)')] 2015-04-08 08:56:25,067 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [102/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7fb5873b2e50="">, 'Connection to 169.254.169.254 timed out. (connect timeout=50.0)')] 2015-04-08 08:56:42,137 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [119/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7fb5873ef410="">, 'Connection to 169.254.169.254 timed out. (connect timeout=16.0)')] 2015-04-08 08:56:43,148 - DataSourceEc2.py[CRITICAL]: Giving up on md from ['http://169.254.169.254/2009-04-04/meta-data/instance-id'] after 120 second

Any idea what can be the problem?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by omar-munoz
close date 2015-04-08 09:28:46.025281