In Part 1 of Troubleshooting Mirantis Fuel, it was discovered that
OpenStack installation failed because the nodes could not reach
the internet. To remedy this, an APT mirror was setup using the
fuel-createmirror was executed, it failed. The error message was:
* INFO: Resolving dependencies for partial mirror * FATAL: Cannot calculate list of dependencies
An internet search was done to understand how to enable Fuel createmirror debugs.
On the Fuel master node, in
DEBUG flag in
mos-ubuntu.cfg was changed to
sudo fuel-createmirror was run again. The true source of the error
* INFO: Resolving dependencies for partial mirror Fetching '//dists/trusty-updates/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64//initrd.gz' to '/var/www/nailgun/ubuntu-full//dists/trusty-updates/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/' with params ''...OK * DEBUG: Detected debian-installer kernel version: 3.13.0-67-generic Unable to find image 'ubuntu:latest' locally Pulling repository ubuntu time="2016-02-08T14:54:14Z" level="fatal" msg="Could not reach any registry endpoint" Error: No such image or container: fuel-createmirror Could not get docker ID for container fuel-createmirror. Is it running? Could not get docker ID for fuel-createmirror. Is it running? * FATAL: Cannot calculate list of dependencies * FATAL: Creation of Ubuntu mirror FAILED, check logs at /var/log/mirror-sync
fuel-createmirror was trying to install the
ubuntu:latest docker container.
It fails to pull this container. fuel-createmirror
The fix is to apply the workaround which was integrated in the vagrant provisioning script.
wget http://mirror.fuel-infra.org/docker/ubuntu.trusty.tar.xz -O /tmp/ubuntu.trusty.tar.xz sudo docker load -i /tmp/ubuntu.trusty.tar.xz sudo fuel-creatmirror
The Openstack Environment was reset via the Fuel GUI, and the install repeated. There is a Reset Environment button on the homepage of the Openstack environment.