Failed to deploy Openstack - Local repositories corrupted
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/
In deployment logs I find various error regarding fetching packages because their size mismatch:
E: Failed to fetch http://
So I check it and I count more than 200 empty files in local repo /var/www/
[root@fuelmos7 ubuntu]# find . -type f -size 0 | wc
223 223 19668
[root@fuelmos7 ~]# ls -altrh /var/www/
total 8,0K
-rwxr-xr-x. 1 root root 0 4 févr. 09:45 python-
-rwxr-xr-x. 1 root root 0 4 févr. 09:45 python3-
Workarounds ?
------------
I tried this one but not successfull, same result:
https:/
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://
A snapshot is attached.
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 |
description: | updated |
Changed in fuel: | |
status: | Confirmed → Invalid |
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: pbr/python* /var/www/ nailgun/ 2015.1. 0-7.0/ubuntu/ x86_64/ pool/main/ p/python- pbr/ pbr/python3- pbr_0.10. 0-0u~u14. 04+mos2_ all.deb' : Input/output error pbr/python- pbr_0.10. 0-0u~u14. 04+mos2_ all.deb' : Input/output error
[root@fuelmos7 main]# cp p/python-
cp: reading `p/python-
cp: reading `p/python-
So, in doubt, I check my media integrity and get a wrong checksum...
/vmfs/volumes/ 53061c80- 05fc8665- e127-00259030b7 68/ISO # md5sum MirantisOpenSta ck-7.0. iso 40064028df99098 89 MirantisOpenSta ck-7.0. iso
89e073de5f5a518
...instead of 4548cc07dcf733d 1a7364bf1c97859 0a
So I could suggest to others with same kind of problems, never forget to confirm the integrity of your downloading media...
Rgds