Fuel 9.2 update problematic when local mirrors are in use

Bug #1666592 reported by Michal Skalski
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Andrey Epifanov

Bug Description

Detailed bug description:

Upgrade from 9.1 to 9.2 requires additional undocumented steps when user use local mirrors created by fuel-mirror and have no connectivity to external repositories from slave nodes. This should be fixed to be fully automatic or better documented.

First of all update playbooks does not create appropriate configuration for fuel-mirror and local mirrors are not created, this bug is tracked here https://bugs.launchpad.net/fuel/+bug/1657074
So for now user has to copy configuration manually:
cp /root/mos_playbooks/mos_mu/playbooks/templates/ubuntu.yaml /usr/share/fuel-mirror/

and execute fuel-mirror to build new repositories.

Playbooks assume external connectivity from nodes: http://mirror.fuel-infra.org/mos-repos/ubuntu url is defined in vars/mos_releases/9.2.yml which is then used by "Add MOS 9.2 repo key" task. End user have to change this to point to local mirror and download this key to his local mirror copy:
wget -O /var/www/nailgun/mirrors/mos-repos/ubuntu/9.2/archive-mos9.0.key http://mirror.fuel-infra.org/mos-repos/ubuntu/9.2/archive-mos9.0.key

Task "Update MCollective" fail with package authentication problem:
""WARNING: The following packages cannot be authenticated!", " python-apt""
To make this task end with success one could modify "/etc/apt/apt.conf.d/02allow-unathenticated" on slave nodes to allow installation of unathenticated packages

Steps to reproduce:

Start point is to have Fuel 9.1 with local mirrors, environment deployed, no connectivity to internet from slave nodes. Then proceed with documentation: https://docs.mirantis.com/openstack/fuel/fuel-9.2/release-notes/single/index.html

Expected results:
Upgrade should end with success

Actual result:
Upgrade fail with errors described above

Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Andrey Epifanov (aepifanov)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Andrey Epifanov (aepifanov) wrote :

This issue was fixed:
https://github.com/aepifanov/mos_mu/commit/6ebd78414b45162a274578f17b6bb7987a79a989
Now we are working with packaging.
Later I will update how it will be released (as a part of MU or just by upgrading the only this package)

Changed in fuel:
status: Confirmed → Fix Committed
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.