fuel-createmirror - doesn't work when created a partial and then full mirror
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Fuel Python (Deprecated) | ||
6.1.x |
Fix Released
|
High
|
Rodion Tikunov | ||
7.0.x |
Fix Released
|
Medium
|
Rodion Tikunov |
Bug Description
Input data
[root@fuel ~]# cat /etc/fuel/
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "6.1"
openstack_
api: "1.0"
build_number: "525"
build_id: "2015-06-
nailgun_sha: "dbd54158812033
python-
astute_sha: "1ea8017fe88894
fuel-library_sha: "2e7a08ad9792c7
fuel-ostf_sha: "8fefcf7c464937
fuelmain_sha: "a3998372183468
Env: Ubuntu, HA, Neutron + Vlan
On every nodes created the /etc/apt/
deb http://
deb http://
deb http://
Steps to reproduce
1. Creating a partial mirror of a repository (run the script fuel-createmirror)
2. Creating a full mirror of a repository
- change the variable PARTIAL_UPSTREAM=0 in the common.cfg configuration file
- run the script fuel-createmirror again
- wait until packages will be downloaded
3. Run the command apt-get update on a node
3. Install package (for example collectd) on node from a local repository which located on the Fuel master node
Expected result: a package will installed successfully
Actual result: we have lots of error
Err http://
E: Failed to fetch http://
...
The next files attached to the bug:
- all files from the directory /opt/fuel-
- a log file /var/log/
root@node-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
cloud-guest-utils eatmydata python-configobj python-oauth python3-pycurl python3-
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
at-spi2-core ca-certificates
hicolor-
libcairo-gobject2 libcairo2 libcanberra-gtk3-0 libcanberra-
libgdk-
libjasper1 libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 liblvm2app2.2 libmemcached10 libmodbus5 libnotify4 libogg0 liboping0 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpcsclite1
libpixman-1-0 libpolkit-agent-1-0 libpolkit-
libtokyotyrant3 libupsclient3 libv4l-0 libv4lconvert0 libvarnishapi1 libvirt0 libvorbis0a libvorbisenc2 libvorbisfile3 libvpx1 libwayland-client0 libwayland-cursor0 libxcb-render0 libxcb-shm0
libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxi6 libxinerama1 libxkbcommon0 libxpm4 libxrandr2 libxrender1 libxtst6 libyajl2 notification-daemon openjdk-
sound-
Suggested packages:
collectd-dev librrds-perl liburi-perl libhtml-parser-perl libregexp-
equivs libasound2-plugins alsa-utils libcanberra-gtk0 libcanberra-pulse cups-common libgd-tools gphoto2 gtkam librsvg2-common gvfs libjasper-runtime liblcms2-utils ttf-baekmuk ttf-arphic-gbsn00lp
ttf-arphic-
fonts-
The following NEW packages will be installed:
at-spi2-core ca-certificates
hicolor-
libcairo-gobject2 libcairo2 libcanberra-gtk3-0 libcanberra-
libgdk-
libjasper1 libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 liblvm2app2.2 libmemcached10 libmodbus5 libnotify4 libogg0 liboping0 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpcsclite1
libpixman-1-0 libpolkit-agent-1-0 libpolkit-
libtokyotyrant3 libupsclient3 libv4l-0 libv4lconvert0 libvarnishapi1 libvirt0 libvorbis0a libvorbisenc2 libvorbisfile3 libvpx1 libwayland-client0 libwayland-cursor0 libxcb-render0 libxcb-shm0
libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxi6 libxinerama1 libxkbcommon0 libxpm4 libxrandr2 libxrender1 libxtst6 libyajl2 notification-daemon openjdk-
sound-
The following packages will be upgraded:
tzdata
1 upgraded, 120 newly installed, 0 to remove and 87 not upgraded.
Need to get 57.2 MB of archives.
After this operation, 133 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://
404 Not Found
Err http://
404 Not Found
Err http://
404 Not Found
Err http://
404 Not Found
...
Also we have the following errors in /var/log/
[root@fuel mirror-sync]# grep InRelease *
Fri Oct 23 22:53:25 UTC 2015 Fetching '/dists/
Fri Oct 23 22:53:36 UTC 2015 Fetching '/dists/
Fri Oct 23 22:53:45 UTC 2015 Fetching '/dists/
Fri Oct 23 22:54:04 UTC 2015 Fetching '/dists/
Changed in fuel: | |
milestone: | none → 8.0 |
assignee: | nobody → Fuel Library Team (fuel-library) |
tags: | added: fuel-createmirror |
tags: | added: area-library |
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
milestone: | 8.0 → 8.0-updates |
status: | Won't Fix → Confirmed |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Fuel Python Team (fuel-python) |
tags: |
added: area-python removed: area-library |
tags: | added: on-verification |
tags: | added: on-verification |
We are working on new version of fuel-createmirror and this issue will not affect it. New version of fuel-createmirror can be used for old environments. So there is no point in fixing this bug.