Failed to deploy Openstack - Local repositories corrupted

Bug #1541843 reported by Laurent
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Valeriy Saharov

Bug Description

Description of problem
----------------------------------
Installation of fuel is ok but I´m unable to deploy Openstack.

Versions
------------
Tried on Ubuntu 12.04, 12.10, 14.04 (and CentOS and Debian not supported) with Virtuabox 4.3.34
Tried on VMware 5.5

Attempts
------------
   -Tried with various options, with or without Neutron, Ceilometer, Ceph etc etc... nOK
   -Tried to install MOS with scripts or by hand (virtualbox) nOK
   -Tried to deploy with experimental Ubuntu 14.04 bootstrap nOK

To be sure my environment is not guilty, I tried with MOS 6.1 and I was able to deploy Openstack without any pro

Troubleshooting
------------
Always same errors:

On Fuel webgui I am informed that the build of image is failed:
Failed to execute hook 'shell' command: cd / && fa_build_image --image_build_dir /var/lib/fuel/ibp --log-file /var/log/fuel-agent-env-1.log

In deployment logs I find various error regarding fetching packages because their size mismatch:
E: Failed to fetch http://10.20.0.2:8080/2015.1.0-7.0/ubuntu/x86_64/pool/main/p/python-pbr/python-pbr_0.10.0-0u~u14.04+mos2_all.deb Size mismatch

So I check it and I count more than 200 empty files in local repo /var/www/nailgun/2015.1.0-7.0/ubuntu :
[root@fuelmos7 ubuntu]# find . -type f -size 0 | wc
    223 223 19668

[root@fuelmos7 ~]# ls -altrh /var/www/nailgun/2015.1.0-7.0/ubuntu/x86_64/pool/main/p/python-pbr/
total 8,0K
-rwxr-xr-x. 1 root root 0 4 févr. 09:45 python-pbr_0.10.0-0u~u14.04+mos2_all.deb
-rwxr-xr-x. 1 root root 0 4 févr. 09:45 python3-pbr_0.10.0-0u~u14.04+mos2_all.deb

Workarounds ?
------------

I tried this one but not successfull, same result:
https://bugs.launchpad.net/fuel/+bug/1528498/comments/8

I tried fuel-createmirror, but not successfull

I have the idea to rsync the MOS repo to ¨repare¨ my local repo but I don´t know which url I can use for it. I found this:
http://obs-1.mirantis.com:82/trusty-fuel-7.0-stable/reprepro/pool/main/

A snapshot is attached.

Tags: area-library
Revision history for this message
Laurent (ljurent) wrote :
Laurent (ljurent)
description: updated
Changed in fuel:
assignee: nobody → Valeriy Saharov (vsakharov)
milestone: none → 7.0-updates
importance: Undecided → High
status: New → Confirmed
tags: added: area-library
Laurent (ljurent)
description: updated
Revision history for this message
Laurent (ljurent) wrote :

Hi guys.

You can close this bug but maybe keep trace for others.

I find my root cause that was "simply" coming from a bad ISO media.

To confirm this I tried to copy missing files from my ISO and get the following errors:
[root@fuelmos7 main]# cp p/python-pbr/python* /var/www/nailgun/2015.1.0-7.0/ubuntu/x86_64/pool/main/p/python-pbr/
cp: reading `p/python-pbr/python3-pbr_0.10.0-0u~u14.04+mos2_all.deb': Input/output error
cp: reading `p/python-pbr/python-pbr_0.10.0-0u~u14.04+mos2_all.deb': Input/output error

So, in doubt, I check my media integrity and get a wrong checksum...

/vmfs/volumes/53061c80-05fc8665-e127-00259030b768/ISO # md5sum MirantisOpenStack-7.0.iso
89e073de5f5a51840064028df9909889 MirantisOpenStack-7.0.iso

...instead of 4548cc07dcf733d1a7364bf1c978590a

So I could suggest to others with same kind of problems, never forget to confirm the integrity of your downloading media...

Rgds

Changed in fuel:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.