[9.2] [updates] env-update was failed on task [ pkg_upgrade ]

Bug #1658652 reported by vnaumov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Won't Fix
Undecided
Illia Polliul
Mitaka
Won't Fix
Undecided
Illia Polliul

Bug Description

Fuel 9.0 -> 9.1 -> 9.2, Contrail 5.0.0, LDAP 3.0.0 (http://plugins.mirantis.com/repository/l/d/ldap/ldap-3.0-3.0.0-1.noarch.rpm)

Steps to reproduce:
  1. Deploy 9.0 env + contrail plugin (9 slaves)
(CI: http://jenkins-tpi.bud.mirantis.net:8080/view/9.0-custom/job/9.0.contrail.5.0.0.custom.dev/8/console)
  2. Install and configure LDAP
  3. Reset env (to activate ldap)
  4. Deploy changes
  5. Update to 9.1 state master node (http://docs.openstack.org/developer/fuel-docs/userdocs/fuel-install-guide/update-fuel.html#update-fuel)
  6. Add mos-updates
"deb http://mirror.fuel-infra.org/mos-repos/ubuntu/9.0/ mos9.0-updates main restricted"
     into Settings -> General on Fuel UI
  7. Run `fuel2 update --env {env_id} install --repos mos-updates --restart-rabbit --restart-mysql` on master Node
  8. Deploy changes
  9. update to 9.2 , guides - 1)https://docs.mirantis.com/openstack/fuel/fuel-master/release-notes/update-product/update-prerequisites-9-2.html#update-prerequisites-9-2
2)https://docs.mirantis.com/openstack/fuel/fuel-master/release-notes/update-product/update-master-9-2.html#update-master-9-2
  10. env update (https://docs.mirantis.com/openstack/fuel/fuel-master/release-notes/update-product/update-env-9-2.html#update-env-9-2) going to step 9

Expected results:
  Successful deploy and update to 9.2

Actual result:
  Deployment failed
puppet log on failed nodes:

/Stage[main]/Osnailyfacter::Upgrade::Pkg_upgrade/Package[python-ceilometerclient]/ensure) change from 2.4.0-3~u14.04+mos0 to 2.4.0-2~cloud0 failed: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold -o APT::Get::AllowUnauthenticated=1 install python-ceilometerclient' returned 100: Reading package lists...

installed plugins: Contrail 5.0.0, LDAP 3.0.0

========================
link to diagnostic snapshot
https://drive.google.com/a/mirantis.com/file/d/0B-AO_niPlWzFNVZodDBzMm1JODQ/view?usp=sharing

description: updated
description: updated
vnaumov (vnaumov-b)
description: updated
Changed in fuel:
milestone: none → 9.2
Changed in fuel:
assignee: nobody → Andrey Epifanov (aepifanov)
Changed in fuel:
status: New → Confirmed
Revision history for this message
Illia Polliul (ipolliul) wrote :

The reason for fail is switching from 3 digit to 2 in plugin repositories naming. https://review.openstack.org/#/c/415268/

Workaround:

Update Contrail plugin to version 5.0.1 *BEFORE* installing 9.1 -> 9.2 updates
fuel plugins --update /tmp/contrail-5.0-5.0.1-1.noarch.rpm

no longer affects: fuel/mitaka
no longer affects: fuel/newton
no longer affects: fuel/ocata
Illia Polliul (ipolliul)
Changed in fuel:
assignee: Andrey Epifanov (aepifanov) → Illia Polliul (ipolliul)
status: Confirmed → Won't Fix
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.